Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

otp_validate_config

Validate Config Object


Description

Checks if the list of OTP configuration options is valid

Usage

otp_validate_config(config, type = attributes(config)$config_type)

Arguments

config

A named list made/modified from 'otp_make_config()'

type

type of config file

Details

Performs basic validity checks on class, max/min values etc as appropriate, some of more complex parameters are not checked. For more details see:

http://docs.opentripplanner.org/en/latest/Configuration http://dev.opentripplanner.org/javadoc/1.3.0/org/opentripplanner/routing/core/RoutingRequest.html

See Also

Examples

## Not run: 
conf <- otp_make_config("build")
otp_validate_config(conf)

## End(Not run)

opentripplanner

Setup and connect to 'OpenTripPlanner'

v0.3.1
GPL-3
Authors
Malcolm Morgan [aut, cre] (<https://orcid.org/0000-0002-9488-9183>), Marcus Young [aut] (<https://orcid.org/0000-0003-4627-1116>), Robin Lovelace [aut] (<https://orcid.org/0000-0001-5679-6536>), Layik Hama [ctb] (<https://orcid.org/0000-0003-1912-4890>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.