otp_make_config: Make Config Object

View source: R/otp-config.R

otp_make_configR Documentation

Make Config Object

Description

OTP can be configured using three json files 'otp-config.json', 'build-config.json', and 'router-config.json'. This function creates a named list for each config file and populates the defaults values.

Usage

otp_make_config(type, version = 1)

Arguments

type

Which type of config file to create, "otp", "build", "router"

version

version of OPT e.g. 1 or 2

Details

For more details see: http://docs.opentripplanner.org/en/latest/Configuration

See Also

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

Examples

{
  conf <- otp_make_config("build")
  conf <- otp_make_config("router")
}

ropensci/opentripplanner documentation built on Aug. 5, 2024, 9:58 p.m.