In the following order tries to fill missing values:

impute_indicators(indic)

Arguments

indic

An imputed indicator from get_eurostat_indicator.

Value

A data frame that with updated actual, missing, approximated, forecasted, nocb, locf estimates.

Details

  1. Approximate missing values withing time series with na_approx

  2. Next observation carry forward for old missing values na_nocb

  3. Forecast the time series ahead indicator_forecast

  4. If the forecast did not work, try last observation carry forward na_locf.

See also

Other approximation functions: na_approx(), na_locf(), na_nocb()