Calculate values for identity/definition variables not available in Eurostat
calculate_identities.RdCalculates true values for variables that are given by identity or definition but are not directly available from Eurostat.
Arguments
- specification
A tibble or data.frame as returned by
translate_variables.- data
A tibble or data.frame containing the downloaded or locally loaded data as returned by
load_or_download_variables.- dictionary
A tibble or data.frame storing the model variable names in a column named 'model_varname' and the corresponding Eurostat variable code in 'eurostat_code'. When
NULL, the default dictionary is used.