Skip to content

hicp

Harmonised Index of Consumer Prices

v1.1.0 · Feb 3, 2026 · EUPL

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>). Based on the manual, this package provides functions to access and work with HICP data from Eurostat's public database (<https://ec.europa.eu/eurostat/data/database>).

Downloads

CRAN

289

Last 30 days

16403rd

642

Last 90 days

3.3K

Last year

Trend: +106.4% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

25

Last 90 days

122

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

2

Last 7 days

15

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 19, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [40s/45s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional 
...[truncated]...
cp.data.r:15:3'): (code run outside of `test_that()`) ──────
  Expected `nrow(dt1) > 0L` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 547 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [79s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test
...[truncated]...
cp.data.r:15:3'): (code run outside of `test_that()`) ──────
  Expected `nrow(dt1) > 0L` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 547 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

7,839

Files

57

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,052 (38.9%)Tests 3,515 (44.8%)Docs 888 (11.3%)Vignettes 384 (4.9%)

API

Exported functions

35

Internal functions

28

Recent export changes

v1.1.0+7 countries, is.ea, is.eea +4 more  −1 unbundle
v1.0.0+5 aggregate.tree, data, datafilters +2 more  −4 coicop.bundles, hicp.datafilters, hicp.dataimport 1 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.66

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

11.1%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

EUPL

License flags

not SPDX, not OSI

History

Versions

9

First release

2024-02-04

Latest release

2026-02-03

Avg cadence

36 days

Cold removal rate

100%

Dep drift

0

LOC over versions

v0.4.1: 3,963 LOCv0.4.2: 3,974 LOCv0.5.0: 4,029 LOCv0.5.1: 4,188 LOCv0.6.0: 4,268 LOCv0.6.1: 4,265 LOCv1.0.0: 7,260 LOCv1.0.2: 7,267 LOCv1.1.0: 7,839 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies restatapi data.table hicp

Version History

10 tracked
new 1.1.0 Mar 10, 2026
updated 1.1.0 ← 1.0.2 diff Feb 2, 2026
updated 1.0.2 ← 1.0.0 diff Jan 18, 2026
updated 1.0.0 ← 0.6.1 diff Jul 27, 2025
updated 0.6.1 ← 0.6.0 diff Jul 22, 2024
updated 0.6.0 ← 0.5.1 diff Jul 18, 2024
updated 0.5.1 ← 0.5.0 diff Jun 1, 2024
updated 0.5.0 ← 0.4.2 diff May 26, 2024
updated 0.4.2 ← 0.4.1 diff Feb 27, 2024
new 0.4.1 Feb 3, 2024