gtfs_split: Split a GTFS object

View source: R/gtfs_split.R

gtfs_splitR Documentation

Split a GTFS object

Description

For large regions GTFS files can get very big. This function splits a GTFS object into a list of GTFS objects. It tries to balance the sizes of the objects. Splits are made by agency_id so maximum number of splits equals the number of unique agency_ids.

Usage

gtfs_split(gtfs, n_split = 2)

Arguments

gtfs

a gtfs object

n_split

how many to split into default 2

Value

a list of GTFS objects


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