urbanrural2022_6fold¶
Scottish Government Urban Rural Classification 2022, 6-fold, placed from this record's own grid reference; null where urbanrural2022_status says why
| Table | Type | Nullable | Category | In the CSV export | SQL Server type |
|---|---|---|---|---|---|
history table (postcode_simd_history, SPD) |
int8 | yes | Urban Rural Classification, placed | yes | tinyint |
Provenance in the history table (postcode_simd_history, SPD)¶
Where it comes from
| Input | Field | Condition | Reaches the row by |
|---|---|---|---|
SPD/spd_postcodeindex_cut_26_2_csv/SmallUser.csv (pinned, SHA256 fc82f1091ac1…) |
GridReferenceEasting, GridReferenceNorthing |
the life's own grid reference | the row itself |
SPD/spd_postcodeindex_cut_26_2_csv/LargeUser.csv (pinned, SHA256 dcb060cbce01…) |
GridReferenceEasting, GridReferenceNorthing |
the life's own grid reference | the row itself |
spd_user_type, a derived column of the same row |
spd_user_type |
with LinkedSmallUserPostcode, identifies a PO box | the row itself |
SPD/spd_postcodeindex_cut_26_2_csv/LargeUser.csv (pinned, SHA256 dcb060cbce01…) |
LinkedSmallUserPostcode |
NO LINKP marks a PO box, whose grid reference is the sorting office: its codes are cleared and its status is po_box | the row itself |
data.gov.uk/SG_UrbanRural_2022/SG_UrbanRural_2022.shp (pinned, SHA256 e780bde46164…) |
polygon geometry |
the polygon containing the point | the row itself |
data.gov.uk/SG_UrbanRural_2022/SG_UrbanRural_2022.shx (pinned, SHA256 e12b4a74a881…) |
geometry index |
locates each polygon in the .shp | the row itself |
data.gov.uk/SG_UrbanRural_2022/SG_UrbanRural_2022.prj (pinned, SHA256 d97d27668037…) |
coordinate reference system |
British National Grid, the grid reference's system | the row itself |
data.gov.uk/SG_UrbanRural_2022/SG_UrbanRural_2022.dbf (pinned, SHA256 77a7f1bd8edf…) |
UR6Class |
the class of the polygon found | the row itself |
Scope: the row itself.
What was done to it: placed. The class of the polygon containing the life's grid reference, by point in polygon; cleared for a PO box (a large user whose LinkedSmallUserPostcode is NO LINKP). Compared directly with the codes NRS publishes for this version. (code: simd_ingest/core/rurality.py: classify, place, attach_rurality, is_po_box)
How it is checked (what each check tests; whether a build passed it is in that build's manifest.json["checks"])
rurality.2022.columns_present: the shapefile carries the declared 6-fold and 8-fold columnsrurality.2022.polygons: the shapefile has the declared number of polygonsrurality.2022.reference_system: the shapefile is in British National Gridrurality.2022.folds_nest: the 6-fold is exactly the official collapse of the 8-foldrurality.points_present: the records to place carry grid referencesreadback.history.rurality_values: every point is placed again from the saved file's grid references and equalrurality.agreement.current_small_user: the placed 2022 codes agree with the codes NRS publishes, cohort by cohortrurality.agreement.current_large_user: the placed 2022 codes agree with the codes NRS publishes, cohort by cohort
Why: rurality-by-version, nullable-integers-and-never-blank-text