Creating, Exploring, and Manipulating GTFS Files
Overview
Creating, exploring, analyzing, and manipulating General Transit Feed Specification (GTFS) files, which represent public transportation schedules and geographic data. The package allows users to filter data by routes, trips, stops, service dates, and time, generate spatial visualizations, and perform detailed analyses of transit networks, including headway, dwell times, route frequencies, service span, scheduled vehicle-hours, and trip duration. Methods follow common public transport planning and operation concepts described in Ceder (2007, ISBN:978-0-7506-6166-6), Vuchic (2005, ISBN:978-0-471-63265-8), Vuchic (2007, ISBN:978-0-471-75823-5), Cascetta (2009) doi:10.1007/978-0-387-75857-2, and Gentile and Noekel (2016) doi:10.1007/978-3-319-25082-3.
- Refreshed the README figures and package website from the current plotting code, and added a reproducible figure-generation script for maintainers.
- Improved the year-faceted service calendar for dense feeds and retained the supplied object name in the
explore_gtfs()dashboard. - Organized the package website by workflow, added task-based function reference sections, and added vignettes for getting started, service analysis, filtering and editing, and the interactive dashboard.
- Standardized public method values with underscores:
by_trip,by_route,by_hour,by_stop, andby_shape. Legacy dotted values remain accepted. - Standardized public argument names including
file_path,gtfs_x,gtfs_y,max_dwelltime, andmin_length, with compatibility aliases for previous names.
Show all changes in 1.2.1Hide the rest of the changes in 1.2.1
- Improved
tidy_raptor()validation, transfer handling, date selection, and output column names. - Added planning indicators to
explore_gtfs(), including scheduled headway, commercial speed, service span, vehicle-hours, peak fleet, stop spacing, and route connectivity. - Calendar and service-pattern summaries now represent dates with no active service explicitly: trip counts are
0, and the service pattern is labeled"No service".
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK6 OK2026-06-23
Documentation
- Help pages
- 44 (1 internal)includes a package overview page
- Examples that run
- 100%42 run in a plain check (1 of them under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- 92%
- Return-value docs
- 100%
- Help pages citing references
- 27%
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- 227
- Median days to close, 50 most recently updated closed PRs
- 56
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/opatp/gtfswizard on 2026-10-22.
Dependencies
Code & Tests
Datasets
People & History
Maintainer since 1.0.0 (2024)
Pick two releases to compare their code metrics.
- 1.2.1Latest
- unarchivedReturned to CRAN2026-06-22
- 1.2.0first seen 2026-06-22 · diff ↗ ·
added 5 exports
create_gtfs, plot_routeduration, plot_serviceheatmap, plot_servicespan, plot_servicesupply - RR 4.6.0 released · 2026-04-24
- archivedRemoved from CRAN2025-09-09requires archived package 'hrbrthemes'
- RR 4.5.0 released · 2025-04-11
- 1.1.02025-03-15 · diff ↗ ·
added 10 exports
edit_dwelltime, edit_speed, get_1stdeparture, get_corridor, get_hubs, latlon2epsg, plot_corridor, plot_hubs, set_dwelltime, tidy_raptor - 1.0.02024-11-11
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-11-11
- Total releases
- 4 / 2 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 2.2 MB / 2 files
- Download size
- 2.4 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("GTFSwizard")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.32614/cran.package.gtfswizard.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.