gtfs_download: Downloads and unzips GTFS files

Description Usage Arguments Examples

View source: R/gtfs_download.R

Description

Downloads and unzips GTFS files

Usage

1

Arguments

url

URL of the GTFS zip file

dir

Path to destination directory

Examples

1
2
3
4
5
6
7
## Not run: 
url = "ftp://199.203.58.18/israel-public-transportation.zip"
dir = "/home/michael/Downloads/gtfs_test"
gtfs_download(url, dir)
list.files(dir)

## End(Not run)

michaeldorman/geobgu documentation built on Jan. 6, 2021, 3:57 p.m.