Skip to content

Commit

Permalink
v0.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dhersz committed Aug 30, 2021
1 parent 7e187dd commit 9217073
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 60 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: gtfsio
Title: Read and Write General Transit Feed Specification (GTFS) Files
Version: 0.1.2.9006
Version: 0.2.0
Authors@R:
c(person(given = "Daniel",
family = "Herszenhut",
Expand All @@ -14,7 +14,7 @@ Authors@R:
email = "[email protected]"),
person(given = "Mark",
family = "Padgham",
role = "rev",
role = "aut",
email = "[email protected]"),
person(given = "Rafael H. M.",
family = "Pereira",
Expand Down
4 changes: 1 addition & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# gtfsio (development version)
# gtfsio 0.2.0

## Bug fixes

Expand All @@ -9,8 +9,6 @@
- Added new `summary.gtfs` method. Thanks Mark Padgham (@mapdge).
- `import_gtfs()` has a new `encoding` parameter, used to handle encoded strings in their native encoding.

## Notes

# gtfsio 0.1.2

## Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ knitr::opts_chunk$set(
[![Codecov test coverage](https://codecov.io/gh/r-transit/gtfsio/branch/master/graph/badge.svg)](https://codecov.io/gh/r-transit/gtfsio?branch=master)
[![Lifecycle: maturing](https://lifecycle.r-lib.org/articles/figures/lifecycle-maturing.svg)](https://lifecycle.r-lib.org/articles/stages.html)
[![CRAN/METACRAN Total downloads](http://cranlogs.r-pkg.org/badges/grand-total/gtfsio?color=yellow)](https://CRAN.R-project.org/package=gtfsio)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4904777.svg)](https://zenodo.org/record/4904777)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5337518.svg)](https://zenodo.org/record/5337518)

**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.

Expand Down
54 changes: 30 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ coverage](https://codecov.io/gh/r-transit/gtfsio/branch/master/graph/badge.svg)]
maturing](https://lifecycle.r-lib.org/articles/figures/lifecycle-maturing.svg)](https://lifecycle.r-lib.org/articles/stages.html)
[![CRAN/METACRAN Total
downloads](http://cranlogs.r-pkg.org/badges/grand-total/gtfsio?color=yellow)](https://CRAN.R-project.org/package=gtfsio)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4904777.svg)](https://zenodo.org/record/4904777)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5337518.svg)](https://zenodo.org/record/5337518)

**gtfsio** offers tools for the development of GTFS-related packages. It
establishes a standard for representing GTFS feeds using R data types
Expand Down Expand Up @@ -52,11 +52,12 @@ path <- system.file("extdata/ggl_gtfs.zip", package = "gtfsio")
gtfs <- import_gtfs(path)

names(gtfs)
#> [1] "calendar_dates" "fare_attributes" "fare_rules" "feed_info"
#> [5] "frequencies" "levels" "pathways" "routes"
#> [9] "shapes" "stop_times" "stops" "transfers"
#> [13] "translations" "trips" "agency" "attributions"
#> [17] "calendar"
#> [1] "calendar_dates" "fare_attributes" "fare_rules"
#> [4] "feed_info" "frequencies" "levels"
#> [7] "pathways" "routes" "shapes"
#> [10] "stop_times" "stops" "transfers"
#> [13] "translations" "trips" "agency"
#> [16] "attributions" "calendar"
```

`import_gtfs()` returns a `gtfs` object. The `gtfs` class might be
Expand All @@ -76,23 +77,26 @@ tmpf <- tempfile(fileext = ".zip")
export_gtfs(gtfs, tmpf)

zip::zip_list(tmpf)$filename
#> [1] "calendar_dates.txt" "fare_attributes.txt" "fare_rules.txt"
#> [4] "feed_info.txt" "frequencies.txt" "levels.txt"
#> [7] "pathways.txt" "routes.txt" "shapes.txt"
#> [10] "stop_times.txt" "stops.txt" "transfers.txt"
#> [13] "translations.txt" "trips.txt" "agency.txt"
#> [16] "attributions.txt" "calendar.txt"
#> [1] "calendar_dates.txt" "fare_attributes.txt"
#> [3] "fare_rules.txt" "feed_info.txt"
#> [5] "frequencies.txt" "levels.txt"
#> [7] "pathways.txt" "routes.txt"
#> [9] "shapes.txt" "stop_times.txt"
#> [11] "stops.txt" "transfers.txt"
#> [13] "translations.txt" "trips.txt"
#> [15] "agency.txt" "attributions.txt"
#> [17] "calendar.txt"
```

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/ATFutures/gtfs-router)
- [`{gtfstools}`](https://github.com/ipeaGIT/gtfstools)
- [`{tidytransit}`](https://github.com/r-transit/tidytransit)
- [`{gtfs2gps}`](https://github.com/ipeaGIT/gtfs2gps)
- [`{gtfsrouter}`](https://github.com/ATFutures/gtfs-router)
- [`{gtfstools}`](https://github.com/ipeaGIT/gtfstools)

## Citation

Expand All @@ -101,20 +105,22 @@ citation("gtfsio")
#>
#> To cite gtfsio in publications use:
#>
#> Daniel Herszenhut & Flavio Poletti. (2021, June). gtfsio: Read and
#> Write General Transit Feed Specification (GTFS) Files (Version
#> v0.1.2). Zenodo. http://doi.org/10.5281/zenodo.4904777
#> Daniel Herszenhut, Flavio Poletti & Mark Padgham.
#> (2021, August). gtfsio: Read and Write General
#> Transit Feed Specification (GTFS) Files (Version
#> v0.2.0). Zenodo.
#> http://doi.org/10.5281/zenodo.5337518
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {gtfsio: Read and Write General Transit Feed Specification (GTFS) Files},
#> author = {Daniel Herszenhut and Flavio Poletti},
#> month = {jun},
#> author = {Daniel Herszenhut and Flavio Poletti and Mark Padgham},
#> month = {aug},
#> year = {2021},
#> publisher = {Zenodo},
#> version = {v0.1.2},
#> doi = {10.5281/zenodo.4904777},
#> url = {https://doi.org/10.5281/zenodo.4904777},
#> version = {v0.2.0},
#> doi = {10.5281/zenodo.5337518},
#> url = {https://doi.org/10.5281/zenodo.5337518},
#> }
```
17 changes: 14 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"codeRepository": "https://github.com/r-transit/gtfsio",
"issueTracker": "https://github.com/r-transit/gtfsio/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.1.2.9006",
"version": "0.2.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.1.0 (2021-05-18)",
"runtimePlatform": "R version 4.1.1 (2021-08-10)",
"author": [
{
"@type": "Person",
Expand All @@ -30,6 +30,12 @@
"givenName": "Flavio",
"familyName": "Poletti",
"email": "[email protected]"
},
{
"@type": "Person",
"givenName": "Mark",
"familyName": "Padgham",
"email": "[email protected]"
}
],
"contributor": {},
Expand Down Expand Up @@ -123,7 +129,7 @@
"sameAs": "https://CRAN.R-project.org/package=zip"
}
],
"fileSize": "151536.835KB",
"fileSize": "249032.896KB",
"keywords": [
"r",
"gtfs"
Expand Down Expand Up @@ -155,6 +161,11 @@
"@type": "Person",
"givenName": "Flavio",
"familyName": "Poletti"
},
{
"@type": "Person",
"givenName": "Mark",
"familyName": "Padgham"
}
],
"name": "gtfsio: Read and Write General Transit Feed Specification (GTFS) Files",
Expand Down
27 changes: 7 additions & 20 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Test environments

- Local Ubuntu 20.04 installation (R 4.1.0)
- Local Ubuntu 20.04 installation (R 4.1.1)
- GitHub Actions:
- Windows (release, oldrel)
- MacOS (release, oldrel)
Expand All @@ -13,34 +13,21 @@

## R CMD check results

0 errors | 0 warnings | 1 note

> Found the following (possibly) invalid URLs:
> URL: https://doi.org/10.5281/zenodo.4904777
> From: inst/CITATION
> Status: 404
> Message: Not Found
>
> Found the following (possibly) invalid DOIs:
> DOI: 10.5281/zenodo.4904777
> From: inst/CITATION
> Status: Not Found
> Message: 404
I have reserved a DOI in Zenodo to use in the CITATION file, but I haven't yet finished the submission because I'm awaiting for the approval on CRAN to upload the package `.tar.gz`. As soon as the package gets approved I'll upload the file and finish the submission, thus creating the DOI for good and getting rid of this note.
0 errors | 0 warnings | 0 notes

## Reverse dependencies

Check status summary:
NOTE OK
Source packages 0 1
Reverse depends 1 0
Source packages 2 1

Check results summary:
gtfs2gps ... NOTE
* checking dependencies in R code ... NOTE
gtfsio ... OK
rdepends_tidytransit ... NOTE
tidytransit ... NOTE
* checking installed package size ... NOTE
* checking dependencies in R code ... NOTE
* checking data for non-ASCII characters ... NOTE

None of the notes in {tidytransit} check are related to {gtfsio}.
None of the notes in {gtfs2gps} and {tidytransit} checks are related to {gtfsio}.
12 changes: 6 additions & 6 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ citHeader("To cite gtfsio in publications use:")
citEntry(
entry = "Manual",
title = "gtfsio: Read and Write General Transit Feed Specification (GTFS) Files",
author = personList(as.person("Daniel Herszenhut"), as.person("Flavio Poletti")),
month = "jun",
author = personList(as.person("Daniel Herszenhut"), as.person("Flavio Poletti"), as.person("Mark Padgham")),
month = "aug",
year = 2021,
publisher = "Zenodo",
version = "v0.1.2",
doi = "10.5281/zenodo.4904777",
url = "https://doi.org/10.5281/zenodo.4904777",
textVersion = "Daniel Herszenhut & Flavio Poletti. (2021, June). gtfsio: Read and Write General Transit Feed Specification (GTFS) Files (Version v0.1.2). Zenodo. http://doi.org/10.5281/zenodo.4904777"
version = "v0.2.0",
doi = "10.5281/zenodo.5337518",
url = "https://doi.org/10.5281/zenodo.5337518",
textVersion = "Daniel Herszenhut, Flavio Poletti & Mark Padgham. (2021, August). gtfsio: Read and Write General Transit Feed Specification (GTFS) Files (Version v0.2.0). Zenodo. http://doi.org/10.5281/zenodo.5337518"
)
2 changes: 1 addition & 1 deletion man/gtfsio.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9217073

Please sign in to comment.