Organisation mapping
A mapping of GitHub organisations to UK public sector organisations. Each entry has a type field: gov_uk entries reference the GOV.UK Organisations API. english_council entries reference the planning.data.gov.uk local authority dataset. All entries include a Wikidata ID.
The URLs below are permanent - safe to use in automated pipelines.
Licence: CC BY 4.0
Format
JSON
Schema
Example
{
"last_updated": "2026-03-30",
"organisations": [
{
"type": "gov_uk",
"govuk_slug": "home-office",
"wikidata_id": "Q763388",
"site_slug": "home-office",
"site_url": "https://publicsectorcodebyorg.co.uk/org/home-office",
"github_orgs": ["UKHomeOffice", "UKHomeOfficeForms", "HO-CTO"]
},
{
"type": "english_council",
"england_planning_data_reference": "COV",
"wikidata_id": "Q5179058",
"site_slug": "coventry-city-council",
"site_url": "https://publicsectorcodebyorg.co.uk/org/coventry-city-council",
"github_orgs": ["coventry-city-council"]
},
{
"type": "other",
"wikidata_id": "Q28530250",
"site_slug": "city-of-edinburgh-council",
"site_url": "https://publicsectorcodebyorg.co.uk/org/city-of-edinburgh-council",
"github_orgs": ["edinburghcouncil"]
}
]
}Fields
| Field | Description |
|---|---|
| last_updated | ISO 8601 date the file was last updated |
| type | gov_uk, english_council, or other |
| govuk_slug | GOV.UK organisation slug (gov_uk entries only) |
| england_planning_data_reference | planning.data.gov.uk local authority reference code (english_council entries only) |
| wikidata_id | Wikidata entity ID (e.g. Q5995) — present for all entries |
| site_slug | URL slug for the organisation's page on this site |
| site_url | URL of the organisation's page on this site |
| github_orgs | Array of GitHub organisation names belonging to this organisation |
CSV
One row per GitHub organisation.
Example
github_org,org_type,govuk_slug,england_planning_data_reference,wikidata_id,site_slug,site_url UKHomeOffice,gov_uk,home-office,,Q763388,home-office,https://publicsectorcodebyorg.co.uk/org/home-office UKHomeOfficeForms,gov_uk,home-office,,Q763388,home-office,https://publicsectorcodebyorg.co.uk/org/home-office HO-CTO,gov_uk,home-office,,Q763388,home-office,https://publicsectorcodebyorg.co.uk/org/home-office coventry-city-council,english_council,,COV,Q5179058,coventry-city-council,https://publicsectorcodebyorg.co.uk/org/coventry-city-council edinburghcouncil,other,,,Q28530250,city-of-edinburgh-council,https://publicsectorcodebyorg.co.uk/org/city-of-edinburgh-council
Columns
| Column | Description |
|---|---|
| github_org | GitHub organisation name. Empty if the organisation has no mapped GitHub presence. |
| org_type | gov_uk, english_council, or other |
| govuk_slug | GOV.UK organisation slug (gov_uk entries only) |
| england_planning_data_reference | planning.data.gov.uk local authority reference code (english_council entries only) |
| wikidata_id | Wikidata entity ID (e.g. Q5995) |
| site_slug | URL slug for the organisation's page on this site |
| site_url | URL of the organisation's page on this site |
Related data sources
Data sources used to build and enrich this site. Many fields in the mapping are keys into these datasets.
UK X-Gov Open Source Repo Scraper
GitHub repository data for UK public sector organisations, maintained by the UK cross-government software community.
Use the
github_orgsfield to filter repos by owner. Each entry in the scraper JSON has anownerfield matching the GitHub organisation name.Official metadata for central government organisations — names, formats, status, parent/child relationships. Open Government Licence.
Use
govuk_slugto query a specific organisation:GET https://www.gov.uk/api/organisations/{govuk_slug}. Or fetch the full list paginated fromhttps://www.gov.uk/api/organisations.planning.data.gov.uk — Local authority dataset
Official metadata for English local authorities — names, types, ONS codes, websites. Open Government Licence.
Use
england_planning_data_referenceto query a specific authority:GET https://www.planning.data.gov.uk/entity.json?dataset=local-authority&reference={england_planning_data_reference}.Structured data about organisations including names, websites, and relationships. CC0.
Use
wikidata_idto look up an entity directly athttps://www.wikidata.org/entity/{wikidata_id}, or query via SPARQL athttps://query.wikidata.org/sparqlusingBIND(wd:{wikidata_id} AS ?item).Annual FTE data for civil service departments and agencies, published by the Cabinet Office. Used to populate Total FTE and Digital & data FTE figures for central government organisations on this site.
Matched to organisations via GOV.UK organisation titles. Data from Table 8A (FTE by profession and department).
LGA Quarterly Workforce Survey (QPSES)
Quarterly headcount and FTE data for English and Welsh local authorities, published by the Local Government Association.
Used to populate the Total FTE figures shown for English councils on this site. Matched to councils via ONS geography codes.
Contributing
The mapping is maintained manually. If you spot an error or want to add an organisation, open an issue or pull request on GitHub.