Skip to content

Commit 2ab5970

Browse files
Merge pull request #204 from pedro-andrade-inpe/master
Small updates to 1.5-0
2 parents 7a290e2 + 3b34260 commit 2ab5970

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Authors@R: c(person(given="Rafael H. M.", family="Pereira", email="rafa.pereira.
88
person(given="Marcin", family="Stepniak", role="ctb"),
99
person(given="Marcus", family="Saraiva", email="[email protected]", role="ctb", comment = c(ORCID = "0000-0001-6218-2338")),
1010
person("Ipea - Institue for Applied Economic Research", role = c("cph", "fnd")))
11-
Date: 2021-08-06
11+
Date: 2021-08-11
1212
URL: https://github.com/ipeaGIT/gtfs2gps
1313
BugReports: https://github.com/ipeaGIT/gtfs2gps/issues
1414
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.

NAMESPACE

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ importFrom(data.table,":=")
3131
importFrom(data.table,fifelse)
3232
importFrom(lwgeom,st_geod_length)
3333
importFrom(magrittr,"%>%")
34+
importFrom(readr,write_rds)
3435
importFrom(rgdal,readOGR)
3536
importFrom(stats,na.omit)
3637
importFrom(utils,head)

NEWS.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
**Major changes**
77
* Fixed the update of trip_number attribute. This affects the output of `gps_as_sflinestring()`. Closes #189.
88
* Imports the `gtfsio` package, used in the `read_gtfs()` and `write_gtfs()` functions. Closes #191.
9-
* New parameter `snap_method` added to function `gtfs2gps`.
9+
* New parameter `snap_method` added to `gtfs2gps()`.
1010

1111
**Minor changes**
1212
* Function `filter_single_trip()` now also filters the `stop_times` table. Closes #195.
13-
* Change default spatial_resolution from 50m to 100m. Closes #202.
14-
15-
13+
* Change default `spatial_resolution` of `gtfs2gps()` from 50m to 100m. Closes #202.
1614

1715
-------------------------------------------------------
1816
# gtfs2gps dev v1.4-0

R/zzz.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ utils::globalVariables(c(".", "%>%", ":="))
1313
#' @importFrom data.table := %between% fifelse %chin%
1414
#' @importFrom stats na.omit
1515
#' @importFrom utils head tail object.size
16-
#' @importFrom stats na.omit
1716
#' @importFrom Rcpp compileAttributes
1817
#' @importFrom lwgeom st_geod_length
1918
#' @importFrom rgdal readOGR
19+
#' @importFrom readr write_rds
2020
#' @useDynLib gtfs2gps, .registration = TRUE
2121
NULL
2222

0 commit comments

Comments
 (0)