Description Usage Arguments Value Author(s) Source Examples
Download data from traffic data counters
1 2 3 4 5 6 | get_traffic_count(
data.url = NULL,
use.sf = FALSE,
vehicle.type = "J",
direction = "K"
)
|
data.url |
Option to input own url |
use.sf |
Return an sf object. Default is FALSE |
vehicle.type |
Select data from certain traffic sensors: "A" (cars), "J" (pedestrians) or "P" (bicycles) |
direction |
Traffic to ("K") or from ("P") city centre |
data.frame or sf object
Pyry Kantanen
Source: Turku region public transport's transit and timetable data. The administrator of data is Turku region public transport. Dataset is downloaded from http://data.foli.fi/ using the license Creative Commons Attribution 4.0 International (CC BY 4.0).
See TSJL - transit API and FÖLLÄRI - Kaupunkipyörät for additional information.
1 | follari_stations <- get_traffic_count(vehicle.type = "A", direction = "K")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.