get_macro_economic_data {oRaklE} | R Documentation |
Load a list of macroeconomic data from WDI
Description
This function downloads a set of ten macroeconomic variables via API from the World Development Indicators (WDI) of the World Bank (https://databank.worldbank.org/source/world-development-indicators). The variables are suspected to have a predictive capacity for the load data.
Usage
get_macro_economic_data(longterm_data)
Arguments
longterm_data |
The long-term data series resulting from the function |
Value
Data frame with the original time series and 10 additional columns with macroeconomic indicators.
See Also
See function decompose_load_data
for the generation of the long-term series and long_term_lm
for the selection of covariates.
Examples
example_longterm_and_macro_data <- get_macro_economic_data(example_longterm_data)
print("Macro economic variables are added from the World Bank Developer Indicators:")
example_longterm_and_macro_data
[Package oRaklE version 1.0.1 Index]