Read Swiss time series data from the 'KOF Datenservice' API, < https://datenservice.kof.ethz.ch>. The API provides macro economic time series data mostly about Switzerland. The package itself is a set of wrappers around the 'KOF Datenservice' API. The 'kofdata' package is able to consume public information as well as data that requires an API token.
Read Swiss time series data from the KOF Datenservice API. The API provides macroeconomic survey data, business cycle and further macro economic time series about Switzerland. The package itself is a set of wrappers around API. The kofdata package is able to consume public information as well as data that needs an API token.
For further information on the data, the API and the KOF Swiss Economic Institute please consult the corresponding links.
Fire up R and run install.packages or use the GUI, if you got one.
install.packages("kofdata")
The easiest way to install the very latest version that might not have completed all checks (but contains the latest, hottest, most awesome, most exploratory, adventurous features) is to run:
devtools::install_github("KOF-ch/kofdata")
Note to those of you who do not use R regularly: in order to install directly from github make sure the devtools
package is installed.
2018-01-31: Fixed bug in translation of legacy keys. 2017-11-16: Fixed bug in get_dataset that prevented correct use of apikey. 2017-11-16: Made get_dataset and get_time_series work when series of length 0 are returned.