From 3b342608adccd8480add12f8543edb8e5f5733fb Mon Sep 17 00:00:00 2001 From: Pedro Date: Fri, 13 Aug 2021 15:28:42 -0300 Subject: [PATCH] Small updates. --- DESCRIPTION | 2 +- NAMESPACE | 1 + NEWS.md | 6 ++---- R/zzz.R | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ee4e6a27..9551ead1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -8,7 +8,7 @@ Authors@R: c(person(given="Rafael H. M.", family="Pereira", email="rafa.pereira. person(given="Marcin", family="Stepniak", role="ctb"), person(given="Marcus", family="Saraiva", email="marcus.saraiva@gmail.com", role="ctb", comment = c(ORCID = "0000-0001-6218-2338")), person("Ipea - Institue for Applied Economic Research", role = c("cph", "fnd"))) -Date: 2021-08-06 +Date: 2021-08-11 URL: https://github.com/ipeaGIT/gtfs2gps BugReports: https://github.com/ipeaGIT/gtfs2gps/issues Description: Convert general transit feed specification (GTFS) data to global positioning system (GPS) records in 'data.table' format. It also has some functions to subset GTFS data in time and space and to convert both representations to simple feature format. diff --git a/NAMESPACE b/NAMESPACE index 6872f5b9..1c4ff6b1 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -31,6 +31,7 @@ importFrom(data.table,":=") importFrom(data.table,fifelse) importFrom(lwgeom,st_geod_length) importFrom(magrittr,"%>%") +importFrom(readr,write_rds) importFrom(rgdal,readOGR) importFrom(stats,na.omit) importFrom(utils,head) diff --git a/NEWS.md b/NEWS.md index affc8913..49054d44 100644 --- a/NEWS.md +++ b/NEWS.md @@ -6,13 +6,11 @@ **Major changes** * Fixed the update of trip_number attribute. This affects the output of `gps_as_sflinestring()`. Closes #189. * Imports the `gtfsio` package, used in the `read_gtfs()` and `write_gtfs()` functions. Closes #191. -* New parameter `snap_method` added to function `gtfs2gps`. +* New parameter `snap_method` added to `gtfs2gps()`. **Minor changes** * Function `filter_single_trip()` now also filters the `stop_times` table. Closes #195. -* Change default spatial_resolution from 50m to 100m. Closes #202. - - +* Change default `spatial_resolution` of `gtfs2gps()` from 50m to 100m. Closes #202. ------------------------------------------------------- # gtfs2gps dev v1.4-0 diff --git a/R/zzz.R b/R/zzz.R index 0770b801..dba4aaa1 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -13,10 +13,10 @@ utils::globalVariables(c(".", "%>%", ":=")) #' @importFrom data.table := %between% fifelse %chin% #' @importFrom stats na.omit #' @importFrom utils head tail object.size -#' @importFrom stats na.omit #' @importFrom Rcpp compileAttributes #' @importFrom lwgeom st_geod_length #' @importFrom rgdal readOGR +#' @importFrom readr write_rds #' @useDynLib gtfs2gps, .registration = TRUE NULL