Skip to content

Commit

Permalink
describe opq datetime in vignette; closes #179
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Jun 8, 2020
1 parent 5d36b1d commit 2f84878
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: osmdata
Version: 0.1.3.005
Version: 0.1.3.006
Authors@R: c(
person("Mark", "Padgham", email="[email protected]", role=c("aut", "cre")),
person("Bob", "Rudis", role="aut"),
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"codeRepository": "https://github.com/ropensci/osmdata",
"issueTracker": "https://github.com/ropensci/osmdata/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.1.3.5",
"version": "0.1.3.6",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down
10 changes: 10 additions & 0 deletions vignettes/osmdata.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,16 @@ detail provided in the help files for each of these function.
lines which are not part of any higher-level objects, and `$osm_points` only
contains points which are not part of any higher-level objects.

A further additional function is the ability to extract data as represented in
the OSM database prior to a specified date, or within a specified range of
dates. This is achieved by passing one or both values to the [`opq()`
function](https://docs.ropensci.org/osmdata/reference/opq.html) of `datetime1`
and `datetime2`. The resultant data extracted with one or more
`add_osm_feature()` calls and an extraction function (`osmdata_sf/sp/sc/xml`)
will then contain only those data present prior to the specified date (when
`datetime1` only given), or between the two specified dates (when both
`datetime1` and `datetime2` given).


## 6. Related Packages

Expand Down

0 comments on commit 2f84878

Please sign in to comment.