getlaststops: Create a stops table for makexmlsiri

Description Usage Arguments Details Value See Also

View source: R/getlaststops.R

Description

Creates a

Usage

1
getlaststops(GTFSroutes., GTFStrips., GTFSstop_times., GTFSstops.)

Arguments

GTFSroutes.

A GTFS routes table, best load into environment with readGTFS

GTFStrips.

A GTFS trips table, best load into environment with readGTFS

GTFSstop_times.

A GTFS stop_times table, best load into environment with readGTFS

GTFSstops.

A GTFS stops table, best load into environment with readGTFS

Details

Uses SQL within R to create a table containing each unique route_id in the GTFS provided, for each route, it's shape_id and the stop_code and stop_id of the last stop in that shape. usefull for the creation of XML files using makexmlsiri

Value

A data.frame containing for each unique route_id in the GTFS tables it's shape_id and the stop_id and stop_code of the last stop in that shape

See Also

SIRItoGTFS, makexmlsiri


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