substoptimes: Subset the stop_times table

Description Usage Arguments Details Value Warning References See Also

View source: R/substoptimes.R

Description

Creates a simple subset of the GTFS to reference the SIRI data frame

Usage

1
substoptimes(SIRIdf, GTFSstop_times., GTFSroutes., GTFStrips., GTFScalendar.)

Arguments

SIRIdf

A SIRI data.frame to use as reference

GTFSstop_times.

The Stop times table from the GTFS, default name is GTFSstop_times

GTFSroutes.

The Routes table from the GTFS, default name is GTFSroutes

GTFStrips.

The trips table from the GTFS, default name is GTFStrips

GTFScalendar.

The Calendar table from the GTFS, default name is TFScalendar

Details

creates a smaller subset of the GTFS stop_times table to use in further analysis of the SIRI data. the function is a part of STG and should not be used on it's own.

Value

A data.frame with the exact same columns as the GTFSstop_times table, with only the rows relevant to the SIRI data present

Warning

Do Not use this function on it's own, it is meant to be used only as part of the STG process

References

Bogin, D., Levy, N. and Ben-Elia E. (2018) Spatial and Temporal Estimation of the Service Reliability of Public Transportation Using Big Data and Open Source Tools

See Also

STG


bogind/SIRItoGTFS documentation built on March 14, 2021, 10:01 p.m.