Skip to content

piar

0.11.0Package record

Price Index Aggregation

0packages dependsuggested by 1
6.1Kdownloads / year
93.4%test coverage
13/13flavors OK

Overview

About

Most price indexes are made with a two-step procedure, where period-over-period elementary indexes are first calculated for a collection of elementary aggregates at each point in time, and then aggregated according to a price index aggregation structure. These indexes can then be chained together to form a time series that gives the evolution of prices with respect to a fixed base period. This package contains a collection of functions that revolve around this work flow, making it easy to build standard price indexes, and implement the methods described by Balk (2008, doi:10.1017/CBO9780511720758), von der Lippe (2007, doi:10.3726/978-3-653-01120-3), and the CPI manual (2020, doi:10.5089/9781484354841.069) and PPI manual (2004, doi:10.5089/9781589063044.069) for bilateral price indexes.

Changes in 0.11.0

Significant changes

  • License has changed from MIT to GPL (>= 3).
  • Bumped minimum version of R to >= 4.4.
  • Code is now hosted on codeberg.

Improvements

  • Replacing index values is now faster.
  • It is now possible to duplicate levels/time periods when subscripting an index

by passing a named vector with new level/time periods levels. See

vignette("multiple-dimensions") for an example of how this can be useful.

  • The Matrix package is no longer a hard dependency.
  • Added a lag() method for index objects.

Bug fixes

Show all changes in 0.11.0Hide the rest of the changes in 0.11.0
  • Tables in vignettes are now rendered correctly.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.2 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.11.0
READMEYes · 410 wordsVignettesYes · 13 · dynamicNEWSYes · 100% structured · mentions 0.11.0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JOSS paper
Help pages
46 (1 internal)includes a package overview page
Examples that run
100%38 run in a plain check
Exported functions with examples
85%
Documented parameters
93%
Return-value docs
100%
Help pages citing references
26% with a bibliography file

Downloads

6.1K
CRAN downloads in the past year
Rank #8,332 · ~17/day · ~505/mo
Daily download trend is not available in this view yet.
49130 days
1.1K90 days
6.1K1 year
Compare downloads with other packages →
Also on108 r2u5 autocran1.7K conda_forge

Repository

0Stars
0Forks
2Open issues
0Open PRs
craninflationrrstatsstatistics
Last activity 2026-10-12
Responsiveness
How these are sampled
PRs merged (all time)
89%
Median days to close, 50 most recently updated closed issues
GitHub only
Median days to close, 50 most recently updated closed PRs
GitHub only

Stars over time

2025-07-25 · 52026-10-21 · 0
Earlier repositories
PracticesBeta

Repository codeberg.org/marberts/piar is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing piar adds no packages beyond those that come with R.

Depends (1)
R >= 4.4
Imports (2)
statsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.3.2 (2022), Copyright holder
Releases (11)

Pick two releases to compare their code metrics.

  • 0.11.0Latest
    record
    2026-10-12 · current release · diff ↗ ·
    listed once in CRAN's queue
    Seen in one reading of CRAN's incoming queue, at 2026-10-12 01:57 UTC, so it stayed less than the time between readings.
  • 0.10.1
    record
    2026-07-30 · diff ↗ ·
    added 12 exports
    back_period, emean, geks_index, gmean, hb_transform, nested_gmean, outliers, scale_weights, splice_index, transmute_weights, transmute_weights2, update_weights
  • 0.9.0
    record
    2026-05-06 · diff ↗ ·
    added 2 exports
    combine_classifications, impute_prices
  • R
    R 4.6.0 released · 2026-04-24
  • 0.8.3
    record
    2025-09-17 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.8.2
    record
    2025-03-19 · diff ↗ ·
    added 8 exports
    contrib<-, elementary_index, set_contrib, set_contrib_from_index, set_levels, set_time, set_weights, split_classification
  • 0.8.1
    record
    2024-09-12 · diff ↗ ·
    removed 2 exports
    carry_backwards, is_aggregate_index
    added 4 exports
    carry_backward, contrib2DF, interact_classifications, ntime
  • R
    R 4.4.0 released · 2024-04-24
  • 0.7.0
    record
    2024-03-08 · diff ↗
  • 0.6.0
    record
    2023-11-19 · diff ↗ ·
    added 3 exports
    time<-, carry_backwards, is_direct_index
  • 0.5.0
    record
    2023-08-10 · diff ↗ ·
    removed 1 export
    is_chain_index
    added 3 exports
    as_aggregation_structure, is_aggregation_structure, weights<-
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.0
    record
    2022-04-30 · diff ↗ ·
    added 1 export
    is_chainable_index
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.2
    record
    2022-02-07
Show 1 earlier eventHide 1 earlier event
  • R
    R 4.1.0 released · 2021-05-18
Across CRAN, the median accepted release of the past year spent 23 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2022-02-07
Total releases
11 / 4 yrs
License
GPL (>= 3) OSI · relicensed from MIT + file LICENSE in 0.11.0
Minimum R
≥ 4.4
Bundled data
1.3 KB / 4 files
Download size
281 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("piar")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.21105/joss.06781.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for piar version 0.11.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy