Function to add COICOP categories in the Spanish Household Budget Survey (HBS) according to the aggregation (coicop_year) specified in the package.
add_coicop(data, year)
dataset with the data from the HBS.
year of the HBS to be modified according to the aggregation specified in the package.
a dataset with HBS data where COICOP categories are aggregated according to the classification specified in the package.