rdb_providers
downloads the list of providers from
DBnomics.
rdb_providers(code = FALSE,
use_readLines = getOption("rdbnomics.use_readLines"),
curl_config = getOption("rdbnomics.curl_config"))
Logical (default FALSE
). If TRUE
, then only the
providers are returned in a vector.
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
, a data.table
or a vector.
By default, the function returns a data.frame
(or a data.table
)
containing the list of providers from
DBnomics with additional informations such as
the region, the website, etc.
# NOT RUN {
rdb_providers()
rdb_providers(code = TRUE)
# }
Run the code above in your browser using DataLab