ltns: Download data on 'Low Traffic Neighbourhoods' or 'rat runs'...

Description Usage Arguments Examples

View source: R/ltn.R

Description

R interface to the CycleStreets.net LTN. See ltn API docs and an article on the methods for further details: https://www.cyclestreets.org/news/2021/07/25/mapping-ltns/

Usage

1
ltns(bb, pat = Sys.getenv("CYCLESTREETS"))

Arguments

bb

An sf or 'bounding box' like object

pat

The API key used. By default this uses Sys.getenv("CYCLESTREETS").

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
bb <- "0.101131,52.195807,0.170288,52.209719"
ltn_data <- ltns(bb)
plot(ltn_data)
bb <- stplanr::routes_fast_sf
ltn_data <- ltns(bb)
plot(ltn_data)

## End(Not run)

cyclestreets documentation built on Jan. 5, 2022, 1:07 a.m.