Skip to content

tidytransit

1.8.0Package record

Read, Validate, Analyze, and Map GTFS Feeds

2packages dependsuggested by 2
9.1Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About

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/.

Changes in 1.8.0
  • Empty strings in txt files are always parsed as NA in read_gtfs() #229
  • raptor() and travel_times() now support in-seat transfers #225
  • Updated documentation on authenticated downloads #224
  • The parameter max_departure_time in travel_times() is no longer supported
  • Improved error handling

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.1 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.8.0
README· In the repository, left out of the releaseVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 1.8.0Citation fileNoWebsiteYes · pkgdown
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

9.1K
CRAN downloads in the past year
Rank #4,042 · ~25/day · ~759/mo
Daily download trend is not available in this view yet.
90130 days
2.3K90 days
9.1K1 year
Compare downloads with other packages →
Also on167 r2u4 autocran

Repository

173Stars
22Forks
4Open issues
0Open PRs
15Releases
1,029Commits
23Commit identities
transittransit-datagtfscrantidyversetransporttransportationpublic
1,029 commits · Last activity 2026-10-14 · 0% stars, 30d · Default branch at 1.8.0.900, ahead of CRAN 1.8.0 (checked 2026-10-22) · Discussions: 4 posts
Responsiveness
How these are sampled
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

2025-08-09 · 1542026-09-24 · 173
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Contributing guide
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-10-14 · The repository has a site deploy workflow

pkgdown site last built 2026-10-14

Coverage (1)
Coverage reporting
Show all practicesHide 2 practices
Reproducibility and dev environment (1)
data-raw/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.6.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (19)
Author, Maintainer since 1.1.0 (2021) · added in 0.3.0
Author · added in 0.7.3
Author · added in 0.3.0
Contributor · added in 0.3.0
Contributor · added in 0.7.0
Contributor · added in 0.6.1
Contributor · added in 0.3.0
Contributor
Contributor · added in 1.6.1
Contributor · added in 0.3.0
Contributor · added in 1.6.1
Show 6 more contributorsHide 6 contributors
Contributor · added in 0.3.0
Contributor
Contributor · added in 1.6.1
Contributor · added in 0.3.0
Contributor · added in 0.3.2

Previously maintained by Tom Buckley (0.2.3 to 1.0.0).

Releases (32)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.8.0Latest
    record
    2026-01-26 · current release · diff ↗
  • 1.7.1
    record
    2025-08-21 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.7.0
    record
    2024-10-18 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.6.1
    record
    2023-12-07 · diff ↗
  • 1.6.0
    record
    2023-06-23 · diff ↗ ·
    added 1 export
    interpolate_stop_times
  • 1.5.1
    record
    2023-05-01 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.5.0
    record
    2023-03-10 · diff ↗ ·
    added 1 export
    as_tidygtfs
  • 1.4.1
    record
    2023-02-01 · diff ↗
  • 1.4
    record
    2022-08-26 · diff ↗ ·
    removed 2 exports
    get_feedlist, set_api_key
    added 1 export
    na_to_empty_strings
  • 1.3.1
    record
    2022-05-20 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.3.0
    record
    2022-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
    record
    2021-11-23 · diff ↗ ·
    added 1 export
    get_route_frequency
  • unarchivedReturned to CRAN
    2021-07-26
  • 1.1.0
    record
    2021-07-26 · diff ↗ ·
    removed 1 export
    count_service_trips
    added 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 CRAN
    2021-07-02
    check problems were not corrected in time
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.0
    record
    2021-05-10 · diff ↗ ·
    removed 3 exports
    get_route_frequency, set_date_service_table, set_hms_times
    added 1 export
    write_gtfs
  • 0.7.3
    record
    2021-02-28 · diff ↗ ·
    removed 1 export
    write_gtfs
    added 1 export
    validate_gtfs
  • 0.7.2
    record
    2020-12-04 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • unarchivedReturned to CRAN
    2020-04-17
  • 0.7.1
    record
    2020-04-17 · diff ↗
  • archivedRemoved from CRAN
    2020-04-03
    check problems were not corrected in time Errors in '\donttest' parts of examples
  • 0.7.0
    record
    2020-03-15 · diff ↗
  • 0.6.1
    record
    2019-11-06 · diff ↗ ·
    removed 1 export
    get_stop_geometry
    added 3 exports
    get_trip_geometry, shapes_as_sf, stops_as_sf
  • 0.6
    record
    2019-10-14 · diff ↗
  • 0.5.2
    record
    2019-08-25 · diff ↗
  • 0.5.1
    record
    2019-06-29 · diff ↗
  • 0.5.0
    record
    2019-05-20 · diff ↗ ·
    removed 3 exports
    import_gtfs, routes_df_as_sf, stops_df_as_sf
    added 4 exports
    filter_stop_times, raptor, travel_times, write_gtfs
  • R
    R 3.6.0 released · 2019-04-26
  • 0.4.0
    record
    2019-04-16 · diff ↗ ·
    removed 1 export
    get_date_service_table
    added 3 exports
    set_date_service_table, set_hms_times, set_servicepattern
  • 0.3.8
    record
    2019-03-04 · diff ↗ ·
    added 2 exports
    get_route_geometry, get_stop_geometry
  • 0.3.6
    record
    2019-02-04 · diff ↗
  • 0.3.5
    record
    2018-10-28 · diff ↗
  • 0.3.4
    record
    2018-09-30 · diff ↗ ·
    added 2 exports
    filter_stops, get_date_service_table
  • 0.3.2
    record
    2018-09-03 · diff ↗
  • 0.3.1
    record
    2018-09-02 · diff ↗
  • 0.3.0
    record
    2018-09-02 · diff ↗ ·
    removed 2 exports
    route_frequency, stop_frequency
    added 3 exports
    get_route_frequency, get_stop_frequency, read_gtfs
  • 0.2.3
    record
    2018-08-05
  • R
    R 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")
Poletti, F., Buckley, T., Hausmann, P., Herszenhut, D., Kapp, A., Lamb, J., Li, A., McVey, E., Müller, K., Noriega-Goodwin, D., Padgham, M., Rudis, B., Rymarczyk, R., Smith, K., Sumner, M., Thompson, C. H., Vaughan, D., Vautin, D., & Walker, K. (2026). tidytransit: Read, Validate, Analyze, and Map GTFS Feeds (Version 1.8.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for tidytransit version 1.8.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy