od_revisions {STATcubeR} | R Documentation |
Get OGD revisions
Description
Use the /revision
endpoint of the OGD server to get a list
of all datasets that have changed since a certain timestamp.
Usage
od_revisions(since = NULL, exclude_ext = TRUE, server = "ext")
Arguments
since |
(optional) A timestamp. If supplied, only datasets updated later will be returned. Otherwise, all datasets are returned. Can be in either one of the following formats
|
exclude_ext |
If |
server |
the open data server to use. Either |
Value
a character vector with dataset ids
Examples
# get all datasets (including OGDEXT_*)
ids <- od_revisions(exclude_ext = FALSE)
ids
sample(ids, 6)
# get all the datasets since the fifteenth of august
od_revisions("2022-09-15")