Downloads MobilityData's command line tool to validate GTFS feeds.
download_validator(path, version = "latest", force = FALSE, quiet = TRUE)
A string. The directory where the validator should be saved to.
A string. The version of the validator that should be
downloaded. Defaults to "latest"
, but accepts version numbers as strings
(i.e. to download version v4.2.0 please enter "4.2.0"
). Please check
MobilityData/gtfs-validator releases for the
full set of available versions.
A logical. Whether to overwrite a previously downloaded
validator in path
. Defaults to FALSE
.
A logical. Whether to hide log messages and progress bars.
Defaults to TRUE
.
Invisibly returns the normalized path to the downloaded validator.
Other validation:
validate_gtfs()
path <- tempdir()
download_validator(path)
# specifying a specific version
download_validator(path, version = "4.2.0")