Skip to content

[UK] Allow CED GSS codes to be assigned from ONS geopackage rather than CSV file - #449

Open
davea wants to merge 1 commit into
masterfrom
update-ced-gss-codes
Open

[UK] Allow CED GSS codes to be assigned from ONS geopackage rather than CSV file#449
davea wants to merge 1 commit into
masterfrom
update-ced-gss-codes

Conversation

@davea

@davea davea commented Sep 10, 2026

Copy link
Copy Markdown
Member

ONS don't seem to publish a CSV with the required fields as often as we'd like, but they do provide a GeoPackage with the same data in - switch to matching MapIt's CED Areas spatially and assiging GSS codes that way instead.

Removes the need for all the name overrides too.

@davea
davea force-pushed the update-ced-gss-codes branch from d006969 to 2447d74 Compare September 11, 2026 10:28
@davea davea changed the title [UK] Allow CED GSS codes to be updated if they already exist [UK] Allow CED GSS codes to be assigned from ONS geopackage rather than CSV file Sep 11, 2026
…an CSV file

ONS don't seem to publish a CSV with the required fields as often as we'd like,
but they do provide a GeoPackage with the same data in - switch to matching MapIt's
CED Areas spatially and assiging GSS codes that way instead.

Removes the need for all the name overrides too.
@davea
davea force-pushed the update-ced-gss-codes branch from 2447d74 to fd045cf Compare September 11, 2026 10:31
@davea
davea marked this pull request as ready for review September 11, 2026 10:33
@davea
davea requested a review from dracos September 11, 2026 10:33

@dracos dracos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Do we want to have a check for if the area already has a GSS code, that it matches? If we ran this in the past. (But I can't see any CEDs with a code in the db, so perhaps we didn't?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants