Package 'geographr'

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: 2024-11-19 10:36:06 UTC
Source: https://github.com/humaniverse/geographr

Help Index


Aggregate LSOAs'21 to LSOA'11 for Left Behind Areas - England and Wales

Description

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

Usage

aggregate_lba_lsoas(data)

Arguments

data

Dataframe containing 2021 LSOA codes with boolean LBA data

Details

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

Value

Dataframe containing the aggregated 2011 LSOA codes


Clinical Commissioning Groups (April 2021)

Description

A data set containing 2021 Clinical Commissioning Group (CCG) geometries and their associated names and codes. Boundaries are ultra generalised (500m).

Usage

boundaries_ccg21

Format

A data frame of class "sf" with 106 rows and 3 variables:

ccg21_name

CCG name

ccg21_code

CCG code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Countries (December 2020)

Description

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).

Usage

boundaries_countries20

Format

A data frame of class "sf" with 4 rows and 3 variables:

country20_name

country name

country20_code

Country code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Data Zones (2011)

Description

A data set containing 2011 Scottish Data Zone geometries and their associated names and codes.

Usage

boundaries_dz11

Format

A data frame of class "sf" with 6,976 rows and 3 variables:

dz11_name

Data Zone name

dz11_code

Data Zone code

geometry

multipolygon coordinates

...

Source

https://spatialdata.gov.scot/


Health Boards (2019)

Description

A data set containing 2019 NHS Health Board geometries and their associated names and codes.

Usage

boundaries_hb19

Format

A data frame of class "sf" with 14 rows and 3 variables:

hb19_name

Health Board name

hb19_code

Health Board code

geometry

multipolygon coordinates

...

Source

https://spatialdata.gov.scot/


Integrated Care Boards (2022)

Description

A data set containing July 2022 NHS Integrated Care Board geometries and their associated names and codes.

Usage

boundaries_icb22

Format

A data frame of class "sf" with 42 rows and 3 variables:

icb22_name

Integrated Care Board name

icb22_code

Integrated Care Board code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Intermediate Zones (2011)

Description

A data set containing 2011 Scottish Intermediate Zone geometries and their associated names and codes.

Usage

boundaries_iz11

Format

A data frame of class "sf" with 1,279 rows and 3 variables:

iz11_name

Intermediate Zone name

iz11_code

Intermediate Zone code

geometry

multipolygon coordinates

...

Source

https://spatialdata.gov.scot/


Wales Local Health Boards (2020)

Description

A data set containing 2020 Local Health Board geometries for Wales and their associated names and codes.

Usage

boundaries_lhb20

Format

A data frame of class "sf" with 7 rows and 3 variables:

lhb20_name

Local Health Board name

lhb20_code

Local Health Board code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Wales Local Health Boards (2022)

Description

A data set containing 2022 Local Health Board geometries for Wales and their associated names and codes.

Usage

boundaries_lhb22

Format

A data frame of class "sf" with 7 rows and 3 variables:

lhb22_name

Local Health Board name

lhb22_code

Local Health Board code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Lower Layer Super Output Areas (2011)

Description

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.

Usage

boundaries_lsoa11

Format

A data frame of class "sf" with 34,753 rows and 3 variables:

lsoa11_name

LSOA name

lsoa11_code

LSOA code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Local Authority Districts (December 2019)

Description

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).

Usage

boundaries_ltla19

Format

A data frame of class "sf" with 382 rows and 3 variables:

ltla19_name

LAD name

ltla19_code

LAD code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Local Authority Districts (December 2020)

Description

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).

Usage

boundaries_ltla20

Format

A data frame of class "sf" with 379 rows and 3 variables:

ltla20_name

LAD name

ltla20_code

LAD code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Local Authority Districts (December 2021)

Description

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).

Usage

boundaries_ltla21

Format

A data frame of class "sf" with 374 rows and 3 variables:

ltla21_name

LAD name

ltla21_code

LAD code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Middle Layer Super Output Areas (2011)

Description

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.

Usage

boundaries_msoa11

Format

A data frame of class "sf" with 7,201 rows and 3 variables:

msoa11_name

MSOA name

msoa11_code

MSOA code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Middle Layer Super Output Areas (2021)

Description

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.

Usage

boundaries_msoa21

Format

A data frame of class "sf" with 7,264 rows and 3 variables:

msoa21_name

MSOA name

msoa21_code

MSOA code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Middle Layer Super Output Areas equivalents for the UK

Description

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.

Usage

boundaries_msoa21_iz11_sdz21

Format

A data frame of class "sf" with 9,393 rows and 3 variables:

msoa21_name

MSOA name

msoa21_code

MSOA code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Police Force Areas (2020)

Description

A data set containing 2020 Police Force Area geometries for England and Wales and their associated names and codes.

Usage

boundaries_pfa20

Format

A data frame of class "sf" with 43 rows and 3 variables:

pfa20_name

Police Force Area name

pfa20_code

Police Force Area code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Regions (December 2021)

Description

A data set containing December 2021 England Region geometries and their associated names and codes.

Usage

boundaries_region21

Format

A data frame of class "sf" with 890 rows and 3 variables:

region21_name

Region name

region21_code

Region code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Super Data Zones (2021)

Description

A data set containing 2021 Northern Ireland Super Data Zones geometries and their associated names and codes as used following the 2021 Census results.

Usage

boundaries_sdz21

Format

A data frame of class "sf" with 850 rows and 3 variables:

sdz21_name

Super Data Zone name

sdz21_code

Super Data Zone code

geometry

multipolygon coordinates

...

Source

https://www.nisra.gov.uk/


Super Output Areas (2011)

Description

A data set containing 2011 Northern Ireland Super Output Area geometries and their associated names and codes as used following the 2011 Census results.

Usage

boundaries_soa11

Format

A data frame of class "sf" with 890 rows and 3 variables:

soa11_name

Super Output Area name

soa11_code

Super Output Area code

geometry

multipolygon coordinates

...

Source

https://www.nisra.gov.uk/


Sustainability and Transformation Partnerships (April 2021)

Description

A data set containing 2021 Sustainability and Transformation Partnerships (STP) geometries and their associated names and codes. Boundaries are ultra generalised (500m).

Usage

boundaries_stp21

Format

A data frame of class "sf" with 42 rows and 3 variables:

stp21_name

STP name

stp21_code

STP code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Northern Ireland Health and Social Care Trusts (2017)

Description

A data set containing 2017 Health and Social Care Trust geometries for Northern Ireland and their associated names and codes.

Usage

boundaries_trusts_ni18

Format

A data frame of class "sf" with 5 rows and 3 variables:

trust18_name

Health and Social Care Trust name

trust18_code

Health and Social Care Trust code

geometry

multipolygon coordinates

...

Source

https://www.opendatani.gov.uk/


Counties and Unitary Authorities (December 2019)

Description

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).

Usage

boundaries_utla19

Format

A data frame of class "sf" with 216 rows and 3 variables:

utla19_name

county and UA name

utla19_code

county and UA code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Counties and Unitary Authorities (December 2020)

Description

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).

Usage

boundaries_utla20

Format

A data frame of class "sf" with 216 rows and 3 variables:

utla20_name

county and UA name

utla20_code

county and UA code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Counties and Unitary Authorities (May 2021)

Description

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).

Usage

boundaries_utla21

Format

A data frame of class "sf" with 217 rows and 3 variables:

utla21_name

county and UA name

utla21_code

county and UA code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


VCSEP regions (2022).

Description

A data set containing geometries for the Voluntary and Community Sector Emergency Partnership regions

Usage

boundaries_vcsep22

Format

A data frame of class "tbl" with 5 rows and 2 variables:

vcsep_region

VCSEP region name

geometry

multipolygon coordinates

...

Source

https://github.com/VCS-Emergencies-Partnership/ad-hoc-analysis/tree/main/analysis/vcsep_regions_boundaries


Wards / Electoral Divisions (December 2021)

Description

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).

Usage

boundaries_wards21

Format

A data frame of class "sf" with 8,694 rows and 3 variables:

ward21_name

ward name

ward21_code

ward code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Wards / Electoral Divisions (December 2022)

Description

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).

Usage

boundaries_wards22

Format

A data frame of class "sf" with 8,483 rows and 3 variables:

ward22_name

ward name

ward22_code

ward code

geometry

multipolygon coordinates

...

Source

https://geoportal.statistics.gov.uk/


Calculate the 'extent' scores when aggregating up small areas

Description

"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:

Usage

calculate_extent(
  data,
  var,
  higher_level_geography,
  population,
  weight_high_scores = TRUE
)

Arguments

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.

Details

"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.

Description

Calculate proportion of small areas in the higher-level geography that are within the 10% most deprived areas in the nation.

Usage

calculate_proportion(data, var, higher_level_geography)

Arguments

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

Examples

## Not run: 
  calculate_proportion(IMD::imd_england_lsoa, IMD_decile, msoa_code, n_people)

## End(Not run)

Data Zone (2001) to Data Zone (2011) Lookup

Description

A data set containing a lookup between Data Zone 2001 and 2011 codes. This data was constructed from the 2024-1 Scottish Postcode Directory.

Usage

lookup_dz01_dz11

Format

A data frame of class "tbl" with 10,437 rows and 2 variables:

dz01_code

Data Zone code (2001)

dz11_code

Data Zone code (2011)

...

Source

https://www.nrscotland.gov.uk


Data Zone (2011) to Intermediate Zone (2011) to LAD (December 2019) Lookup

Description

A data set containing a lookup between Data Zones, Intermediate Zones and Council Areas in Scotland

Usage

lookup_dz11_iz11_ltla20

Format

A data frame of class "tbl" with 6,976 rows and 6 variables:

dz11_name

DZ name

dz11_code

DZ code

iz11_name

IZ name

iz11_code

IZ code

ltla20_name

LAD name

ltla20_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


Data Zone (2011) to Local Authority (2019) to Health Board (2019) Lookup

Description

A data set containing a lookup between Data Zones, Local Authorities (also called Council Areas) and Health Boards in Scotland

Usage

lookup_dz11_ltla19_hb19

Format

A data frame of class "tbl" with 6,976 rows and 3 variables:

dz11_code

Data zone (2011) code

ltla19_code

Local authortiy (2019) code

hb19_code

Health board (2019) code

...

Source

https://geoportal.statistics.gov.uk/


Data Zone (2021) to Super Data Zone (2021) to District Electoral Areas (2019) to Local Government Districts (2014) Lookup

Description

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

Usage

lookup_dz21_sdz21_dea14_lgd14

Format

A data frame of class "tbl" with 3,780 rows and 8 variables:

dz21_code

Data zone (2021) code (comparable to Output Areas)

dz21_name

Data zone (2021) name

sdz21_code

Super data zone (2021) code (comparable to LSOA / Scottish Data Zone)

sdz21_name

Super data zone (2021) name

dea14_code

District Electoral Areas (2019) code

dea14_name

District Electoral Areas (2019) name

lgd14_code

Local Government District (2014) code (comparable to Local Authority)

lgd14_name

Local Government District (2014) name

...

Source

https://nisra.gov.uk/


Lower Layer Super Output Area (2011) to Clinical Commissioning Group (2021) to Sustainability and Transformation Plan (2021) to Lower Tier Local Authority District (2021) Lookup

Description

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.

Usage

lookup_lsoa11_ccg21_stp21_ltla21

Format

A data frame of class "tbl" with 32,844 rows and 8 variables:

lsoa11_name

LSOA name

lsoa11_code

LSOA code

ccg21_name

CCG name

ccg21_code

CCG code

stp21_name

STP name

stp21_code

STP code

ltla21_name

LTLA name

ltla21_code

LTLA code

...

Source

https://geoportal.statistics.gov.uk/


Lower Layer Super Output Area (2011) to Lower Layer Super Output Area (2021) to LAD (December 2022) Lookup

Description

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).

Usage

lookup_lsoa11_lsoa21_ltla22

Format

A data frame of class "tbl" with 35,795 rows and 8 variables:

lsoa11_name

LSOA 11 name

lsoa11_code

LSOA 11 code

change_code

Change code containing U (unchanged from 2011 to 2021), M (merged), S (split) and X (irregular and fragmented change)

lsoa21_name

LSOA 21 name

lsoa21_code

LSOA 21 code

ltla22_name

LTLA name

ltla22_code

LTLA code

...

Source

https://geoportal.statistics.gov.uk/


Lower Layer Super Output Area (2011) to LAD (December 2018) Lookup

Description

A data set containing a lookup between 2011 Lower Super Output Areas (LSOA) and 2018 Local Authority Districts (LAD).

Usage

lookup_lsoa11_ltla18

Format

A data frame of class "tbl" with 32,844 rows and 4 variables:

lsoa11_name

LSOA name

lsoa11_code

LSOA code

ltla18_name

LAD name

ltla18_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


Lower Layer Super Output Area (2011) to LAD (December 2019) Lookup

Description

A data set containing a lookup between 2011 Lower Super Output Areas (LSOA) and 2019 Local Authority Districts (LAD).

Usage

lookup_lsoa11_ltla19

Format

A data frame of class "tbl" with 34,753 rows and 4 variables:

lsoa11_name

LSOA name

lsoa11_code

LSOA code

ltla19_name

LAD name

ltla19_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


Lower Layer Super Output Area (2011) to LAD (December 2020) Lookup

Description

A data set containing a lookup between 2011 Lower Super Output Areas (LSOA) and 2020 Local Authority Districts (LAD).

Usage

lookup_lsoa11_ltla20

Format

A data frame of class "tbl" with 34,753 rows and 4 variables:

lsoa11_name

LSOA name

lsoa11_code

LSOA code

ltla20_name

LAD name

ltla20_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


Lower Layer Super Output Area (2011) to LAD (December 2021) Lookup

Description

A data set containing a lookup between 2011 Lower Super Output Areas (LSOA) and 2021 Local Authority Districts (LAD).

Usage

lookup_lsoa11_ltla21

Format

A data frame of class "tbl" with 34,753 rows and 4 variables:

lsoa11_name

LSOA name

lsoa11_code

LSOA code

ltla21_name

LAD name

ltla21_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


Lower Layer Super Output Area (2011) to Middle Layer Super Output Area (2011) Lookup

Description

A data set containing a lookup between 2011 Lower (LSOA) and Middle Layer Super Output Areas (MSOA).

Usage

lookup_lsoa11_msoa11

Format

A data frame of class "tbl" with 41,729 rows and 4 variables:

lsoa11_name

LSOA name

