Back to Guides

/gcloud-kit:customer

Look up CCS customer URNs and validate buyer organisations for G-Cloud.

Overview

Searches the bundled CCS customer URN dataset (52,672 organisations) by name, URN, sector, or region. Validates URNs against the merge list to identify deprecated organisations and their replacements.

Usage

/gcloud-kit:customer NHS Digital
/gcloud-kit:customer urn 12345
/gcloud-kit:customer sector NHS
/gcloud-kit:customer region SW1
/gcloud-kit:customer validate 12345
/gcloud-kit:customer stats

Arguments:

ArgumentDescription
[name]Fuzzy search by organisation name
urn [number]Exact lookup by URN
sector [type]List organisations by sector (NHS, Education, Defence, etc.)
region [postcode]List organisations by postcode region
validate [urn]Check if a URN is still valid (checks merge list)
statsShow dataset statistics

Prerequisites

None — uses bundled data.

Data sources

  • .gcloud/data/ccs-customer-urns.csv.gz — 52,672 organisations (1,855 Central Government + 50,792 Wider Public Sector)
  • .gcloud/data/ccs-customer-merges.csv.gz — 3,406 merged/closed organisations

Output

Console output with matched results.

URN data fields

  • URN (unique reference number)
  • Organisation name
  • Address and postcode
  • Sector (Central Government / Wider Public Sector)
  • Organisation type (NHS/Health, Education, Local Authority, Defence, Police, Fire, Housing, Other)

Related commands