Skip to content

Commit

Permalink
New package version and updated news
Browse files Browse the repository at this point in the history
  • Loading branch information
sweinand committed Jul 19, 2024
1 parent f6df536 commit 0df2fb3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: hicp
Type: Package
Title: Harmonised Index of Consumer Prices
Version: 0.5.1
Version: 0.6.0
Authors@R: person("Sebastian", "Weinand", role = c("aut", "cre"), email = "[email protected]")
Description: The Harmonised Index of Consumer Prices (HICP) is the key economic figure to measure inflation in the euro area.
The methodology underlying the HICP is documented in the HICP Methodological Manual (<https://ec.europa.eu/eurostat/web/products-manuals-and-guidelines/w/ks-gq-24-003>).
Expand Down
9 changes: 9 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# hicp 0.6.0

* Introduced the global options `options("hicp.unbundle"=TRUE)`, `options(hicp.coicop.version="ecoicop-hicp")`, `options(hicp.all.items.code="00")`
* The functions `is.coicop()`, `level()`, `parent()`, `child()`, `aggregate()`, and `tree()` now have the argument `settings`, which can be used to define a COICOP version (`coicop.version`), the all-items code (`all.items.code`), and how bundle codes are treated (`unbundle`)
* The function `is.coicop()` now accepts different COICOP versions. The functions `level()`, `parent()`, `child()`, `aggregate()`, and `tree()` only process valid COICOP codes and the all-items code.
* Fixed the behavior of `aggregate()` when the functions `jevons()`, `carli()`, and `harmonic()` are used and no weights `w0` are provided
* Fixed a bug in the function `chain()`, which occurred when the unchained series started in January and `by=12`. In this case, the index reference period (with value 100) was not correctly detected
* Updated documentation and tests accordingly

# hicp 0.5.1

* Fixed a bug in the functions `jevons()`, `carli()`, and `harmonic()`, which checked the weights `w0` that were, however, not required by the function
Expand Down
7 changes: 5 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
## Resubmission
This is a submission of an updated package version. In this version I have:

* Fixed a bug in the functions `jevons()`, `carli()`, and `harmonic()`
* Fixed a bug in the function `chain()`
* Introduced the global options `options("hicp.unbundle"=TRUE)`, `options(hicp.coicop.version="ecoicop-hicp")`, `options(hicp.all.items.code="00")`
* The functions `is.coicop()`, `level()`, `parent()`, `child()`, `aggregate()`, and `tree()` now have the argument `settings`, which can be used to define a COICOP version (`coicop.version`), the all-items code (`all.items.code`), and how bundle codes are treated (`unbundle`)
* The function `is.coicop()` now accepts different COICOP versions. The functions `level()`, `parent()`, `child()`, `aggregate()`, and `tree()` only process valid COICOP codes and the all-items code.
* Fixed the behavior of `aggregate()` when the functions `jevons()`, `carli()`, and `harmonic()` are used and no weights `w0` are provided
* Fixed a bug in the function `chain()`, which occurred when the unchained series started in January and `by=12`. In this case, the index reference period (with value 100) was not correctly detected
* Updated documentation and tests accordingly

## Test environments
Expand Down

0 comments on commit 0df2fb3

Please sign in to comment.