Breaking changes:
-
Updated the package's default COICOP version to ECOICOP version 2 for HICP:
options(hicp.coicop.version="ecoicop2.hicp"). -
Replaced the data set
spec.aggswith the functionspec.agg(), which gives the composition of special aggregates based on the selected COICOP version. -
Replaced the data set
countrieswith the functioncountries(), which gives the names and codes of all countries with HICP data. -
Removed the global option
options("hicp.coicop.bundles").
In the new COICOP versionecoicop2.hicp, bundle codes are no longer used.
The COICOP bundles previously used are still internally defined and considered forecoicop1.hicp. -
Made the function
unbundle()a non-exported one. -
Dropped the argument
labelfrom the functionlevel().
New features and other changes:
-
Added the global option
options("hicp.coicop.prefix")to allow COICOP codes to have a prefix likeCP. -
Added the functions
is.ea(),is.eu()andis.eea()to indicate if a country belongs to one of the European aggregates. -
Added the function
is.spec.agg()to indicate if a code is a special aggregate. -
Added the function
label()to label all valid COICOP, bundle and special aggregate codes.
Bug fixes:
- Corrected the use of
settings$chattyin the functioncontrib().