download_cached_file {kofdata} | R Documentation |
get_dataset
Description
Download a predefined set of time series.
Usage
download_cached_file(username, api_key, file_to_download, target = NULL)
Arguments
username |
Your dataservice user name |
api_key |
character Your API key. An API key is needed if accessing non-public timeseries. If downloading public timeseries parameter can be omitted. |
file_to_download |
The name of the file to retrieve. |
target |
Path to the location, at which to store the file. If NULL, the file will be saved to the working directory. |
Examples
f <- download_cached_file("kofdatapkg", "313984fcd9f343d3961891319b0ed321",
"empty.txt",file.path(tempdir(),"empty.txt"))
[Package kofdata version 0.2.1 Index]