get_traffic_count: Turku traffic counter data

Description Usage Arguments Value Author(s) Source Examples

View source: R/services.R

Description

Download data from traffic data counters

Usage

1
2
3
4
5
6
get_traffic_count(
  data.url = NULL,
  use.sf = FALSE,
  vehicle.type = "J",
  direction = "K"
)

Arguments

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

Value

data.frame or sf object

Author(s)

Pyry Kantanen

Source

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.

Examples

1
follari_stations <- get_traffic_count(vehicle.type = "A", direction = "K")

pitkant/turku documentation built on Dec. 22, 2021, 8:45 a.m.