StopTimes2POSIXct: Converts a Stoptimes column to POSIXct

Description Usage Arguments Details Value Warning References See Also

View source: R/StopTimes2POSIXct.R

Description

Convert a date time column from the GTFS stop_times table to POSIXct for comparison with SIRI data. used inside of organizeStoptimes

Usage

1
StopTimes2POSIXct(column, SIRIref)

Arguments

column

the column to reshape

SIRIref

a SIRI reference table from which to get the date

Details

The function is intended to work with a SIRI reference table containing only date. the function is a part of organizeStopTimes inside STG and should not be used on it's own. it is also interchangeable with lowmemST2POSIX for advanced user with machines low on memory.

Value

A vector of POSIXct values in "%Y-%m-%d %H:%M:%S" format.

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 organizeStopTimes, lowmemST2POSIX


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