rdb_last_updates {rdbnomics} | R Documentation |
Download informations about the last DBnomics updates.
Description
rdb_last_updates
downloads informations about the last updates from
DBnomics.
Usage
rdb_last_updates(
all = FALSE,
use_readLines = getOption("rdbnomics.use_readLines"),
curl_config = getOption("rdbnomics.curl_config")
)
Arguments
all |
Logical (default FALSE ). If TRUE , then the full
dataset of the last updates is retrieved.
|
use_readLines |
Logical (default FALSE ). If TRUE , then
the data are requested and read with the base function readLines i.e.
through the default R internet connection. This can be used to get round the
error Could not resolve host: api.db.nomics.world .
|
curl_config |
Named list (default NULL ). If not
NULL , it is used to configure a proxy connection. This
configuration is passed to the function curl_fetch_memory of the package
curl. A temporary curl_handle object is created internally
with arguments equal to the provided list in curl_config .
For curl_fetch_memory arguments see curl_fetch .
For available curl options see curl_options ,
names(curl_options()) and
libcurl.
|
Details
By default, the function returns a data.table
containing the last 100 updates from
DBnomics with additional informations.
Value
A data.table
.
Author(s)
Sebastien Galais
See Also
rdb_providers
, rdb_datasets
,
rdb_dimensions
Examples
## Not run:
rdb_last_updates()
rdb_last_updates(all = TRUE)
rdb_last_updates(use_readLines = TRUE)
rdb_last_updates(curl_config = list(proxy = "<proxy>", proxyport = <port>))
## End(Not run)
[Package
rdbnomics version 0.6.4
Index]