powered by
Download a predefined set of time series.
download_cached_file(username, api_key, file_to_download, target = NULL)
Your dataservice user name
character Your API key. An API key is needed if accessing non-public timeseries. If downloading public timeseries parameter can be omitted.
The name of the file to retrieve.
Path to the location, at which to store the file. If NULL, the file will be saved to the working directory.
f <- download_cached_file("kofdatapkg", "313984fcd9f343d3961891319b0ed321", "empty.txt",file.path(tempdir(),"empty.txt"))
Run the code above in your browser using DataLab