| otp_write_config {opentripplanner} | R Documentation |
Write config object as json file
Description
Takes a config list produced by 'otp_make_config()' and saves it as json file for OTP
Usage
otp_write_config(config, dir = NULL, router = "default")
Arguments
config |
A named list made/modified from 'otp_make_config()' |
dir |
Path to folder where data for OTP is to be stored |
router |
name of the router, default is "default", must be a subfolder of dir/graphs |
See Also
Other setup:
otp_build_graph(),
otp_check_java(),
otp_check_version(),
otp_dl_demo(),
otp_dl_jar(),
otp_make_config(),
otp_setup(),
otp_stop(),
otp_validate_config()
Examples
## Not run:
conf <- otp_make_config("build")
otp_write_config(conf, dir = tempdir())
## End(Not run)
[Package opentripplanner version 0.5.2 Index]