seoulTubeCount: data.seoul.go.kr, count bus passenger.

Description Usage Arguments Examples

View source: R/seoulTubeCount.R

Description

seoulTubeCount function import the number of passenger by subway stations for a day.

Usage

1
seoulTubeCount(key, day = gsub("-", "", Sys.Date() - 4))

Arguments

key

character value. API key issued from <www.data.go.kr>. no default.

day

character value. day value of YYYYMMDD type. Default is set -5 days

Examples

1
2
3
4
 key <- 'your key issued from data.seoul.go.kr'

 # example.
 data <- seoulTubeCount(key, day = gsub('-', '', Sys.Date()-4))

lawine90/datagokR documentation built on Sept. 24, 2020, 9:42 p.m.