
gtfstools offers a set of convenient tools for
editing and analysing transit feeds in GTFS format. Feeds are read as a
list of data.tables, allowing for easy and
fast data manipulation. Many of this package’s features are based on
functions from other packages, especially {tidytransit}
and {gtfs2gps}.
Stable version:
install.packages("gtfstools")Development version:
# either
install.packages("gtfstools", repos = "https://dhersz.r-universe.dev")
# or
# install.packages("remotes")
remotes::install_github("ipea/gtfstools")This package requires a working installation of {sf}. Please
check this link
for more information on how to install it.
Please read gtfstools vignettes for more on the package usage:
vignette("gtfstools") or check it on the website (Introduction
to gtfstools).vignette("filtering", package = "gtfstools") or check it on
the website (Filtering
GTFS feeds).vignette("editing", package = "gtfstools") or check it on
the website (Editing
GTFS feeds).vignette("querying", package = "gtfstools") or check it on
the website (Querying
GTFS feeds).vignette("mapping", package = "gtfstools") or check it on
the website (Mapping
GTFS feeds).vignette("validating", package = "gtfstools") or check it
on the website (Validating
GTFS feeds).vignette("calendar_overlap", package = "gtfstools") or
check it on the website (Checking
the calendar overlap of GTFS feeds).vignette("graphs", package = "gtfstools") or check it on
the website (Building
transit network graphs).{gtfs2gps}:
Converting public transport data from GTFS format to GPS-like
records{gtfs2emis}:
Estimating public transport emissions from GTFS data{GTFShift}:
Explore and Analyse GTFS with a Focus on Urban Mobility{tidytransit}:
Read, Validate, Analyze, and Map GTFS Feeds{croquis}:
Interactive way to create and edit GTFS feeds in R{gtfsrealtime}:
Read GTFS-Realtime Files into Data Frames{gtfsrouter}:
Routing with GTFS data{r5r}: Rapid
Realistic Routing with R5 in R
gtfstools is developed by a team at the Institute for Applied Economic Research (Ipea), Brazil.