Download datasets for a given template.
download_marketdata(template, cache_folder = cachedir(), do_cache = TRUE, ...)
the template name
Location of cache folder (default = cachedir())
a logical indicating if the existing file (previously downloaded) should be used or replaced.
additional arguments
a string with the file path of downloaded file or NULL
if download
fails.
This function downloads data sets for those templates that specifies a
downloader
attribute.
If dest
is not provided, cache_folder
is used and a file with template
id is saved inside it.
if (FALSE) {
fname <- download_marketdata("CDIIDI")
}