atoc2gtfs: ATOC to GTFS

Description Usage Arguments Details

View source: R/atoc.R

Description

ATOC to GTFS

Usage

1
2
atoc2gtfs(path_in, path_out, name = "gtfs", silent = TRUE,
  ncores = 1, locations = tiplocs, agency = atoc_agency)

Arguments

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

Details

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.


mem48/UK2GTFS documentation built on Sept. 23, 2019, 6:05 p.m.