lsoa11_code

LSOA code

msoa11_name

MSOA name

msoa11_code

MSOA code

...

Source

https://geoportal.statistics.gov.uk/


LSOA (2011) to SICBL (2022) to ICB (2022) to LTLA (2022) Lookup

Description

A data set containing a lookup between 2011 LSOAs, 2022 Sub ICB Locations, 2022 IBCs and 2022 LTLAs in England.

Usage

lookup_lsoa11_sicbl22_icb22_ltla22

Format

A data frame of class "tbl" with 32,844 rows and 10 variables:

lsoa11_name

LSOA 2011 name

lsoa11_code

LSOA 2011 code

sicbl22_name

Sub ICB Location 2022 name

sicbl22_code

Sub ICB Location code 2022 (retains former CCG codes)

sicbl22_code_h

Sub ICB Location code 'h' 2022 (retains former CCG codes)

icb22_name

ICB 2022 name

icb22_code

ICB 2022 code (retains former ICS/STP codes)

icb22_code_h

ICB 2022 code 'h' (retains former ICS/STP codes)

ltla22_name

LTLA 2022 name

ltla22_code

LTLA 2022 code

...

Source

https://geoportal.statistics.gov.uk/


LSOA (2011) to Ward (2017) Lookup

Description

A data set containing a lookup between 2011 LSOAs and 2021 wards in England and Wales.

Usage

lookup_lsoa11_ward17

Format

A data frame of class "tbl" with 34,753 rows and 2 variables:

lsoa11_code

LSOA 2011 code

ward17_code

Ward 2017 code

...

Source

https://geoportal.statistics.gov.uk/


Changes to England Local Authority codes over time (from 2019).

Description

A data set containing a lookup of the England Local Authority changes between 2019, 2020 and 2021.

Usage

lookup_ltla_ltla

Format

A data frame of class "tbl" with 382 rows and 6 variables:

ltla19_name

2019 LAD name

ltla19_code

2019 LAD code

ltla20_name

2020 LAD name

ltla20_code

2020 LAD code

ltla21_name

2021 LAD name

ltla21_code

2021 LAD code

...

Source

https://geoportal.statistics.gov.uk/datasets/code-history-database-december-2021-for-the-united-kingdom/about


Local Authority District (2019) to British Red Cross area lookup

Description

A data set containing a lookup between UK Local Authority Districts and British Red Cross operational areas.

Usage

lookup_ltla19_brc

Format

A data frame of class "tbl" with 382 rows and 2 variables:

ltla19_code

LAD code

brc_area

British Red Cross area name

...

Source

https://redcross.org.uk/


Local Authority Districts to Combined Authorities lookup (2019).

Description

A data set containing a lookup between December 2019 Local Authority Districts and Combined Authorities (CAUTH).

Usage

lookup_ltla19_cauth19

Format

A data frame of class "tbl" with 53 rows and 4 variables:

ltla19_name

LAD name

ltla19_code

LAD code

cauth19_name

County name

cauth19_code

County code

...

Source

https://geoportal.statistics.gov.uk/


Local Authority District to Region (December 2019) Lookup in England

Description

A data set containing a lookup between 2019 Local Authority Districts (LAD) and 2019 English Regions.

Usage

lookup_ltla19_region19

Format

A data frame of class "tbl" with 317 rows and 4 variables:

ltla19_name

LAD name

ltla19_code

LAD code

region19_name

Region name

region19_code

Region code

...

Source

https://geoportal.statistics.gov.uk/


Local Authority Districts to County and Unitary Authorities lookup (2019).

Description

A data set containing a lookup between December 2019 Local Authority Districts and County and Unitary Authorities.

Usage

lookup_ltla19_utla19

Format

A data frame of class "tbl" with 339 rows and 4 variables:

ltla19_name

LAD name

ltla19_code

LAD code

utla19_name

County name

utla19_code

County code

...

Source

https://geoportal.statistics.gov.uk/


Local Authority Districts to Combined Authorities lookup (2020).

Description

A data set containing a lookup between December 2020 Local Authority Districts and Combined Authorities (CAUTH).

Usage

lookup_ltla20_cauth20

Format

A data frame of class "tbl" with 53 rows and 4 variables:

ltla20_name

LAD name

ltla20_code

LAD code

cauth20_name

County name

cauth20_code

County code

...

Source

https://geoportal.statistics.gov.uk/


Local Authority District to Region (December 2020) Lookup in England

Description

A data set containing a lookup between 2020 Local Authority Districts (LAD) and 2020 English Regions.

Usage

lookup_ltla20_region20

Format

A data frame of class "tbl" with 314 rows and 4 variables:

ltla20_name

LAD name

ltla20_code

LAD code

region20_name

Region name

region20_code

Region code

...

Source

https://geoportal.statistics.gov.uk/


Local Authority Districts to County and Unitary Authorities lookup (2020).

Description

A data set containing a lookup between December 2020 Local Authority Districts and County and Unitary Authorities.

