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 (16.9%) to scientific vocabulary
Keywords
gtfs
r
Last synced: 9 months ago
·
JSON representation
Repository
Read and Write General Transit Feed Specification (GTFS)
Basic Info
- Host: GitHub
- Owner: r-transit
- License: other
- Language: R
- Default Branch: master
- Homepage: https://r-transit.github.io/gtfsio/
- Size: 909 KB
Statistics
- Stars: 15
- Watchers: 4
- Forks: 3
- Open Issues: 4
- Releases: 8
Topics
gtfs
r
Created over 5 years ago
· Last pushed 10 months 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%"
)
```
# gtfsio
[](https://CRAN.R-project.org/package=gtfsio)
[](https://dhersz.r-universe.dev)
[](https://github.com/r-transit/gtfsio/actions?query=workflow%3AR-CMD-check)
[](https://app.codecov.io/gh/r-transit/gtfsio?branch=master)
[](https://lifecycle.r-lib.org/articles/stages.html)
[](https://CRAN.R-project.org/package=gtfsio)
**gtfsio** offers tools for the development of GTFS-related packages. It establishes a standard for representing GTFS feeds using R data types based on [Google's Static GTFS Reference](https://developers.google.com/transit/gtfs/reference). It provides fast and flexible functions to read and write GTFS feeds while sticking to this standard. It defines a basic `gtfs` class which is meant to be extended by packages that depend on it. And it also offers utility functions that support checking the structure of GTFS objects.
## Installation
Stable version:
```{r, eval = FALSE}
install.packages("gtfsio")
```
Development version:
```{r, eval = FALSE}
install.packages("gtfsio", repos = "https://dhersz.r-universe.dev")
# or
# install.packages("remotes")
remotes::install_github("r-transit/gtfsio")
```
## Usage
GTFS feeds are read using the `import_gtfs()` function:
```{r}
library(gtfsio)
path <- system.file("extdata/ggl_gtfs.zip", package = "gtfsio")
gtfs <- import_gtfs(path)
names(gtfs)
```
`import_gtfs()` returns a `gtfs` object. The `gtfs` class might be extended by other packages using the constructor, validator and methods provided by **gtfsio**:
```{r}
class(gtfs)
```
Use the `export_gtfs()` function to write GTFS objects to disk:
```{r}
tmpf <- tempfile(fileext = ".zip")
export_gtfs(gtfs, tmpf)
zip::zip_list(tmpf)$filename
```
For a more complete demonstration please read the [introductory vignette](https://r-transit.github.io/gtfsio/articles/gtfsio.html).
## GTFS-related packages
- [`{tidytransit}`](https://github.com/r-transit/tidytransit)
- [`{gtfs2gps}`](https://github.com/ipeaGIT/gtfs2gps)
- [`{gtfsrouter}`](https://github.com/UrbanAnalyst/gtfsrouter)
- [`{gtfstools}`](https://github.com/ipeaGIT/gtfstools)
Owner
- Name: r-transit
- Login: r-transit
- Kind: organization
- Website: https://r-transit.github.io/
- Repositories: 2
- Profile: https://github.com/r-transit
CodeMeta (codemeta.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "gtfsio",
"description": "Tools for the development of packages related to General Transit Feed Specification (GTFS) files. Establishes a standard for representing GTFS feeds using R data types. Provides fast and flexible functions to read and write GTFS feeds while sticking to this standard. Defines a basic 'gtfs' class which is meant to be extended by packages that depend on it. And offers utility functions that support checking the structure of GTFS objects.",
"name": "gtfsio: Read and Write General Transit Feed Specification (GTFS) Files",
"relatedLink": [
"https://r-transit.github.io/gtfsio/",
"https://CRAN.R-project.org/package=gtfsio"
],
"codeRepository": "https://github.com/r-transit/gtfsio",
"issueTracker": "https://github.com/r-transit/gtfsio/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "1.2.0.9000",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.4.1 (2024-06-14 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": "Flavio",
"familyName": "Poletti",
"email": "flavio.poletti@hotmail.ch"
},
{
"@type": "Person",
"givenName": "Mark",
"familyName": "Padgham",
"email": "mark.padgham@email.com"
}
],
"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": "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": "tinytest",
"name": "tinytest",
"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=tinytest"
}
],
"softwareRequirements": {
"1": {
"@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"
},
"2": {
"@type": "SoftwareApplication",
"identifier": "fs",
"name": "fs",
"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=fs"
},
"3": {
"@type": "SoftwareApplication",
"identifier": "utils",
"name": "utils"
},
"4": {
"@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"
},
"5": {
"@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"
},
"6": {
"@type": "SoftwareApplication",
"identifier": "R",
"name": "R",
"version": ">= 3.1.0"
},
"SystemRequirements": null
},
"fileSize": "436.614KB",
"releaseNotes": "https://github.com/r-transit/gtfsio/blob/master/NEWS.md",
"readme": "https://github.com/r-transit/gtfsio/blob/master/README.md",
"contIntegration": [
"https://github.com/r-transit/gtfsio/actions?query=workflow%3AR-CMD-check",
"https://app.codecov.io/gh/r-transit/gtfsio?branch=master"
],
"developmentStatus": "https://lifecycle.r-lib.org/articles/stages.html",
"keywords": [
"r",
"gtfs"
]
}
GitHub Events
Total
- Issues event: 5
- Watch event: 2
- Delete event: 7
- Issue comment event: 19
- Push event: 19
- Pull request event: 13
- Fork event: 1
- Create event: 9
Last Year
- Issues event: 5
- Watch event: 2
- Delete event: 7
- Issue comment event: 19
- Push event: 19
- Pull request event: 13
- Fork event: 1
- Create event: 9
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Daniel Herszenhut | d****z@g****m | 108 |
| mpadge | m****m@e****m | 23 |
| Flavio Poletti | f****i@h****h | 20 |
| Rafael H M Pereira | r****r@g****m | 3 |
Committer Domains (Top 20 + Academic)
hotmail.ch: 1
email.com: 1
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 27
- Total pull requests: 25
- Average time to close issues: about 1 month
- Average time to close pull requests: about 2 months
- Total issue authors: 5
- Total pull request authors: 4
- Average comments per issue: 2.56
- Average comments per pull request: 1.0
- Merged pull requests: 17
- Bot issues: 0
- Bot pull requests: 8
Past Year
- Issues: 7
- Pull requests: 17
- Average time to close issues: 4 days
- Average time to close pull requests: 1 day
- Issue authors: 5
- Pull request authors: 3
- Average comments per issue: 3.14
- Average comments per pull request: 0.47
- Merged pull requests: 11
- Bot issues: 0
- Bot pull requests: 8
Top Authors
Issue Authors
- dhersz (9)
- polettif (8)
- mpadge (5)
- rafapereirabr (3)
- wolfpartyjoe (1)
Pull Request Authors
- polettif (9)
- mpadge (9)
- dependabot[bot] (8)
- rafapereirabr (2)
Top Labels
Issue Labels
good first issue (1)
Pull Request Labels
dependencies (8)
Packages
- Total packages: 2
-
Total downloads:
- cran 925 last-month
- Total docker downloads: 21,652
-
Total dependent packages: 3
(may contain duplicates) -
Total dependent repositories: 2
(may contain duplicates) - Total versions: 16
- Total maintainers: 1
proxy.golang.org: github.com/r-transit/gtfsio
- Documentation: https://pkg.go.dev/github.com/r-transit/gtfsio#section-documentation
- License: other
-
Latest release: v1.2.0
published over 1 year ago
Rankings
Dependent packages count: 6.5%
Average: 6.7%
Dependent repos count: 7.0%
Last synced:
10 months ago
cran.r-project.org: gtfsio
Read and Write General Transit Feed Specification (GTFS) Files
- Homepage: https://r-transit.github.io/gtfsio/
- Documentation: http://cran.r-project.org/web/packages/gtfsio/gtfsio.pdf
- License: MIT + file LICENSE
-
Latest release: 1.2.0
published over 1 year ago
Rankings
Docker downloads count: 0.6%
Downloads: 9.9%
Dependent packages count: 10.9%
Average: 12.2%
Stargazers count: 15.8%
Forks count: 17.0%
Dependent repos count: 19.2%
Maintainers (1)
Last synced:
10 months ago
Dependencies
DESCRIPTION
cran
- data.table * imports
- utils * imports
- zip * imports
- knitr * suggests
- rmarkdown * suggests
- tinytest * suggests
.github/workflows/R-CMD-check.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
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
.github/workflows/test-coverage.yaml
actions
- actions/cache v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-r v1 composite