Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Mapping with R
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SERG
Mapping with R
Commits
e974c1e0
Commit
e974c1e0
authored
2 years ago
by
Tom Rushby
Browse files
Options
Downloads
Patches
Plain Diff
Add UoS resource drive location for Solent LA geom output.
parent
c6a0176a
No related branches found
No related tags found
1 merge request
!6
Update to include Rushmoor local authority area in Hampshire (previously missing)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
getBoundaryData.R
+9
-0
9 additions, 0 deletions
getBoundaryData.R
with
9 additions
and
0 deletions
getBoundaryData.R
+
9
−
0
View file @
e974c1e0
...
...
@@ -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 ----
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment