Package: tidytransit 1.7.0

Flavio Poletti

tidytransit: Read, Validate, Analyze, and Map GTFS Feeds

Read General Transit Feed Specification (GTFS) zipfiles into a list of R dataframes. Perform validation of the data structure against the specification. Analyze the headways and frequencies at routes and stops. Create maps and perform spatial analysis on the routes and stops. Please see the GTFS documentation here for more detail: <https://gtfs.org/>.

Authors:Flavio Poletti [aut, cre], Daniel Herszenhut [aut], Mark Padgham [aut], Tom Buckley [aut], Danton Noriega-Goodwin [aut], Angela Li [ctb], Elaine McVey [ctb], Charles Hans Thompson [ctb], Michael Sumner [ctb], Patrick Hausmann [ctb], Bob Rudis [ctb], James Lamb [ctb], Alexandra Kapp [ctb], Kearey Smith [ctb], Dave Vautin [ctb], Kyle Walker [ctb], Davis Vaughan [ctb], Ryan Rymarczyk [ctb], Kirill Müller [ctb]

tidytransit_1.7.0.tar.gz
tidytransit_1.7.0.tar.gz(r-4.5-noble)tidytransit_1.7.0.tar.gz(r-4.4-noble)
tidytransit_1.7.0.tgz(r-4.4-emscripten)tidytransit_1.7.0.tgz(r-4.3-emscripten)
tidytransit.pdf |tidytransit.html
tidytransit/json (API)
NEWS

# Install 'tidytransit' in R:
install.packages('tidytransit', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/r-transit/tidytransit/issues

Datasets:

4.35 score 278 scripts 789 downloads 28 exports 36 dependencies

Last updated 5 days agofrom:66ffdf487e. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 19 2024
R-4.5-linuxOKOct 19 2024

Exports:as_tidygtfscluster_stopsempty_strings_to_nafilter_feed_by_areafilter_feed_by_datefilter_feed_by_stopsfilter_feed_by_tripsfilter_stop_timesfilter_stopsget_route_frequencyget_route_geometryget_stop_frequencyget_trip_geometrygtfs_as_sfgtfs_transforminterpolate_stop_timesna_to_empty_stringsraptorread_gtfsset_servicepatternsf_as_tblshapes_as_sfstop_distancesstop_group_distancesstops_as_sftravel_timesvalidate_gtfswrite_gtfs

Dependencies:classclassIntclidata.tableDBIdigestdplyre1071fansifsgenericsgeodistgluegtfsiohmsjsonliteKernSmoothlifecyclemagrittrMASSpillarpkgconfigproxyR6Rcpprlangs2sftibbletidyselectunitsutf8vctrswithrwkzip

Generate a Departure Timetable

Rendered fromtimetable.Rmdusingknitr::rmarkdownon Oct 19 2024.

Last update: 2024-10-18
Started: 2019-04-16

Introduction to tidytransit

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Oct 19 2024.

Last update: 2024-10-18
Started: 2018-09-02

Service Patterns and Calendar Schedules

Rendered fromservicepatterns.Rmdusingknitr::rmarkdownon Oct 19 2024.

Last update: 2024-10-18
Started: 2019-04-16

Transit (GTFS) Service & Headway Mapping with R

Rendered fromfrequency.Rmdusingknitr::rmarkdownon Oct 19 2024.

Last update: 2024-10-18
Started: 2019-04-16

Readme and manuals

Help Manual

Help pageTopics
Convert another gtfs like object to a tidygtfs objectas_tidygtfs
Cluster nearby stops within a groupcluster_stops
Convert empty strings ("") to NA values in all gtfs tablesempty_strings_to_na
Filter a gtfs feed so that it only contains trips that pass a given areafilter_feed_by_area
Filter a gtfs feed so that it only contains trips running on a given datefilter_feed_by_date
Filter a gtfs feed so that it only contains trips that pass the given stopsfilter_feed_by_stops
Filter a gtfs feed so that it only contains a given set of tripsfilter_feed_by_trips
Filter a 'stop_times' table for a given date and timespan.filter_stop_times
Get a set of stops for a given set of service ids and route idsfilter_stops
Get Route Frequencyget_route_frequency
Get all trip shapes for a given route and serviceget_route_geometry
Get Stop Frequencyget_stop_frequency
Get all trip shapes for given trip idsget_trip_geometry
Convert stops and shapes to Simple Featuresgtfs_as_sf
Example GTFS datagtfs_duke
Transform coordinates of a gtfs feedgtfs_transform
Interpolate missing stop_times linearlyinterpolate_stop_times
Convert NA values to empty strings ("")na_to_empty_strings
Plot GTFS stops and tripsplot.tidygtfs
Print a GTFS objectprint.tidygtfs
Calculate travel times from one stop to all reachable stopsraptor
Read and validate GTFS filesread_gtfs
Dataframe of route type id's and the names of the types (e.g. "Bus")route_type_names
Calculate service pattern ids for a GTFS feedset_servicepattern
Convert stops and shapes from sf objects to tibblessf_as_tbl
Convert shapes into Simple Features Linestringsshapes_as_sf
Calculate distances between a given set of stopsstop_distances
Calculates distances among stop within the same group columnstop_group_distances
Convert stops into Simple Features Pointsstops_as_sf
GTFS feed summarysummary.tidygtfs
Calculate shortest travel times from a stop to all reachable stopstravel_times
Validate GTFS feedvalidate_gtfs
Write a tidygtfs object to a zip filewrite_gtfs