gtfstools

General Transit Feed Specification (GTFS) Editing and Analysing Tools

https://github.com/ipeagit/gtfstools

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.4%) to scientific vocabulary

Keywords

gtfs public-transport publictransport r

Keywords from Contributors

transport-accessibility
Last synced: 9 months ago · JSON representation

Repository

General Transit Feed Specification (GTFS) Editing and Analysing Tools

Basic Info
Statistics
  • Stars: 43
  • Watchers: 7
  • Forks: 9
  • Open Issues: 16
  • Releases: 6
Topics
gtfs public-transport publictransport r
Created over 5 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License Codemeta

README.Rmd

---
output: github_document
---

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

# gtfstools logo 

[![CRAN status](https://www.r-pkg.org/badges/version/gtfstools)](https://CRAN.R-project.org/package=gtfstools)
[![gtfstools status badge](https://dhersz.r-universe.dev/badges/gtfstools)](https://dhersz.r-universe.dev)
[![B status](https://github.com/ipeaGIT/gtfstools/workflows/check/badge.svg)](https://github.com/ipeaGIT/gtfstools/actions?query=workflow%3Acheck)
[![Codecov test coverage](https://codecov.io/gh/ipeaGIT/gtfstools/branch/main/graph/badge.svg)](https://app.codecov.io/gh/ipeaGIT/gtfstools?branch=main)
[![Lifecycle: experimental](https://lifecycle.r-lib.org/articles/figures/lifecycle-stable.svg)](https://lifecycle.r-lib.org/articles/stages.html)
[![CRAN/METACRAN Total downloads](http://cranlogs.r-pkg.org/badges/grand-total/gtfstools?color=yellow)](https://CRAN.R-project.org/package=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.table`s,
allowing for easy and fast data manipulation. Many of this package's features
are based on functions from other packages, especially
[`{tidytransit}`](https://github.com/r-transit/tidytransit) and
[`{gtfs2gps}`](https://github.com/ipeaGIT/gtfs2gps).

## Installation

Stable version:

```{r, eval = FALSE}
install.packages("gtfstools")
```

Development version:

```{r, eval = FALSE}
# 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}`](https://github.com/r-spatial/sf). Please check [this
link](https://github.com/r-spatial/sf#installing) 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](https://ipeagit.github.io/gtfstools/articles/gtfstools.html)).
- Filtering GTFS feeds. Run `vignette("filtering", package = "gtfstools")` or
  check it on the website ([Filtering GTFS
  feeds](https://ipeagit.github.io/gtfstools/articles/filtering.html)).
- Validating GTFS feeds. Run `vignette("validating", package = "gtfstools")` or
  check it on the website ([Validating GTFS
  feeds](https://ipeagit.github.io/gtfstools/articles/validating.html)).

## Related packages

- [`{tidytransit}`](https://github.com/r-transit/tidytransit)
- [`{gtfs2gps}`](https://github.com/ipeaGIT/gtfs2gps)
- [`{gtfsrouter}`](https://github.com/UrbanAnalyst/gtfsrouter)

## Acknowledgement IPEA

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

Owner

  • Name: IpeaDIRUR
  • Login: ipeaGIT
  • Kind: organization

CodeMeta (codemeta.json)

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "identifier": "gtfstools",
  "description": "Utility functions to read, manipulate, analyse and write transit feeds in the General Transit Feed Specification (GTFS) data format.",
  "name": "gtfstools: General Transit Feed Specification (GTFS) Editing and Analysing\n    Tools",
  "relatedLink": [
    "https://ipeagit.github.io/gtfstools/",
    "https://CRAN.R-project.org/package=gtfstools"
  ],
  "codeRepository": "https://github.com/ipeaGIT/gtfstools",
  "issueTracker": "https://github.com/ipeaGIT/gtfstools/issues",
  "license": "https://spdx.org/licenses/MIT",
  "version": "1.4.0.9000",
  "programmingLanguage": {
    "@type": "ComputerLanguage",
    "name": "R",
    "url": "https://r-project.org"
  },
  "runtimePlatform": "R version 4.4.2 (2024-10-31 ucrt)",
  "provider": {
    "@id": "https://cran.r-project.org",
    "@type": "Organization",
    "name": "Comprehensive R Archive Network (CRAN)",
    "url": "https://cran.r-project.org"
  },
  "author": [
    {
      "@type": "Person",
      "givenName": "Daniel",
      "familyName": "Herszenhut",
      "email": "dhersz@gmail.com",
      "@id": "https://orcid.org/0000-0001-8066-1105"
    },
    {
      "@type": "Person",
      "givenName": "Rafael H. M.",
      "familyName": "Pereira",
      "@id": "https://orcid.org/0000-0003-2125-7465"
    },
    {
      "@type": "Person",
      "givenName": "Pedro R.",
      "familyName": "Andrade",
      "@id": "https://orcid.org/0000-0001-8675-4046"
    },
    {
      "@type": "Person",
      "givenName": "Joao",
      "familyName": "Bazzo",
      "@id": "https://orcid.org/0000-0003-4536-5006"
    }
  ],
  "contributor": [
    {
      "@type": "Person",
      "givenName": "Mark",
      "familyName": "Padgham"
    },
    {
      "@type": "Person",
      "givenName": "Marcus",
      "familyName": "Saraiva",
      "@id": "https://orcid.org/0000-0001-6218-2338"
    }
  ],
  "copyrightHolder": [
    {
      "@type": "Organization",
      "name": "Ipea - Institute for Applied Economic Research"
    }
  ],
  "funder": [
    {
      "@type": "Organization",
      "name": "Ipea - Institute for Applied Economic Research"
    }
  ],
  "maintainer": [
    {
      "@type": "Person",
      "givenName": "Daniel",
      "familyName": "Herszenhut",
      "email": "dhersz@gmail.com",
      "@id": "https://orcid.org/0000-0001-8066-1105"
    }
  ],
  "softwareSuggestions": [
    {
      "@type": "SoftwareApplication",
      "identifier": "covr",
      "name": "covr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=covr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "ggplot2",
      "name": "ggplot2",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ggplot2"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "jsonlite",
      "name": "jsonlite",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=jsonlite"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "knitr",
      "name": "knitr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=knitr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "rmarkdown",
      "name": "rmarkdown",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rmarkdown"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "testthat",
      "name": "testthat",
      "version": ">= 3.0.0",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=testthat"
    }
  ],
  "softwareRequirements": {
    "1": {
      "@type": "SoftwareApplication",
      "identifier": "R",
      "name": "R",
      "version": ">= 2.10"
    },
    "2": {
      "@type": "SoftwareApplication",
      "identifier": "checkmate",
      "name": "checkmate",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=checkmate"
    },
    "3": {
      "@type": "SoftwareApplication",
      "identifier": "cli",
      "name": "cli",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=cli"
    },
    "4": {
      "@type": "SoftwareApplication",
      "identifier": "curl",
      "name": "curl",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=curl"
    },
    "5": {
      "@type": "SoftwareApplication",
      "identifier": "data.table",
      "name": "data.table",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=data.table"
    },
    "6": {
      "@type": "SoftwareApplication",
      "identifier": "gtfsio",
      "name": "gtfsio",
      "version": ">= 1.0.0",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=gtfsio"
    },
    "7": {
      "@type": "SoftwareApplication",
      "identifier": "parallelly",
      "name": "parallelly",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=parallelly"
    },
    "8": {
      "@type": "SoftwareApplication",
      "identifier": "processx",
      "name": "processx",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=processx"
    },
    "9": {
      "@type": "SoftwareApplication",
      "identifier": "sf",
      "name": "sf",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=sf"
    },
    "10": {
      "@type": "SoftwareApplication",
      "identifier": "sfheaders",
      "name": "sfheaders",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=sfheaders"
    },
    "11": {
      "@type": "SoftwareApplication",
      "identifier": "units",
      "name": "units",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=units"
    },
    "12": {
      "@type": "SoftwareApplication",
      "identifier": "utils",
      "name": "utils"
    },
    "13": {
      "@type": "SoftwareApplication",
      "identifier": "zip",
      "name": "zip",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=zip"
    },
    "SystemRequirements": null
  },
  "fileSize": "4597.473KB",
  "releaseNotes": "https://github.com/ipeaGIT/gtfstools/blob/master/NEWS.md",
  "readme": "https://github.com/ipeaGIT/gtfstools/blob/main/README.md",
  "contIntegration": [
    "https://github.com/ipeaGIT/gtfstools/actions?query=workflow%3Acheck",
    "https://app.codecov.io/gh/ipeaGIT/gtfstools?branch=master"
  ],
  "developmentStatus": "https://lifecycle.r-lib.org/articles/stages.html",
  "keywords": [
    "r",
    "gtfs",
    "public-transport",
    "publictransport"
  ]
}

GitHub Events

Total
  • Create event: 2
  • Release event: 1
  • Issues event: 7
  • Watch event: 2
  • Delete event: 1
  • Issue comment event: 3
  • Push event: 17
  • Fork event: 1
Last Year
  • Create event: 2
  • Release event: 1
  • Issues event: 7
  • Watch event: 2
  • Delete event: 1
  • Issue comment event: 3
  • Push event: 17
  • Fork event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 434
  • Total Committers: 7
  • Avg Commits per committer: 62.0
  • Development Distribution Score (DDS): 0.062
Past Year
  • Commits: 28
  • Committers: 4
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.25
Top Committers
Name Email Commits
Daniel Herszenhut d****z@g****m 407
rafapereirabr r****r@g****m 15
Pedro R. Andrade p****e@i****r 7
mpadge m****m@e****m 2
Marcus Saraiva m****a@g****m 1
João Carabetta j****a@g****m 1
rafapereirabr r****r@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 76
  • Total pull requests: 8
  • Average time to close issues: 4 months
  • Average time to close pull requests: 2 months
  • Total issue authors: 14
  • Total pull request authors: 5
  • Average comments per issue: 2.16
  • Average comments per pull request: 2.0
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 6
  • Pull requests: 1
  • Average time to close issues: 24 days
  • Average time to close pull requests: about 1 hour
  • Issue authors: 4
  • Pull request authors: 1
  • Average comments per issue: 0.5
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • dhersz (35)
  • rafapereirabr (22)
  • luukvdmeer (5)
  • LeonLeprau (3)
  • Ge-Rag (3)
  • langbein-daniel (1)
  • nadiaqamilla (1)
  • pedro-andrade-inpe (1)
  • Joaobazzo (1)
  • farepaygeo (1)
  • mvpsaraiva (1)
  • higgicd (1)
  • alenastern (1)
  • mpadge (1)
  • ServusWorld (1)
Pull Request Authors
  • pedro-andrade-inpe (4)
  • rafapereirabr (2)
  • Joaobazzo (1)
  • mpadge (1)
  • JoaoCarabetta (1)
Top Labels
Issue Labels
v1.2.0 (10) v1.0.0 (10) v1.1.0 (7) enhancement (2)
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • cran 815 last-month
  • Total dependent packages: 2
    (may contain duplicates)
  • Total dependent repositories: 6
    (may contain duplicates)
  • Total versions: 18
  • Total maintainers: 1
proxy.golang.org: github.com/ipeaGIT/gtfstools
  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 6.5%
Average: 6.7%
Dependent repos count: 7.0%
Last synced: 9 months ago
proxy.golang.org: github.com/ipeagit/gtfstools
  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 6.5%
Average: 6.7%
Dependent repos count: 7.0%
Last synced: 9 months ago
cran.r-project.org: gtfstools

General Transit Feed Specification (GTFS) Editing and Analysing Tools

  • Versions: 6
  • Dependent Packages: 2
  • Dependent Repositories: 6
  • Downloads: 815 Last month
Rankings
Forks count: 8.0%
Stargazers count: 8.3%
Average: 11.6%
Dependent repos count: 11.9%
Dependent packages count: 13.6%
Downloads: 16.0%
Maintainers (1)
Last synced: 9 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • checkmate * imports
  • curl * imports
  • data.table * imports
  • gtfsio >= 1.0.0 imports
  • processx * imports
  • sf * imports
  • sfheaders * imports
  • units * imports
  • utils * imports
  • zip * imports
  • covr * suggests
  • ggplot2 * suggests
  • jsonlite * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests
.github/workflows/check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-java v1 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/check_as_cran.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/pkgdown.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-java v1 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-java v1 composite
  • r-lib/actions/setup-r v2 composite