get_pct_routes_fast: Get fast road network results from the PCT

View source: R/get_pct.R

get_pct_routes_fastR Documentation

Get fast road network results from the PCT

Description

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

Usage

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

## Not run: 
# don't test to reduce build times
rf = get_pct_routes_fast("isle-of-wight")
plot(rf)

## End(Not run)

pct documentation built on May 31, 2023, 7:55 p.m.