From 921707388b98ca1a113b45a753902a39a158c4f5 Mon Sep 17 00:00:00 2001 From: Daniel Herszenhut Date: Mon, 30 Aug 2021 14:15:15 -0300 Subject: [PATCH] v0.2.0 release --- DESCRIPTION | 4 ++-- NEWS.md | 4 +--- README.Rmd | 2 +- README.md | 54 +++++++++++++++++++++++++++--------------------- codemeta.json | 17 ++++++++++++--- cran-comments.md | 27 +++++++----------------- inst/CITATION | 12 +++++------ man/gtfsio.Rd | 2 +- 8 files changed, 62 insertions(+), 60 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 1182766..c6b256b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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", @@ -14,7 +14,7 @@ Authors@R: email = "flavio.poletti@hotmail.ch"), person(given = "Mark", family = "Padgham", - role = "rev", + role = "aut", email = "mark.padgham@email.com"), person(given = "Rafael H. M.", family = "Pereira", diff --git a/NEWS.md b/NEWS.md index 9a57ee3..984cc3a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# gtfsio (development version) +# gtfsio 0.2.0 ## Bug fixes @@ -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 diff --git a/README.Rmd b/README.Rmd index 20d8022..62347d1 100644 --- a/README.Rmd +++ b/README.Rmd @@ -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. diff --git a/README.md b/README.md index 21ae09d..1ad7680 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -76,12 +77,15 @@ 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 @@ -89,10 +93,10 @@ 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 @@ -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}, #> } ``` diff --git a/codemeta.json b/codemeta.json index e23ff61..6370a70 100644 --- a/codemeta.json +++ b/codemeta.json @@ -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", @@ -30,6 +30,12 @@ "givenName": "Flavio", "familyName": "Poletti", "email": "flavio.poletti@hotmail.ch" + }, + { + "@type": "Person", + "givenName": "Mark", + "familyName": "Padgham", + "email": "mark.padgham@email.com" } ], "contributor": {}, @@ -123,7 +129,7 @@ "sameAs": "https://CRAN.R-project.org/package=zip" } ], - "fileSize": "151536.835KB", + "fileSize": "249032.896KB", "keywords": [ "r", "gtfs" @@ -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", diff --git a/cran-comments.md b/cran-comments.md index ed11d2a..20b7a1b 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -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) @@ -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}. diff --git a/inst/CITATION b/inst/CITATION index 6b5527d..1b91eb4 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -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" ) diff --git a/man/gtfsio.Rd b/man/gtfsio.Rd index 9bd8bce..4cca8a7 100644 --- a/man/gtfsio.Rd +++ b/man/gtfsio.Rd @@ -29,11 +29,11 @@ Useful links: Authors: \itemize{ \item Flavio Poletti \email{flavio.poletti@hotmail.ch} + \item Mark Padgham \email{mark.padgham@email.com} } Other contributors: \itemize{ - \item Mark Padgham \email{mark.padgham@email.com} [reviewer] \item Rafael H. M. Pereira \email{rafa.pereira.br@gmail.com} (\href{https://orcid.org/0000-0003-2125-7465}{ORCID}) [reviewer] \item Tom Buckley \email{tom@tbuckl.com} [reviewer] \item Ipea - Institute for Applied Economic Research [copyright holder, funder]