gtfs_compress: Reduce file size of a GTFS object

View source: R/gtfs_compress.R

gtfs_compressR Documentation

Reduce file size of a GTFS object

Description

Reduce file size of a GTFS object

Usage

gtfs_compress(gtfs)

Arguments

gtfs

a gtfs object

Details

by default UK2GTFS tries to preserve id numbers during the conversion process to allow back comparisons to the original files, e.g. 'transxchange2gtfs()' retains stop ids from the NAPTAN. However this means files sizes are increased. This function replaces ids with integers and thus reduces the size of the gtfs file.

Value

a gtfs object


ITSLeeds/UK2GTFS documentation built on Feb. 14, 2025, 11:20 a.m.