Learn R Programming

tidytransit (version 0.7.1)

shape_route_service: Join the shapes, trips and routes tables together - also checks on some potential errors in the data and warns accordingly

Description

Join the shapes, trips and routes tables together - also checks on some potential errors in the data and warns accordingly

Usage

shape_route_service(gtfs_obj, route_ids = NULL, service_ids = NULL)

Arguments

gtfs_obj

a gtfs object

route_ids

the routes for which to join the tables together - required, but not sure why this can't just be any/all routes in routes_df

service_ids
  • an optional filter for a certain service-default NULL

Value

shapes_routes_service - a dataframe in which routes, services, and shape_ids are all joined