gtfstools

General Transit Feed Specification (GTFS) Editing and Analysing Tools

OTHER License

Downloads
183
Stars
40
Committers
6

output: github_document

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

gtfstools

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

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