From e974c1e0c0432690ecb6f23042a467fb9f3768f5 Mon Sep 17 00:00:00 2001 From: Thomas Rushby <t.w.rushby@soton.ac.uk> Date: Mon, 23 May 2022 16:53:23 +0100 Subject: [PATCH] Add UoS resource drive location for Solent LA geom output. --- getBoundaryData.R | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/getBoundaryData.R b/getBoundaryData.R index 9dc9060..52dfdce 100644 --- a/getBoundaryData.R +++ b/getBoundaryData.R @@ -15,7 +15,16 @@ geo_query <- "https://ons-inspire.esriuk.com/arcgis/rest/services/Administrative message("Loading LA geometry from ONS Open Geography API") la_sf_data <- sf::st_read(geo_query) head(la_sf_data) + +# save it out for re-use +# two possible locations - repo or UoS resource drive + +# Repo outf <- path.expand(paste0(here::here("data", "boundaries", "la_solent.shp"))) + +# UoS resource drive +outf <- paste0(outPath, "LA_solent_2018.shp") + sf::write_sf(la_sf_data, outf) # MSOA boundaries for the Solent region ---- -- GitLab