Skip to contents

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

Examples

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