| Title: | R package for mapping UK geographies |
|---|---|
| Description: | A package to distribute and compute on UK geographical data. |
| Authors: | Mike Page [cre], Matt Thomas [aut], Aileen McDonald [aut], British Red Cross [cph] |
| Maintainer: | Mike Page <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 1.0.1 |
| Built: | 2025-11-07 04:02:25 UTC |
| Source: | https://github.com/humaniverse/geographr |
Changes were made in England and Wales to 2011 LSOA codes in 2021 to reflect population and household changes. Change codes:
U = Unchanged - 31,810 LSOAs remained unchanged from 2011 to 2021
S = Split - 834 LSOAs were split from 2011 to 2021 into two or more
M = Merged - 194 LSOAs were merged from 2011 to 2021 with one or more
X = Fragmented - 6 LSOAs were fragmented/redesigned from 2011 to 2021
aggregate_lba_lsoas(data)aggregate_lba_lsoas(data)
data |
Dataframe containing 2021 LSOA codes with boolean LBA data |
Aggregation strategy going from 2021 codes to 2011 codes:
change_code == "U": no action required
change_code == "S": if ANY of the 2021 LSOAs resulting from the split is left behind, 2011 LSOA is considered left-behind
change_code == "M": 2011 LSOA's inherit the left-behind characteristics of the 2021 LSOA that resulted from the merge: if the 2021 LSOA is left behind, all corresponding 2011 LSOA's are considered left-behind, and vice versa
change_code == "X": 2011 LSOA's inherit the left behind characteristics of their corresponding 2021 LSOA. Then group by 2011 LSOA, if any is left-behind, consider the LSOA left-behind
Dataframe containing the aggregated 2011 LSOA codes
A data set containing 2021 Clinical Commissioning Group (CCG) geometries and their associated names and codes. Boundaries are ultra generalised (500m).
boundaries_ccg21boundaries_ccg21
A data frame of class "sf" with 106 rows and 3 variables:
CCG name
CCG code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2020 Country geometries and their associated names and codes. Boundaries are Ultra Generalised (500m) - clipped to the coastline (Mean High Water mark).
boundaries_countries20boundaries_countries20
A data frame of class "sf" with 4 rows and 3 variables:
country name
Country code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2011 Scottish Data Zone geometries and their associated names and codes.
boundaries_dz11boundaries_dz11
A data frame of class "sf" with 6,976 rows and 3 variables:
Data Zone name
Data Zone code
multipolygon coordinates
...
A data set containing 2019 NHS Health Board geometries and their associated names and codes.
boundaries_hb19boundaries_hb19
A data frame of class "sf" with 14 rows and 3 variables:
Health Board name
Health Board code
multipolygon coordinates
...
A data set containing July 2022 NHS Integrated Care Board geometries and their associated names and codes.
boundaries_icb22boundaries_icb22
A data frame of class "sf" with 42 rows and 3 variables:
Integrated Care Board name
Integrated Care Board code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2011 Scottish Intermediate Zone geometries and their associated names and codes.
boundaries_iz11boundaries_iz11
A data frame of class "sf" with 1,279 rows and 3 variables:
Intermediate Zone name
Intermediate Zone code
multipolygon coordinates
...
A data set containing 2020 Local Health Board geometries for Wales and their associated names and codes.
boundaries_lhb20boundaries_lhb20
A data frame of class "sf" with 7 rows and 3 variables:
Local Health Board name
Local Health Board code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2022 Local Health Board geometries for Wales and their associated names and codes.
boundaries_lhb22boundaries_lhb22
A data frame of class "sf" with 7 rows and 3 variables:
Local Health Board name
Local Health Board code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2011 Lower Super Output Area (LSOA) geometries and their associated names and codes. Full clipped boundaries were simplified using the Visvalingam algorithm set to a weighting of 0.7 with a retaining proportion of 0.895 points.
boundaries_lsoa11boundaries_lsoa11
A data frame of class "sf" with 34,753 rows and 3 variables:
LSOA name
LSOA code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2019 Local Authority Districts (LAD) geometries and their associated names and codes. Boundaries are Ultra Generalised (500m) - clipped to the coastline (Mean High Water mark).
boundaries_ltla19boundaries_ltla19
A data frame of class "sf" with 382 rows and 3 variables:
LAD name
LAD code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2020 Local Authority Districts (LAD) geometries and their associated names and codes. Boundaries are Ultra Generalised (500m) - clipped to the coastline (Mean High Water mark).
boundaries_ltla20boundaries_ltla20
A data frame of class "sf" with 379 rows and 3 variables:
LAD name
LAD code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2021 Local Authority Districts (LAD) geometries and their associated names and codes. Boundaries are Ultra Generalised (500m) - clipped to the coastline (Mean High Water mark).
boundaries_ltla21boundaries_ltla21
A data frame of class "sf" with 374 rows and 3 variables:
LAD name
LAD code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2011 Middle Super Output Area (MSOA) geometries and their associated names and codes. Super generalised (200m) boundaries were simplified using the Visvalingam algorithm set to a weighting of 0.7 with a retaining proportion of 0.05 points.
boundaries_msoa11boundaries_msoa11
A data frame of class "sf" with 7,201 rows and 3 variables:
MSOA name
MSOA code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2021 Middle Super Output Area (MSOA) geometries and their associated names and codes. Super generalised (200m) boundaries were simplified using the Visvalingam algorithm set to a weighting of 0.7 with a retaining proportion of 0.05 points.
boundaries_msoa21boundaries_msoa21
A data frame of class "sf" with 7,264 rows and 3 variables:
MSOA name
MSOA code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing Middle Super Output Area (MSOA) equivalent geometries and their associated names and codes for the UK. Super generalised (200m) boundaries were simplified using the Visvalingam algorithm set to a weighting of 0.7 with a retaining proportion of 0.05 points.
boundaries_msoa21_iz11_sdz21boundaries_msoa21_iz11_sdz21
A data frame of class "sf" with 9,393 rows and 3 variables:
MSOA name
MSOA code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2020 Police Force Area geometries for England and Wales and their associated names and codes.
boundaries_pfa20boundaries_pfa20
A data frame of class "sf" with 43 rows and 3 variables:
Police Force Area name
Police Force Area code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing December 2021 England Region geometries and their associated names and codes.
boundaries_region21boundaries_region21
A data frame of class "sf" with 890 rows and 3 variables:
Region name
Region code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2021 Northern Ireland Super Data Zones geometries and their associated names and codes as used following the 2021 Census results.
boundaries_sdz21boundaries_sdz21
A data frame of class "sf" with 850 rows and 3 variables:
Super Data Zone name
Super Data Zone code
multipolygon coordinates
...
A data set containing 2011 Northern Ireland Super Output Area geometries and their associated names and codes as used following the 2011 Census results.
boundaries_soa11boundaries_soa11
A data frame of class "sf" with 890 rows and 3 variables:
Super Output Area name
Super Output Area code
multipolygon coordinates
...
A data set containing 2021 Sustainability and Transformation Partnerships (STP) geometries and their associated names and codes. Boundaries are ultra generalised (500m).
boundaries_stp21boundaries_stp21
A data frame of class "sf" with 42 rows and 3 variables:
STP name
STP code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2017 Health and Social Care Trust geometries for Northern Ireland and their associated names and codes.
boundaries_trusts_ni18boundaries_trusts_ni18
A data frame of class "sf" with 5 rows and 3 variables:
Health and Social Care Trust name
Health and Social Care Trust code
multipolygon coordinates
...
https://www.opendatani.gov.uk/
A data set containing 2019 County and Unitary Authority (UA) geometries and their associated names and codes. Boundaries are Ultra Generalised (500m) - clipped to the coastline (Mean High Water mark).
boundaries_utla19boundaries_utla19
A data frame of class "sf" with 216 rows and 3 variables:
county and UA name
county and UA code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2020 County and Unitary Authority (UA) geometries and their associated names and codes. Boundaries are Ultra Generalised (500m) - clipped to the coastline (Mean High Water mark).
boundaries_utla20boundaries_utla20
A data frame of class "sf" with 216 rows and 3 variables:
county and UA name
county and UA code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2021 County and Unitary Authority (UA) geometries and their associated names and codes. Boundaries are Ultra Generalised (500m) - clipped to the coastline (Mean High Water mark).
boundaries_utla21boundaries_utla21
A data frame of class "sf" with 217 rows and 3 variables:
county and UA name
county and UA code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing geometries for the Voluntary and Community Sector Emergency Partnership regions
boundaries_vcsep22boundaries_vcsep22
A data frame of class "tbl" with 5 rows and 2 variables:
VCSEP region name
multipolygon coordinates
...
A data set containing 2021 Ward / Electoral Division geometries and their associated names and codes. Boundaries are Super generalised (200m) - clipped to the coastline (Mean High Water mark).
boundaries_wards21boundaries_wards21
A data frame of class "sf" with 8,694 rows and 3 variables:
ward name
ward code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
A data set containing 2022 Ward / Electoral Division geometries and their associated names and codes. Boundaries are Super generalised (200m) - clipped to the coastline (Mean High Water mark).
boundaries_wards22boundaries_wards22
A data frame of class "sf" with 8,483 rows and 3 variables:
ward name
ward code
multipolygon coordinates
...
https://geoportal.statistics.gov.uk/
"Extent" is the proportion of the local population that live in areas classified as among the most deprived in the higher geography. The calculation of extent is taken from the IMD technical report Appendix N:
calculate_extent( data, var, higher_level_geography, population, weight_high_scores = TRUE )calculate_extent( data, var, higher_level_geography, population, weight_high_scores = TRUE )
data |
Data frame containing a variable to be aggregated, lower level geography population estimates, and a higher level geographical grouping variable |
var |
Name of the variable in the data frame containing the variable to be aggregated (e.g., score) for the lower level geography |
higher_level_geography |
Name of the variable in the data frame containing the higher level geography names/codes |
population |
Name of the variable in the data frame containing the population estimates of the lower level geography |
weight_high_scores |
If TRUE higher scores are weighted, else lower scores are weighted. For indicators like 'Alchol Misuse' and 'Ambulance Wait Time' this should be set to TRUE. This is because higher values in these outcomes indicate worse outcomes (higher vulnerability and lower capacity) and this is where the weighting should be focused. For indicators like 'Physical Activity' and 'Bed Availability' it should be set to FALSE. This is because lower values in these outcomes indicate worse outcomes (higher vulnerability and lower capacity) and this is where the weighting should be focused. |
"The population living in the most deprived 11 to 30 per cent of Lower-layer Super Output Areas receive a sliding weight, ranging from 0.95 for those in the most deprived eleventh percentile, to 0.05 for those in the most deprived thirtieth percentile. In practice this means that the weight starts from 0.95 in the most deprived eleventh percentile, and then decreases by (0.95-0.05)/19 for each of the subsequent nineteen percentiles until it reaches 0.05 for the most deprived thirtieth percentile, and zero for areas outside the most deprived 30 per cent"
The direction of the scale of data inputted by the functioin always matches that of the data outputted. For example if data is inputted into the function where high scores equals high vulnerability, the outputted data set will hold this relationship true.
Calculate proportion of small areas in the higher-level geography that are within the 10% most deprived areas in the nation.
calculate_proportion(data, var, higher_level_geography)calculate_proportion(data, var, higher_level_geography)
data |
Data frame containing a variable to be aggregated and a higher level geographical grouping variable |
var |
Name of the variable in the data frame for which you want to calculate proportions. It must have only two possible values |
higher_level_geography |
Name of the variable in the data frame containing the higher level geography names/codes |
## Not run: calculate_proportion(IMD::imd_england_lsoa, IMD_decile, msoa_code, n_people) ## End(Not run)## Not run: calculate_proportion(IMD::imd_england_lsoa, IMD_decile, msoa_code, n_people) ## End(Not run)
A data set containing a lookup between Data Zone 2001 and 2011 codes. This data was constructed from the 2024-1 Scottish Postcode Directory.
lookup_dz01_dz11lookup_dz01_dz11
A data frame of class "tbl" with 10,437 rows and 2 variables:
Data Zone code (2001)
Data Zone code (2011)
...
A data set containing a lookup between Data Zones, Intermediate Zones and Council Areas in Scotland
lookup_dz11_iz11_ltla20lookup_dz11_iz11_ltla20
A data frame of class "tbl" with 6,976 rows and 6 variables:
DZ name
DZ code
IZ name
IZ code
LAD name
LAD code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between Data Zones, Local Authorities (also called Council Areas) and Health Boards in Scotland
lookup_dz11_ltla19_hb19lookup_dz11_ltla19_hb19
A data frame of class "tbl" with 6,976 rows and 3 variables:
Data zone (2011) code
Local authortiy (2019) code
Health board (2019) code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between Data Zones (Output Areas), Super Data Zones (LSOA), District Electoral Areas and Local Government Districts (Local Authority) in Northern Ireland
lookup_dz21_sdz21_dea14_lgd14lookup_dz21_sdz21_dea14_lgd14
A data frame of class "tbl" with 3,780 rows and 8 variables:
Data zone (2021) code (comparable to Output Areas)
Data zone (2021) name
Super data zone (2021) code (comparable to LSOA / Scottish Data Zone)
Super data zone (2021) name
District Electoral Areas (2019) code
District Electoral Areas (2019) name
Local Government District (2014) code (comparable to Local Authority)
Local Government District (2014) name
...
A data set containing a lookup between 2011 Lower Layer Super Output Areas to 2021 Clinical Commissioning Group areas to 2021 Sustainability and Transformation Plan areas to 2021 Lower Tier Local Authority Districts.
lookup_lsoa11_ccg21_stp21_ltla21lookup_lsoa11_ccg21_stp21_ltla21
A data frame of class "tbl" with 32,844 rows and 8 variables:
LSOA name
LSOA code
CCG name
CCG code
STP name
STP code
LTLA name
LTLA code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 Lower Super Output Areas (LSOA) and 2021 Lower Super Output Areas (LSOA) and 2022 Local Authority Districts (LAD).
lookup_lsoa11_lsoa21_ltla22lookup_lsoa11_lsoa21_ltla22
A data frame of class "tbl" with 35,795 rows and 8 variables:
LSOA 11 name
LSOA 11 code
Change code containing U (unchanged from 2011 to 2021), M (merged), S (split) and X (irregular and fragmented change)
LSOA 21 name
LSOA 21 code
LTLA name
LTLA code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 Lower Super Output Areas (LSOA) and 2018 Local Authority Districts (LAD).
lookup_lsoa11_ltla18lookup_lsoa11_ltla18
A data frame of class "tbl" with 32,844 rows and 4 variables:
LSOA name
LSOA code
LAD name
LAD code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 Lower Super Output Areas (LSOA) and 2019 Local Authority Districts (LAD).
lookup_lsoa11_ltla19lookup_lsoa11_ltla19
A data frame of class "tbl" with 34,753 rows and 4 variables:
LSOA name
LSOA code
LAD name
LAD code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 Lower Super Output Areas (LSOA) and 2020 Local Authority Districts (LAD).
lookup_lsoa11_ltla20lookup_lsoa11_ltla20
A data frame of class "tbl" with 34,753 rows and 4 variables:
LSOA name
LSOA code
LAD name
LAD code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 Lower Super Output Areas (LSOA) and 2021 Local Authority Districts (LAD).
lookup_lsoa11_ltla21lookup_lsoa11_ltla21
A data frame of class "tbl" with 34,753 rows and 4 variables:
LSOA name
LSOA code
LAD name
LAD code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 Lower (LSOA) and Middle Layer Super Output Areas (MSOA).
lookup_lsoa11_msoa11lookup_lsoa11_msoa11
A data frame of class "tbl" with 41,729 rows and 4 variables:
LSOA name
LSOA code
MSOA name
MSOA code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 LSOAs, 2022 Sub ICB Locations, 2022 IBCs and 2022 LTLAs in England.
lookup_lsoa11_sicbl22_icb22_ltla22lookup_lsoa11_sicbl22_icb22_ltla22
A data frame of class "tbl" with 32,844 rows and 10 variables:
LSOA 2011 name
LSOA 2011 code
Sub ICB Location 2022 name
Sub ICB Location code 2022 (retains former CCG codes)
Sub ICB Location code 'h' 2022 (retains former CCG codes)
ICB 2022 name
ICB 2022 code (retains former ICS/STP codes)
ICB 2022 code 'h' (retains former ICS/STP codes)
LTLA 2022 name
LTLA 2022 code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 LSOAs and 2021 wards in England and Wales.
lookup_lsoa11_ward17lookup_lsoa11_ward17
A data frame of class "tbl" with 34,753 rows and 2 variables:
LSOA 2011 code
Ward 2017 code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup of the England Local Authority changes between 2019, 2020 and 2021.
lookup_ltla_ltlalookup_ltla_ltla
A data frame of class "tbl" with 382 rows and 6 variables:
2019 LAD name
2019 LAD code
2020 LAD name
2020 LAD code
2021 LAD name
2021 LAD code
...
A data set containing a lookup between UK Local Authority Districts and British Red Cross operational areas.
lookup_ltla19_brclookup_ltla19_brc
A data frame of class "tbl" with 382 rows and 2 variables:
LAD code
British Red Cross area name
...
A data set containing a lookup between December 2019 Local Authority Districts and Combined Authorities (CAUTH).
lookup_ltla19_cauth19lookup_ltla19_cauth19
A data frame of class "tbl" with 53 rows and 4 variables:
LAD name
LAD code
County name
County code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2019 Local Authority Districts (LAD) and 2019 English Regions.
lookup_ltla19_region19lookup_ltla19_region19
A data frame of class "tbl" with 317 rows and 4 variables:
LAD name
LAD code
Region name
Region code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between December 2019 Local Authority Districts and County and Unitary Authorities.
lookup_ltla19_utla19lookup_ltla19_utla19
A data frame of class "tbl" with 339 rows and 4 variables:
LAD name
LAD code
County name
County code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between December 2020 Local Authority Districts and Combined Authorities (CAUTH).
lookup_ltla20_cauth20lookup_ltla20_cauth20
A data frame of class "tbl" with 53 rows and 4 variables:
LAD name
LAD code
County name
County code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2020 Local Authority Districts (LAD) and 2020 English Regions.
lookup_ltla20_region20lookup_ltla20_region20
A data frame of class "tbl" with 314 rows and 4 variables:
LAD name
LAD code
Region name
Region code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between December 2020 Local Authority Districts and County and Unitary Authorities.
lookup_ltla20_utla20lookup_ltla20_utla20
A data frame of class "tbl" with 336 rows and 4 variables:
LAD name
LAD code
County name
County code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between UK Local Authority Districts and British Red Cross operational areas.
lookup_ltla21_brclookup_ltla21_brc
A data frame of class "tbl" with 382 rows and 2 variables:
LAD code
British Red Cross area name
...
A data set containing a lookup between December 2021 Local Authority Districts and Combined Authorities (CAUTH).
lookup_ltla21_cauth21lookup_ltla21_cauth21
A data frame of class "tbl" with 53 rows and 4 variables:
LAD name
LAD code
County name
County code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between April 2021 Local Authority Fire and Rescue Authorities (FRA)
lookup_ltla21_fra21lookup_ltla21_fra21
A data frame of class "tbl" with 331 rows and 4 variables:
LAD name
LAD code
FRA name
FRA code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between Local Authorities (also called Local Government Districts) and Health and Social Care Trusts in Northern Ireland
lookup_ltla21_hsct18lookup_ltla21_hsct18
A data frame of class "tbl" with 11 rows and 4 variables:
Local Government District (2021) name
Local Government District (2021) code
Health and Social Care Trust (2018) name
Health and Social Care Trust (2018) code
...
A data set containing a lookup between Local Authorities (2021) and Local Health Boards (December 2022) in Wales.
lookup_ltla21_lhb22lookup_ltla21_lhb22
A data frame of class "tbl" with 22 rows and 4 variables:
Local Government District (2021) code
Local Government District (2021) name
Local Health Board (2022) code
Local Health Board (2022) name
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2021 Local Authority Districts (LAD) and 2021 English Regions.
lookup_ltla21_region21lookup_ltla21_region21
A data frame of class "tbl" with 317 rows and 4 variables:
LAD name
LAD code
Region name
Region code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between December 2021 Local Authority Districts and County and Unitary Authorities.
lookup_ltla21_utla21lookup_ltla21_utla21
A data frame of class "tbl" with 331 rows and 4 variables:
LAD name
LAD code
County name
County code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between December 2021 Local Authority Districts and Voluntary and Community Sector Emergency Partnership regions
lookup_ltla21_vcsep22lookup_ltla21_vcsep22
A data frame of class "tbl" with 309 rows and 3 variables:
LAD name
LAD code
VCSEP region name
...
A data set containing a lookup between 2022 Local Authority Districts and 2023 Local Authority Districts.
lookup_ltla22_ltla23lookup_ltla22_ltla23
A data frame of class "tbl" with 374 rows and 4 variables:
LAD 22 code
LAD 22 name
LAD 23 code
LAD 23 name
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between December 2023 Local Authority Districts and Combined Authorities (CAUTH).
lookup_ltla23_cauth23lookup_ltla23_cauth23
A data frame of class "tbl" with 53 rows and 4 variables:
LAD name
LAD code
County name
County code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2023 Local Authority Districts (LAD) and 2023 English Regions.
lookup_ltla23_region23lookup_ltla23_region23
A data frame of class "tbl" with 296 rows and 4 variables:
LAD name
LAD code
Region name
Region code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between Lower Tier Local Authority (2023) to Upper Tier Local Authority (2023).
lookup_ltla23_utla23lookup_ltla23_utla23
A data frame of class "tbl" with 318 rows and 4 variables:
LTLA code
LTLA name
UTLA code
UTLA name
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 Middle Super Output Areas (MSOA) and 2019 Local Authority Districts (LAD).
lookup_msoa11_ltla19lookup_msoa11_ltla19
A data frame of class "tbl" with 7,201 rows and 4 variables:
MSOA name
MSOA code
LAD name
LAD code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 Middle Super Output Areas (MSOA) and 2020 Local Authority Districts (LAD).
lookup_msoa11_ltla20lookup_msoa11_ltla20
A data frame of class "tbl" with 7,201 rows and 4 variables:
MSOA name
MSOA code
LAD name
LAD code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 Middle Super Output Areas (MSOA) and 2021 Local Authority Districts (LAD).
lookup_msoa11_ltla21lookup_msoa11_ltla21
A data frame of class "tbl" with 7,201 rows and 4 variables:
MSOA name
MSOA code
LAD name
LAD code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 Middle Super Output Areas (MSOA) and 2021 Middle Super Output Areas (MSOA) and 2022 Local Authority Districts (LAD).
lookup_msoa11_msoa21_ltla22lookup_msoa11_msoa21_ltla22
A data frame of class "tbl" with 7.201 rows and 6 variables:
MSOA 11 name
MSOA 11 code
MSOA 21 name
MSOA 21 code
LAD name
LAD code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2011 MSOAs and 2021 wards in England and Wales.
lookup_msoa11_ward17lookup_msoa11_ward17
A data frame of class "tbl" with 13,873 rows and 2 variables:
MSOA 2011 code
Ward 2017 code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2021 MSOAs and 2021 wards in England and Wales.
lookup_msoa21_ward17lookup_msoa21_ward17
A data frame of class "tbl" with 13,865 rows and 2 variables:
MSOA 2021 code
Ward 2017 code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between 2022 England NHS Trusts and 2022 Integrate Care Boards (ICBs).
lookup_nhs_trusts22_icb22lookup_nhs_trusts22_icb22
A data frame of class "tbl" with 1,321 rows and 3 variables:
ICB code
NHS Trust code
The proportion of patients from all admissions from a given Trust that came from a given ICB
...
Office for Health Improvement & Disparities. NHS Acute (Hospital) Trust Catchment Populations. 18.10.2022. https://AcuteTrustCatchmentPopulation/app.powerbi.com © Crown copyright 2022
https://app.box.com/s/qh8gzpzeo1firv1ezfxx2e6c4tgtrudl
A data set containing a lookup between 2022 England NHS Trusts and 2021 LTLA areas.
lookup_nhs_trusts22_ltla21lookup_nhs_trusts22_ltla21
A data frame of class "tbl" with 574,104 rows and 4 variables:
LTLA code
NHS Trust code
The proportion of patients from all admissions from a given Trust that came from a given LTLA
...
Office for Health Improvement & Disparities. NHS Acute (Hospital) Trust Catchment Populations. 18.10.2022. https://AcuteTrustCatchmentPopulation/app.powerbi.com © Crown copyright 2022
https://app.box.com/s/qh8gzpzeo1firv1ezfxx2e6c4tgtrudl
A data set containing a lookup between 2022 England NHS Trusts and 2011 LSOA areas.
lookup_nhs_trusts22_msoa11lookup_nhs_trusts22_msoa11
A data frame of class "tbl" with 574,104 rows and 4 variables:
MSOA code
NHS Trust code
The proportion of patients from all admissions from a given MSOA that went to a given Trust
The proportion of patients from all admissions from a given Trust that came from a given MSOA
...
The population size of an MSOA is much smaller than the population of people who attend a given Trust. This means that the proportion of patients from an MSOA that go to a Trust will be much higher than the proprotion of patients from a Trust that came from an MSOA. This is because Trusts serve many more MSOA's than MSOA patients go to different trusts.
Office for Health Improvement & Disparities. NHS Acute (Hospital) Trust Catchment Populations. 18.10.2022. https://AcuteTrustCatchmentPopulation/app.powerbi.com © Crown copyright 2022
https://app.box.com/s/qh8gzpzeo1firv1ezfxx2e6c4tgtrudl
A data set containing February 2022 NHS Trusts and their associated names, codes, and open status, with a lookup to NHS Regions (April 2021).
lookup_nhs_trusts22_nhs_region21lookup_nhs_trusts22_nhs_region21
A data frame of class "tbl" with 214 rows and 6 variables:
NHS Trust code
NHS Trust name
NHS Region code (NHS version)
NHS Region code (ONS version)
NHS Region name
whether the Trust is 'open' or 'closed'
...
A data set containing a lookup between 2022 England NHS Trusts and 2021 STP areas.
lookup_nhs_trusts22_stp21lookup_nhs_trusts22_stp21
A data frame of class "tbl" with 209 rows and 4 variables:
NHS Trust name
NHS Trust code
STP name
STP code
...
https://geoportal.statistics.gov.uk/
Postcode to Data Zone to Super DataZone to District Electoral Areas to Local Government District lookup for Northern Ireland
lookup_postcode_dz21_sdz21_dea14_lgd14lookup_postcode_dz21_sdz21_dea14_lgd14
A data frame of class "tbl":
Postcode
Data zone (2021) code (comparable to Output Areas)
Data zone (2021) name
Super data zone (2021) code (comparable to LSOA / Scottish Data Zone)
Super data zone (2021) name
District Electoral Areas (2019) code
District Electoral Areas (2019) name
Local Government District (2014) code (comparable to Local Authority)
Local Government District (2014) name
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between postcodes, OAs, LSOAs, MSOAs, and 2020 Local Authority Districts, for England, Wales, and Scotland.
lookup_postcode_oa11_lsoa11_msoa11_ltla20lookup_postcode_oa11_lsoa11_msoa11_ltla20
A data frame of class "tbl" with 2,568,780 rows and 5 variables:
Postcodes
OA code
LSOA code
MSOA code
LAD code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between postcodes, OAs, LSOAs, MSOAs, and 2022 Local Authority Districts, for England, Wales, and Scotland.
lookup_postcode_oa21_lsoa21_msoa21_ltla22lookup_postcode_oa21_lsoa21_msoa21_ltla22
A data frame of class "tbl" with 2,600,236 rows and 5 variables:
Postcodes
OA code
LSOA code
MSOA code
LAD code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between Small Areas, Super Output Areas, and Local Government Districts in Northern Ireland
lookup_sa11_soa11_lgd18lookup_sa11_soa11_lgd18
A data frame of class "tbl" with 4,537 rows and 5 variables:
Small Area code
Super Output Area name
Super Output Area code
Local Government District name
Local Government District code
...
https://geoportal.statistics.gov.uk/
A data set containing a lookup between SOA and LGD in Northern Ireland.
lookup_soa01_lgd14lookup_soa01_lgd14
A data frame of class "tbl" with 13,865 rows and 2 variables:
Super Output Area 2001 code
Local Government District 2014 code
Local Government District 2014 name
...
https://www.nisra.gov.uk/publications/geography-lookup-tables
A data set containing a lookup of NHS Trust and organisational changes
lookup_trust_trustlookup_trust_trust
A data frame of class "tbl" with 25,480 rows and 3 variables:
The old organisation code
The new organisation code
The date of the change
...
A data set containing a lookup between 2021 wards and 2021 Lower Tier Local Authority Districts (LAD).
lookup_ward21_ltla21lookup_ward21_ltla21
A data frame of class "tbl" with 8,694 rows and 4 variables:
MSOA name
MSOA code
LAD name
LAD code
...
https://geoportal.statistics.gov.uk/
Names and codes for NHS Scotland Health Boards (2014 - 2019)
names_codes_hb19names_codes_hb19
A data frame of class "tbl" with 18 rows and 4 variables:
Health Board name
Health Board code
Date Health Board Code was enacted
Date Health Board Code was archived
...
https://www.opendata.nhs.scot/
A data set containing July 2022 NHS England hospital point geometries (i.e., lat/long coordinates) and their associated names.
points_hospitals22points_hospitals22
A data frame of class "sf" with 1,061 rows and 2 variables:
NHS England hospital
point coordinates
...
A data set containing February 2022 NHS Trusts point geometries (i.e., lat/long coordinates) and their associated names, codes, and open status.
points_nhs_trusts22points_nhs_trusts22
A data frame of class "sf" with 218 rows and 4 variables:
NHS Trust name
NHS Trust code
whether the Trust is 'open' or 'closed'
point coordinates
...
A data set containing rural-urban classifications for LSOAs in England and Wales.
ruc11_lsoa11ruc11_lsoa11
A data frame of class "tbl" with 34,753 rows and 4 variables:
LSOA code
Rural-Urban Classification code
Whether the LSOA is classified as 'Rural' or 'Urban'
A more detailed description of the classification
...
https://geoportal.statistics.gov.uk/
A data set containing rural-urban classifications for MSOAs in England and Wales.
ruc11_msoa11ruc11_msoa11
A data frame of class "tbl" with 7,201 rows and 4 variables:
MSOA code
Rural-Urban Classification code
Whether the MSOA is classified as 'Rural' or 'Urban'
A more detailed description of the classification
...
https://geoportal.statistics.gov.uk/
A data set containing rural-urban classifications for wards in England and Wales.
ruc11_wards11ruc11_wards11
A data frame of class "tbl" with 8,570 rows and 4 variables:
Ward code
Rural-Urban Classification code
Whether the ward is classified as 'Rural' or 'Urban'
A more detailed description of the classification
...
https://geoportal.statistics.gov.uk/
A data set containing rural-urban classifications for Data Zones in Scotland.
ruc16_dz11ruc16_dz11
A data frame of class "tbl" with 6,976 rows and 4 variables:
Data Zone code
Rural-Urban Classification code
Whether the DZ is classified as 'Rural' or 'Urban'
A more detailed description of the classification
...