otp_dl_demo: Download Demo Data

View source: R/otp-download.R

otp_dl_demoR Documentation

Download Demo Data

Description

Download the demonstration data for the Isle of Wight

Usage

otp_dl_demo(
  path_data = NULL,
  url = paste0("https://github.com/ropensci/opentripplanner/",
    "releases/download/0.1/isle-of-wight-demo.zip"),
  quiet = FALSE
)

Arguments

path_data

path to folder where data for OTP is to be stored

url

URL to data

quiet

logical, passed to download.file, default FALSE

See Also

Other setup: otp_build_graph(), otp_check_java(), otp_check_version(), otp_dl_jar(), otp_make_config(), otp_setup(), otp_stop(), otp_validate_config(), otp_write_config()

Examples

## Not run: 
otp_dl_demo(tempdir())

## End(Not run)

opentripplanner documentation built on Feb. 16, 2023, 8:10 p.m.