Description Usage Arguments Details Value Warning References See Also
Finds the nearest stop to each SIRI SpatialPoint in the SIRI SpatialPointsDataFrame. Requires both the SIRI SpatialPointsDataFrame and the GTFS stops SpatialPointsDataFrame.
1 | NearestStop(SIRIspdf, Stopsspdf)
|
SIRIspdf |
The SIRI spatialPointsDataFrame |
Stopsspdf |
GTFS Stops spatialPointsDataFrame |
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.
Adds a column containing the Nearest stop to each observation in the SIRI SpatialPointsDataFrame
Do Not use this function on it's own, it is meant to be used only as part of the STG process
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.