Usage

lookup_ltla20_utla20

Format

A data frame of class "tbl" with 336 rows and 4 variables:

ltla20_name

LAD name

ltla20_code

LAD code

utla20_name

County name

utla20_code

County code

...

Source

https://geoportal.statistics.gov.uk/


Local Authority District (2021) to British Red Cross area lookup

Description

A data set containing a lookup between UK Local Authority Districts and British Red Cross operational areas.

Usage

lookup_ltla21_brc

Format

A data frame of class "tbl" with 382 rows and 2 variables:

ltla21_code

LAD code

brc_area

British Red Cross area name

...

Source

https://redcross.org.uk/


Local Authority Districts to Combined Authorities lookup (2021).

Description

A data set containing a lookup between December 2021 Local Authority Districts and Combined Authorities (CAUTH).

Usage

lookup_ltla21_cauth21

Format

A data frame of class "tbl" with 53 rows and 4 variables:

ltla21_name

LAD name

ltla21_code

LAD code

cauth21_name

County name

cauth21_code

County code

...

Source

https://geoportal.statistics.gov.uk/


Local Authority Districts to Fire and Rescue Authorities lookup (2021).

Description

A data set containing a lookup between April 2021 Local Authority Fire and Rescue Authorities (FRA)

Usage

lookup_ltla21_fra21

Format

A data frame of class "tbl" with 331 rows and 4 variables:

ltla21_name

LAD name

ltla21_code

LAD code

fra21_name

FRA name

fra21_code

FRA code

...

Source

https://geoportal.statistics.gov.uk/


Local Government District (2021) to Health and Social Care Trust (2018) Lookup

Description

A data set containing a lookup between Local Authorities (also called Local Government Districts) and Health and Social Care Trusts in Northern Ireland

Usage

lookup_ltla21_hsct18

Format

A data frame of class "tbl" with 11 rows and 4 variables:

ltla21_name

Local Government District (2021) name

ltla21_code

Local Government District (2021) code

trust18_name

Health and Social Care Trust (2018) name

trust18_code

Health and Social Care Trust (2018) code

...

Source

https://www.nisra.gov.uk/sites/nisra.gov.uk/files/publications/Maps-of-NI-Health-Trusts-and-Local-Government-Districts.pdf


Wales Local Authority Districts (2021) to Local Health Boards (2022) Lookup

Description

A data set containing a lookup between Local Authorities (2021) and Local Health Boards (December 2022) in Wales.

Usage

lookup_ltla21_lhb22

Format

A data frame of class "tbl" with 22 rows and 4 variables:

ltla21_code

Local Government District (2021) code

ltla21_name

Local Government District (2021) name

lhb22_code

Local Health Board (2022) code

lhb22_name

Local Health Board (2022) name

...

Source

https://geoportal.statistics.gov.uk/


Local Authority District to Region (April 2021) Lookup in England

Description

A data set containing a lookup between 2021 Local Authority Districts (LAD) and 2021 English Regions.

Usage

lookup_ltla21_region21

Format

A data frame of class "tbl" with 317 rows and 4 variables:

ltla21_name

LAD name

ltla21_code

LAD code

region21_name

Region name

region21_code

Region code

...

Source

https://geoportal.statistics.gov.uk/


Local Authority Districts to County and Unitary Authorities lookup (2021).

Description

A data set containing a lookup between December 2021 Local Authority Districts and County and Unitary Authorities.

Usage

lookup_ltla21_utla21

Format

A data frame of class "tbl" with 331 rows and 4 variables:

ltla21_name

LAD name

ltla21_code

LAD code

utla21_name

County name

utla21_code

County code

...

Source

https://geoportal.statistics.gov.uk/


Local Authority Districts to VCSEP regions lookup (2021).

Description

A data set containing a lookup between December 2021 Local Authority Districts and Voluntary and Community Sector Emergency Partnership regions

Usage

lookup_ltla21_vcsep22

Format

A data frame of class "tbl" with 309 rows and 3 variables:

ltla21_name

LAD name

ltla21_code

LAD code

vcsep_region

VCSEP region name

...

Source

https://github.com/VCS-Emergencies-Partnership/ad-hoc-analysis/tree/main/analysis/vcsep_regions_boundaries


Local Authority Districts (2022) to Local Authority Districts (2023).

Description

A data set containing a lookup between 2022 Local Authority Districts and 2023 Local Authority Districts.

Usage

lookup_ltla22_ltla23

Format

A data frame of class "tbl" with 374 rows and 4 variables:

ltla22_code

LAD 22 code

ltla22_name

LAD 22 name

ltla23_code

LAD 23 code

ltla23_name

LAD 23 name

...

Source

https://geoportal.statistics.gov.uk/


Local Authority Districts to Combined Authorities lookup (2023).

Description

A data set containing a lookup between December 2023 Local Authority Districts and Combined Authorities (CAUTH).

Usage

lookup_ltla23_cauth23

