Read, Validate, Analyze, and Map GTFS Feeds
Overview
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/.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 48 (15 internal)
- Examples that run
- 42%8 run in a plain check · 5 only when donttest examples are enabled (R CMD check --as-cran) · 6 never run
- Exported functions with examples
- 61%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 85%
- Median days to close, 50 most recently updated closed issues
- 21
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
9 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/r-transit/tidytransit on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-14 · The repository has a site deploy workflow
pkgdown site last built 2026-10-14
Show all practicesHide 2 practices
Dependencies
Installing tidytransit adds 32 packages (23 with compiled code, 32 MB of source tarballs). Heaviest: sf 9.3 MB, data.table 5.7 MB, s2 2.8 MB.
Code & Tests
Datasets
People & History
Show 6 more contributorsHide 6 contributors
Previously maintained by Tom Buckley (0.2.3 to 1.0.0).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.8.0Latest
- 1.7.12025-08-21 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.7.02024-10-18 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.6.12023-12-07 · diff ↗
- 1.6.0
- 1.5.12023-05-01 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.5.0
- 1.4.12023-02-01 · diff ↗
- 1.4
- 1.3.12022-05-20 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.3.02022-01-31 · diff ↗ ·
added 4 exports
cluster_stops, empty_strings_to_na, stop_distances, stop_group_distances
Show 29 earlier eventsHide 29 earlier events
- 1.2.0
- unarchivedReturned to CRAN2021-07-26
- 1.1.02021-07-26 · diff ↗ ·
removed 1 export
count_service_tripsadded 6 exports
filter_feed_by_area, filter_feed_by_date, filter_feed_by_stops, filter_feed_by_trips, gtfs_transform, sf_as_tbl - archivedRemoved from CRAN2021-07-02check problems were not corrected in time
- RR 4.1.0 released · 2021-05-18
- 1.0.02021-05-10 · diff ↗ ·
removed 3 exports
get_route_frequency, set_date_service_table, set_hms_timesadded 1 export
write_gtfs - 0.7.3
- 0.7.22020-12-04 · diff ↗
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2020-04-17
- 0.7.12020-04-17 · diff ↗
- archivedRemoved from CRAN2020-04-03check problems were not corrected in time Errors in '\donttest' parts of examples
- 0.7.02020-03-15 · diff ↗
- 0.6.12019-11-06 · diff ↗ ·
removed 1 export
get_stop_geometryadded 3 exports
get_trip_geometry, shapes_as_sf, stops_as_sf - 0.62019-10-14 · diff ↗
- 0.5.22019-08-25 · diff ↗
- 0.5.12019-06-29 · diff ↗
- 0.5.02019-05-20 · diff ↗ ·
removed 3 exports
import_gtfs, routes_df_as_sf, stops_df_as_sfadded 4 exports
filter_stop_times, raptor, travel_times, write_gtfs - RR 3.6.0 released · 2019-04-26
- 0.4.02019-04-16 · diff ↗ ·
removed 1 export
get_date_service_tableadded 3 exports
set_date_service_table, set_hms_times, set_servicepattern - 0.3.8
- 0.3.62019-02-04 · diff ↗
- 0.3.52018-10-28 · diff ↗
- 0.3.4
- 0.3.22018-09-03 · diff ↗
- 0.3.12018-09-02 · diff ↗
- 0.3.02018-09-02 · diff ↗ ·
removed 2 exports
route_frequency, stop_frequencyadded 3 exports
get_route_frequency, get_stop_frequency, read_gtfs - 0.2.32018-08-05
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-08-05
- Total releases
- 32 / 8 yrs
- License
- GPL
- Minimum R
- ≥ 3.6.0
- Bundled data
- 152 KB / 2 files
- Download size
- 3.4 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tidytransit")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.