data-raw/load-gtfs_nyc_subway.R

library(downloader)
nyc_subway_url <- "http://web.mta.info/developers/data/nyct/subway/google_transit.zip"

download("http://web.mta.info/developers/data/nyct/subway/google_transit.zip",
         here::here("inst/extdata/google_transit_nyc_subway.zip"), mode = "wb")
r-transit/tidytransit documentation built on Oct. 19, 2024, 3:17 a.m.