Format

A data frame of class "tbl" with 53 rows and 4 variables:

ltla23_name

LAD name

ltla23_code

LAD code

cauth23_name

County name

cauth23_code

County code

...

Source

https://geoportal.statistics.gov.uk/


Local Authority District to Region (April 2023) Lookup in England

Description

A data set containing a lookup between 2023 Local Authority Districts (LAD) and 2023 English Regions.

Usage

lookup_ltla23_region23

Format

A data frame of class "tbl" with 296 rows and 4 variables:

ltla23_name

LAD name

ltla23_code

LAD code

region23_name

Region name

region23_code

Region code

...

Source

https://geoportal.statistics.gov.uk/


Lower Tier Local Authority (2023) to Upper Tier Local Authority (2023).

Description

A data set containing a lookup between Lower Tier Local Authority (2023) to Upper Tier Local Authority (2023).

Usage

lookup_ltla23_utla23

Format

A data frame of class "tbl" with 318 rows and 4 variables:

ltla23_code

LTLA code

ltla23_name

LTLA name

utla23_code

UTLA code

utla23_name

UTLA name

...

Source

https://geoportal.statistics.gov.uk/


Middle Layer Super Output Area (2011) to LAD (December 2019) Lookup

Description

A data set containing a lookup between 2011 Middle Super Output Areas (MSOA) and 2019 Local Authority Districts (LAD).

Usage

lookup_msoa11_ltla19

Format

A data frame of class "tbl" with 7,201 rows and 4 variables:

msoa11_name

MSOA name

msoa11_code

MSOA code

ltla19_name

LAD name

ltla19_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


Middle Layer Super Output Area (2011) to LAD (December 2020) Lookup

Description

A data set containing a lookup between 2011 Middle Super Output Areas (MSOA) and 2020 Local Authority Districts (LAD).

Usage

lookup_msoa11_ltla20

Format

A data frame of class "tbl" with 7,201 rows and 4 variables:

msoa11_name

MSOA name

msoa11_code

MSOA code

ltla20_name

LAD name

ltla20_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


Middle Layer Super Output Area (2011) to LAD (December 2021) Lookup

Description

A data set containing a lookup between 2011 Middle Super Output Areas (MSOA) and 2021 Local Authority Districts (LAD).

Usage

lookup_msoa11_ltla21

Format

A data frame of class "tbl" with 7,201 rows and 4 variables:

msoa11_name

MSOA name

msoa11_code

MSOA code

ltla21_name

LAD name

ltla21_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


Middle Layer Super Output Area (2011) to Middle Layer Super Output Area (2021) to LAD (December 2022) Lookup

Description

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).

Usage

lookup_msoa11_msoa21_ltla22

Format

A data frame of class "tbl" with 7.201 rows and 6 variables:

msoa11_name

MSOA 11 name

msoa11_code

MSOA 11 code

msoa21_name

MSOA 21 name

msoa21_code

MSOA 21 code

ltla22_name

LAD name

ltla22_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


MSOA (2011) to Ward (2017) Lookup

Description

A data set containing a lookup between 2011 MSOAs and 2021 wards in England and Wales.

Usage

lookup_msoa11_ward17

Format

A data frame of class "tbl" with 13,873 rows and 2 variables:

msoa11_code

MSOA 2011 code

ward17_code

Ward 2017 code

...

Source

https://geoportal.statistics.gov.uk/


MSOA (2021) to Ward (2017) Lookup

Description

A data set containing a lookup between 2021 MSOAs and 2021 wards in England and Wales.

Usage

lookup_msoa21_ward17

Format

A data frame of class "tbl" with 13,865 rows and 2 variables:

msoa21_code

MSOA 2021 code

ward17_code

Ward 2017 code

...

Source

https://geoportal.statistics.gov.uk/


England NHS Trusts (2022) to ICB (2022) Lookup

Description

A data set containing a lookup between 2022 England NHS Trusts and 2022 Integrate Care Boards (ICBs).

Usage

lookup_nhs_trusts22_icb22

Format

A data frame of class "tbl" with 1,321 rows and 3 variables:

icb22_code

ICB code

nhs_trust22_code

NHS Trust code

proportion_trust_came_from_icb

The proportion of patients from all admissions from a given Trust that came from a given ICB

...

Copyright reference

Office for Health Improvement & Disparities. NHS Acute (Hospital) Trust Catchment Populations. 18.10.2022. https://AcuteTrustCatchmentPopulation/app.powerbi.com © Crown copyright 2022

Source

https://app.box.com/s/qh8gzpzeo1firv1ezfxx2e6c4tgtrudl


England NHS Trusts (2022) to LTLA (2021) Lookup

Description

A data set containing a lookup between 2022 England NHS Trusts and 2021 LTLA areas.

Usage

lookup_nhs_trusts22_ltla21

Format

A data frame of class "tbl" with 574,104 rows and 4 variables:

ltla21_code

LTLA code

nhs_trust22_code

