otp_dl_demo | R Documentation |
Download the demonstration data for the Isle of Wight
otp_dl_demo( path_data = NULL, url = paste0("https://github.com/ropensci/opentripplanner/", "releases/download/0.1/isle-of-wight-demo.zip"), quiet = FALSE )
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 |
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()
## Not run: otp_dl_demo(tempdir()) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.