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 development version of ifo from GitHub with:
# install.packages("pak")
pak::pak("m-muecke/ifo")
library(ifo)
climate <- ifo_business()
climate
#> # A tibble: 1,392 × 5
#> yearmonth uncertainty indicator series value
#> <date> <dbl> <chr> <chr> <dbl>
#> 1 2005-01-01 NA climate index 92.2
#> 2 2005-01-01 NA situation index 87.4
#> 3 2005-01-01 NA expectation index 97.2
#> 4 2005-01-01 NA climate balance 1.5
#> 5 2005-01-01 NA situation balance -0.8
#> # ℹ 1,387 more rows