NHS Trust code

proportion_trust_came_from_ltla

The proportion of patients from all admissions from a given Trust that came from a given LTLA

...

Copyright reference

Office for Health Improvement & Disparities. NHS Acute (Hospital) Trust Catchment Populations. 18.10.2022. https://AcuteTrustCatchmentPopulation/app.powerbi.com © Crown copyright 2022

Source

https://app.box.com/s/qh8gzpzeo1firv1ezfxx2e6c4tgtrudl


England NHS Trusts (2022) to MSOA (2011) Lookup

Description

A data set containing a lookup between 2022 England NHS Trusts and 2011 LSOA areas.

Usage

lookup_nhs_trusts22_msoa11

Format

A data frame of class "tbl" with 574,104 rows and 4 variables:

msoa11_code

MSOA code

nhs_trust22_code

NHS Trust code

proportion_msoa_went_to_trust

The proportion of patients from all admissions from a given MSOA that went to a given Trust

proportion_trust_came_from_msoa

The proportion of patients from all admissions from a given Trust that came from a given MSOA

...

Details

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.

Copyright reference

Office for Health Improvement & Disparities. NHS Acute (Hospital) Trust Catchment Populations. 18.10.2022. https://AcuteTrustCatchmentPopulation/app.powerbi.com © Crown copyright 2022

Source

https://app.box.com/s/qh8gzpzeo1firv1ezfxx2e6c4tgtrudl


NHS Trusts (February 2022) to NHS Regions (April 2021) Lookup

Description

A data set containing February 2022 NHS Trusts and their associated names, codes, and open status, with a lookup to NHS Regions (April 2021).

Usage

lookup_nhs_trusts22_nhs_region21

Format

A data frame of class "tbl" with 214 rows and 6 variables:

nhs_trust22_code

NHS Trust code

nhs_trust22_name

NHS Trust name

nhs_region21_nhs_code

NHS Region code (NHS version)

nhs_region21_ons_code

NHS Region code (ONS version)

nhs_region21_name

NHS Region name

status

whether the Trust is 'open' or 'closed'

...

Source

https://digital.nhs.uk/


England NHS Trusts (2022) to STP/ICS (2021) Lookup

Description

A data set containing a lookup between 2022 England NHS Trusts and 2021 STP areas.

Usage

lookup_nhs_trusts22_stp21

Format

A data frame of class "tbl" with 209 rows and 4 variables:

nhs_trust22_name

NHS Trust name

nhs_trust22_code

NHS Trust code

stp21_name

STP name

stp21_code

STP code

...

Source

https://geoportal.statistics.gov.uk/


Postcode to Data Zone to Super DataZone to District Electoral Areas to Local Government District lookup for Northern Ireland

Description

Postcode to Data Zone to Super DataZone to District Electoral Areas to Local Government District lookup for Northern Ireland

Usage

lookup_postcode_dz21_sdz21_dea14_lgd14

Format

A data frame of class "tbl":

postcode

Postcode

dz21_code

Data zone (2021) code (comparable to Output Areas)

dz21_name

Data zone (2021) name

sdz21_code

Super data zone (2021) code (comparable to LSOA / Scottish Data Zone)

sdz21_name

Super data zone (2021) name

dea14_code

District Electoral Areas (2019) code

dea14_name

District Electoral Areas (2019) name

lgd14_code

Local Government District (2014) code (comparable to Local Authority)

lgd14_name

Local Government District (2014) name

...

Source

https://geoportal.statistics.gov.uk/


Postcode to Output Area (2011) to Lower Layer Super Output Area (2011) to Middle Layer Super Output Area (2011) to Local Authority District (2020) Lookup

Description

A data set containing a lookup between postcodes, OAs, LSOAs, MSOAs, and 2020 Local Authority Districts, for England, Wales, and Scotland.

Usage

lookup_postcode_oa11_lsoa11_msoa11_ltla20

Format

A data frame of class "tbl" with 2,568,780 rows and 5 variables:

postcode

Postcodes

oa11_code

OA code

lsoa11_code

LSOA code

msoa11_code

MSOA code

ltla20_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


Postcode to Output Area (2021) to Lower Layer Super Output Area (2021) to Middle Layer Super Output Area (2021) to Local Authority District (2022) Lookup

Description

A data set containing a lookup between postcodes, OAs, LSOAs, MSOAs, and 2022 Local Authority Districts, for England, Wales, and Scotland.

Usage

lookup_postcode_oa21_lsoa21_msoa21_ltla22

Format

A data frame of class "tbl" with 2,600,236 rows and 5 variables:

postcode

Postcodes

oa21_code

OA code

lsoa21_code

LSOA code

msoa21_code

MSOA code

ltla22_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


Small Areas (2011) to SOAs to Local Government Districts (December 2018) Lookup with Area Classifications in Northern Ireland

Description

A data set containing a lookup between Small Areas, Super Output Areas, and Local Government Districts in Northern Ireland

