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:

Citation

citation("gtfstools")
#> 
#> To cite gtfstools in publications use:
#> 
#>   Daniel Herszenhut, Rafael H. M. Pereira, Pedro R.
#>   Andrade & Joao Bazzo. (2022, May). gtfstools:
#>   General Transit Feed Specification (GTFS) Editing
#>   and Analysing Tools (Version v1.1.0). Zenodo.
#>   http://doi.org/10.5281/zenodo.6577028
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Manual{,
#>     title = {gtfstools: General Transit Feed Specification (GTFS) Editing and Analysing Tools},
#>     author = {Daniel Herszenhut and Rafael H. M. Pereira and Pedro R. Andrade and Joao Bazzo},
#>     month = {may},
#>     year = {2022},
#>     publisher = {Zenodo},
#>     version = {v1.1.0},
#>     doi = {10.5281/zenodo.6577028},
#>     url = {https://doi.org/10.5281/zenodo.6577028},
#>   }

Acknowledgement IPEA

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