NearestStop: Find the nearest stop to each SIRI SpatialPoint

Description Usage Arguments Details Value Warning References See Also

Description

Finds the nearest stop to each SIRI SpatialPoint in the SIRI SpatialPointsDataFrame. Requires both the SIRI SpatialPointsDataFrame and the GTFS stops SpatialPointsDataFrame.

Usage

1
NearestStop(SIRIspdf, Stopsspdf)

Arguments

SIRIspdf

The SIRI spatialPointsDataFrame

Stopsspdf

GTFS Stops spatialPointsDataFrame

Details

Returns the SIRI SpatialPointsDataFrame with an extra column stating which GTFS stops is closest to each observation. The function is a part of STG and should not be used on it's own.

Value

Adds a column containing the Nearest stop to each observation in the SIRI SpatialPointsDataFrame

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


SIRItoGTFS documentation built on May 2, 2019, 9:33 a.m.