This repo contains a lookup table that contains the corredpondence between local authorities to HMCTS regions.
This lookup table is particularly useful for geospacial analysis, such as aggregating statistics at the level of HMCTS regions, or identifying the HMCTS region that geographic units such as courts fall within.
To assist with geospatial analysis, this repository contains code that can be used to convert the lookup into common geospatial formats: PostGIS tables, shapefiles, geojson and topojson.
You can view the file here, and download the file here.
You can load it into R with the following command:
df <- read.csv("https://raw.githubusercontent.com/moj-analytical-services/lookup_hmcts_regions/master/lad_hmcts_region_lookup.csv", stringsAsFactors = FALSE)
You can load into Python with the following commands:
import pandas as pd
df = pd.read_csv(https://raw.githubusercontent.com/moj-analytical-services/lookup_hmcts_regions/master/lad_hmcts_region_lookup.csv")
The DaSH team maintains this repository. See the commit history to identify the current maintainer.
Please refer to the most recent pull requests to see the latest changes to the lookup, and why the changes were made.