This functions selects the correct countries to be used in the aggregates selected by the user, either official or alternative aggregates.

create_countries_vctr(country, year, lkup)

Arguments

country

character: Country ISO 3 codes

year

integer: Reporting year

lkup

list: A list of lkup tables

Value

a list of vectors with countries and regions code to be used in pip() and pip_grp()