View source: R/cbs4_download.R
cbs4_download | R Documentation |
Download observations and metadata to a directory. This function is the working
horse for cbs4_get_data()
and cbs4_get_observations()
and has many of the same
options. This function is useful if you do not want to load an entire dataset
into memory, but just download the data and metadata in csv format.
cbs4_download( id, download_dir = id, ..., query = NULL, catalog = "CBS", show_progress = interactive() && !verbose, sep = ",", verbose = getOption("cbsodata4.verbose", FALSE), base_url = getOption("cbsodata4.base_url", BASEURL4) )
id |
Identifier of publication |
download_dir |
directory where files are to be stored |
... |
optional selection statement to retrieve a subset of the data. |
query |
optional odata4 query in odata syntax (overwrites any specification in |
catalog |
Catalog to download from |
show_progress |
|
sep |
seperator to be used in writing the data |
verbose |
Should messages be printed... |
base_url |
Possible other website which implements same protocol. |
metadata of table (invisible()
).
Other data-download:
cbs4_get_data()
,
cbs4_get_observations()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.