General Transit Feed Specification (GTFS) Editing and Analysing Tools

Utility functions to read, manipulate, analyse and write transit feeds in the General Transit Feed Specification (GTFS) data format.


gtfstools logo

CRANstatus gtfstools statusbadge Bstatus Codecov testcoverage Lifecycle:experimental CRAN/METACRAN Totaldownloads

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

Installation

Stable version:

install.packages("gtfstools")

Development version:

# either
install.packages("gtfstools", repos = "https://dhersz.r-universe.dev")

# or
# install.packages("remotes")
remotes::install_github("ipeaGIT/gtfstools")

This package requires a working installation of {sf}. Please check this link for more information on how to install it.

Usage

Please read gtfstools vignettes for more on the package usage:

  • Basic usage: reading, analysing, manipulating and writing feeds. Run vignette("gtfstools") or check it on the website (Introduction to gtfstools).
  • Filtering GTFS feeds. Run vignette("filtering", package = "gtfstools") or check it on the website (Filtering GTFS feeds).
  • Validating GTFS feeds. Run vignette("validating", package = "gtfstools") or check it on the website (Validating GTFS feeds).

Related packages

Acknowledgement IPEA

gtfstools is developed by a team at the Institute for Applied Economic Research (Ipea), Brazil.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gtfstools")

1.4.0 by Daniel Herszenhut, 2 years ago


https://ipeagit.github.io/gtfstools/, https://github.com/ipeaGIT/gtfstools


Report a bug at https://github.com/ipeaGIT/gtfstools/issues


Browse source code at https://github.com/cran/gtfstools


Authors: Daniel Herszenhut [aut, cre] , Rafael H. M. Pereira [aut] , Pedro R. Andrade [aut] , Joao Bazzo [aut] , Mark Padgham [ctb] , Marcus Saraiva [ctb] , Ipea - Institute for Applied Economic Research [cph, fnd]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports checkmate, cli, curl, data.table, gtfsio, parallelly, processx, sf, sfheaders, units, utils, zip

Suggests covr, ggplot2, jsonlite, knitr, rmarkdown, testthat

Linking to cpp11


Imported by GTFShift, gtfs2gps.

Suggested by GTFSwizard, gtfs2emis, r5r.


See at CRAN