Skip to content

gtfstools

1.4.0Package record

General Transit Feed Specification (GTFS) Editing and Analysing Tools

2packages dependsuggested by 3
8Kdownloads / year
91.0%test coverage
13/13flavors OK

Overview

About
Maintained by Daniel HerszenhutCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funder: Ipea - Institute for Applied Economic Research

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

Changes in 1.4.0

New features

  • download_validator() and validate_gtfs() now support using validator v5.0.0, v5.0.1 and v6.0.0.

Notes

  • Removed the local copies of {cpp11} functions, as the most recent releases fix the issues we were having.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.4.0
READMEYes · 187 wordsVignettesYes · 3 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 1.4.0Citation fileNoWebsiteYes · pkgdown
Help pages
42 (10 internal)includes a package overview page
Examples that run
100%32 run in a plain check (2 of them under a condition)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

8K
CRAN downloads in the past year
Rank #4,531 · ~22/day · ~669/mo
Daily download trend is not available in this view yet.
72730 days
1.8K90 days
8K1 year
Compare downloads with other packages →
Also on429 r2u8 autocran93 c2d4u

Repository

Moved from ipeagit/gtfstools.

55Stars
11Forks
5Open issues
0Open PRs
6Releases
589Commits
9Commit identities
rgtfspublic-transportpublictransport
589 commits · Last activity 2026-10-19 · +10% stars, 30d · Default branch at 1.4.0.9000, ahead of CRAN 1.4.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
92%
Median days to close, 50 most recently updated closed issues
147
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-15 · 452026-10-14 · 55
PracticesBeta

12 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/ipeagit/gtfstools on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-14 · The repository has a site deploy workflow

pkgdown site last built 2025-01-09

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 3 practices
Research and citation (1)
codemeta.json
Automation and maintenance (1)
pre-commit
Lint, format, editor (2)
lintrRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-05-15
    Seen in the repository: .claude, CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude
    Pull request it wrote: opened by a project member
    Commits: at least 66 crediting it in the message
Models named in its commits
  • Claude Opus 5.566 commits · Oct 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing gtfstools adds 25 packages (21 with compiled code, 28 MB of source tarballs). Heaviest: sf 9.3 MB, data.table 5.7 MB, s2 2.8 MB.

Depends (1)
R >= 2.10
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
2direct
1indirect
Imports 2
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (7)
Author, Maintainer since 0.1.0 (2021)
Author · added in 1.0.0
Author · added in 1.0.0
Author · added in 1.0.0
Contributor · added in 1.0.0
Contributor · added in 1.1.0
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.4.0Latest
    record
    2025-01-09 · current release · diff ↗
  • unarchivedReturned to CRAN
    2024-10-07
  • 1.3.0
    record
    2024-10-07 · diff ↗ ·
    added 3 exports
    as_dt_gtfs, convert_sf_to_shapes, filter_by_spatial_extent
  • archivedRemoved from CRAN
    2024-09-01
    issues were not corrected in time
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.0
    record
    2022-11-24 · diff ↗ ·
    added 1 export
    download_validator
  • 1.1.0
    record
    2022-05-25 · diff ↗ ·
    added 9 exports
    convert_time_to_seconds, filter_by_agency_id, filter_by_service_id, filter_by_time_of_day, filter_by_weekday, frequencies_to_stop_times, get_children_stops, get_stop_times_patterns, get_trip_length
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    record
    2021-11-16 · diff ↗ ·
    added 10 exports
    convert_shapes_to_sf, convert_stops_to_sf, filter_by_route_id, filter_by_route_type, filter_by_sf, filter_by_shape_id, filter_by_stop_id, filter_by_trip_id, get_parent_station, remove_duplicates
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.0
    record
    2021-02-23
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-02-23
Total releases
6 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.10
Download size
1.1 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gtfstools")
Herszenhut, D., Ipea - Institute for Applied Economic Research, Andrade, P. R., Bazzo, J., Padgham, M., Pereira, R. H. M., & Saraiva, M. (2025). gtfstools: General Transit Feed Specification (GTFS) Editing and Analysing Tools (Version 1.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.gtfstools

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for gtfstools version 1.4.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy