rdb_last_updates downloads informations about the last updates from
DBnomics.
rdb_last_updates(all = FALSE,
use_readLines = getOption("rdbnomics.use_readLines"),
curl_config = getOption("rdbnomics.curl_config"))Logical (default FALSE). If TRUE, then the full
dataset of the last updates is retrieved.
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_handle or 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. If it is a curl_handle object then it is considered to
be the argument handle of curl_fetch_memory. In the case of a
list, the names of the object are the arguments names of
curl_fetch_memory (except url of course). It means that
curl_config = h is equivalent to
curl_config = list(handle = h).
For curl_fetch_memory arguments see curl_fetch.
For available curl options see curl_options,
names(curl_options()) and
libcurl.
A data.frame or a data.table.
By default, the function returns a data.frame (or a data.table)
containing the last 100 updates from
DBnomics with additional informations.
# NOT RUN {
rdb_last_updates()
rdb_last_updates(all = TRUE)
# }
Run the code above in your browser using DataLab