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")
}

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