Description Usage Arguments Details
ATOC to GTFS
1 2 | atoc2gtfs(path_in, path_out, name = "gtfs", silent = TRUE,
ncores = 1, locations = tiplocs, agency = atoc_agency)
|
path_in |
Path to ATOC File |
path_out |
Path to where GTFS files should be saved |
name |
name that should be given to the gtfs file, without the .zip extension |
silent |
Logical, should progress be shown |
ncores |
Numeric, When parallel processing how many cores to use |
locations |
deafult tiplocs object inncluded with package, or "file" or path to stops.txt GTFS file |
agency |
the GTFS agency file, default is taken from the package |
Convert ATOC Files to GTFS
Locations The .msn file contains the physical locations of stations and other TIPLOC codes (e.g. junctions). However, the quality of the locations is often poor only accurate to about 1km and occasionally very wrong. Therefore, the UK2GTFS package contains an internal dataset of the TIPLOC locations with better location accuracy.
Agency The ATOC files do not contain the necessary information to build the agency.txt file. Therfore this data is provided with the package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.