Usage

lookup_sa11_soa11_lgd18

Format

A data frame of class "tbl" with 4,537 rows and 5 variables:

sa11_code

Small Area code

soa11_name

Super Output Area name

soa11_code

Super Output Area code

lgd18_name

Local Government District name

lgd18_code

Local Government District code

...

Source

https://geoportal.statistics.gov.uk/


SOA (2001) to LGD (2014) Lookup

Description

A data set containing a lookup between SOA and LGD in Northern Ireland.

Usage

lookup_soa01_lgd14

Format

A data frame of class "tbl" with 13,865 rows and 2 variables:

soa01_code

Super Output Area 2001 code

lgd14_code

Local Government District 2014 code

ldg14_name

Local Government District 2014 name

...

Source

https://www.nisra.gov.uk/publications/geography-lookup-tables


NHS Trust and Orginisation Changes

Description

A data set containing a lookup of NHS Trust and organisational changes

Usage

lookup_trust_trust

Format

A data frame of class "tbl" with 25,480 rows and 3 variables:

old_code

The old organisation code

new_code

The new organisation code

date

The date of the change

...

Source

https://digital.nhs.uk/


Ward (December 2021) to LTLA (December 2021) Lookup

Description

A data set containing a lookup between 2021 wards and 2021 Lower Tier Local Authority Districts (LAD).

Usage

lookup_ward21_ltla21

Format

A data frame of class "tbl" with 8,694 rows and 4 variables:

ward21_name

MSOA name

ward21_code

MSOA code

ltla21_name

LAD name

ltla21_code

LAD code

...

Source

https://geoportal.statistics.gov.uk/


Names and codes for NHS Scotland Health Boards (2014 - 2019)

Description

Names and codes for NHS Scotland Health Boards (2014 - 2019)

Usage

names_codes_hb19

Format

A data frame of class "tbl" with 18 rows and 4 variables:

hb19_name

Health Board name

hb19_code

Health Board code

date_enacted

Date Health Board Code was enacted

date_archived

Date Health Board Code was archived

...

Source

https://www.opendata.nhs.scot/


NHS England Hopsitals (July 2022)

Description

A data set containing July 2022 NHS England hospital point geometries (i.e., lat/long coordinates) and their associated names.

Usage

points_hospitals22

Format

A data frame of class "sf" with 1,061 rows and 2 variables:

hospital22_name

NHS England hospital

geometry

point coordinates

...

Source

https://digital.nhs.uk/


NHS Trusts (February 2022)

Description

A data set containing February 2022 NHS Trusts point geometries (i.e., lat/long coordinates) and their associated names, codes, and open status.

Usage

points_nhs_trusts22

Format

A data frame of class "sf" with 218 rows and 4 variables:

nhs_trust22_name

NHS Trust name

nhs_trust22_code

NHS Trust code

status

whether the Trust is 'open' or 'closed'

geometry

point coordinates

...

Source

https://digital.nhs.uk/


Rural-Urban Classifications for Lower Layer Super Output Areas (2011) in England and Wales

Description

A data set containing rural-urban classifications for LSOAs in England and Wales.

Usage

ruc11_lsoa11

Format

A data frame of class "tbl" with 34,753 rows and 4 variables:

lsoa11_code

LSOA code

ruc11_code

Rural-Urban Classification code

ruc

Whether the LSOA is classified as 'Rural' or 'Urban'

classification

A more detailed description of the classification

...

Source

https://geoportal.statistics.gov.uk/


Rural-Urban Classifications for Middle Layer Super Output Areas (2011) in England and Wales

Description

A data set containing rural-urban classifications for MSOAs in England and Wales.

Usage

ruc11_msoa11

Format

A data frame of class "tbl" with 7,201 rows and 4 variables:

msoa11_code

MSOA code

ruc11_code

Rural-Urban Classification code

ruc

Whether the MSOA is classified as 'Rural' or 'Urban'

classification

A more detailed description of the classification

...

Source

https://geoportal.statistics.gov.uk/


Rural-Urban Classifications for wards (2011) in England and Wales

Description

A data set containing rural-urban classifications for wards in England and Wales.

Usage

ruc11_wards11

Format

A data frame of class "tbl" with 8,570 rows and 4 variables:

ward11_code

Ward code

ruc11_code

Rural-Urban Classification code

ruc

Whether the ward is classified as 'Rural' or 'Urban'

classification

A more detailed description of the classification

...

Source

https://geoportal.statistics.gov.uk/


Rural-Urban Classifications for Data Zones (2011) in Scotland

Description

A data set containing rural-urban classifications for Data Zones in Scotland.

Usage

ruc16_dz11

Format

A data frame of class "tbl" with 6,976 rows and 4 variables:

dz11_code

Data Zone code

ruc16_code

Rural-Urban Classification code

ruc

Whether the DZ is classified as 'Rural' or 'Urban'

classification

A more detailed description of the classification

...

Source

https://www.gov.scot/