get_pct_rnet: Get road network results from the PCT

Description Usage Arguments Examples

View source: R/get_pct.R

Description

Wrapper around [get_pct()] that gets centroid data from the PCT.

Usage

1
2
3
4
5
6
get_pct_rnet(
  region = NULL,
  purpose = "commute",
  geography = "lsoa",
  extension = ".geojson"
)

Arguments

region

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.

purpose

Trip purpose (typically school or commute)

geography

Geographic resolution of outputs, msoa or lsoa (the default)

extension

The type of file to download (only .geojson supported at present)

Examples

1
2
3
# don't test to reduce build times
rnet =  get_pct_rnet("isle-of-wight")
plot(rnet)

pct documentation built on April 6, 2021, 1:06 a.m.