read_sf | R Documentation |
read_sf
downloads boundaries from the ONS Open Geography Portal.
read_sf( geog, year = 2021, nations = c("E", "S", "W", "N"), type = "BGC", crs = 4326 )
geog |
Type of boundaries Administrative Boundaries available: - Countries/Nations ( - Regions (England ONLY) ( - Upper Tier Local Authorities ( - Lower Tier Local Authorities ( Census Boundaries available: - Output Area ( - Lower Super Output Area ( - Middle Super Output Area ( Electoral Boundaries available: - Westminster Parliamentary Constituencies ( - European Union Parliamentary Constituencies ( - Welsh Assembly Constituencies ( - Welsh Assembly Regions ( Eurostat NUTS Boundaries available: - NUTS Level 1 ( - NUTS Level 2 ( - NUTS Level 3 ( |
year |
Year (use |
nations |
For which UK nations ( |
type |
Boundary clipping - - - - |
crs |
Coordinate Reference System (ESPG). It is recommend to use |
Output is a simple feature sf
object containing the relevant boundaries.
read_sf("NAT") read_sf("MSOA", year = 2011) read_sf("EU", year = 2018, type = "BFC") read_sf("NUTS1", year = 2018, nations = "E") ## Not run: read_sf("UTLA", nations = c("E","W")) read_elec("WM") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.