The goal of ifo is to provide a simple interface to the ifo institute time series data. The package is still in an early stage of development and the API might change in the future. Feel free to open an issue if you have any suggestions.
You can install the released version of ifo from CRAN with:
install.packages("ifo")
And the development version from GitHub with:
# install.packages("pak")
::pak("m-muecke/ifo") pak
library(ifo)
<- ifo_business()
climate
climate#> # A tibble: 1,434 × 6
#> yearmonth uncertainty economic_expansion indicator series value
#> <date> <dbl> <dbl> <chr> <chr> <dbl>
#> 1 2005-01-01 NA 83.1 climate index 92.2
#> 2 2005-01-01 NA 83.1 situation index 87.4
#> 3 2005-01-01 NA 83.1 expectation index 97.2
#> 4 2005-01-01 NA 83.1 climate balance 1.5
#> 5 2005-01-01 NA 83.1 situation balance -0.8
#> # ℹ 1,429 more rows