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

get_pct_lines(
  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

# \donttest{ # don't test to reduce build times l = get_pct_lines("isle-of-wight") plot(l)
#> Warning: plotting the first 9 out of 141 attributes; use max.plot = 141 to plot all
# }