An internal function designed to compute the regional weights of a set of variables. The World region
is considered as the annual unit.
Usage
compute_sec_prevsec_weight(dt)
Arguments
- dt
dataset with the following columns: scenario, region, var (reporting variable), year, value
Value
dataset with `sec_prevsec_weight` column.