Wrapper around [get_pct()]
that gets centroid data from the PCT.
get_pct_centroids(
region = NULL,
purpose = "commute",
geography = "lsoa",
extension = ".geojson"
)
The PCT region or local authority to download data from (e.g. west-yorkshire
or Leeds
).
See View(pct_regions_lookup)
for a full list of possible region names.
Trip purpose (typically school
or commute
)
Geographic resolution of outputs, msoa
or lsoa
(the default)
The type of file to download (only .geojson
supported at present)
if (FALSE) {
# don't test to reduce build times
c = get_pct_centroids("isle-of-wight")
plot(c)
}