download_cached_file: get_dataset

View source: R/download_cached_file.R

download_cached_fileR 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"))

kofdata documentation built on April 29, 2022, 9:06 a.m.