Skip to content

gpindex

0.6.3

Generalized Price and Quantity Indexes

0packages depend
4Kdownloads / year
80.0%test coverage
13/13checks pass

Overview

About
Maintained by Steve MartinFirst published 2020-06-1417 releasesCRAN page ↗GitHub ↗

Tools to build and work with bilateral generalized-mean price indexes (and by extension quantity indexes), and indexes composed of generalized-mean indexes (e.g., superlative quadratic-mean indexes, GEKS). Covers the core mathematical machinery for making bilateral price indexes, computing price relatives, detecting outliers, and decomposing indexes, with wrappers for all common (and many uncommon) index-number formulas. Implements and extends many of the methods in 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).

Install

Health

CRAN checks
13OK
Slowest check: 1.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.86
80.0%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-05-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 266 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
78%
Return-value docs
100%
References docs
63%

Downloads

4K
CRAN downloads in the past year
Rank #12,638 · ~11/day · ~332/mo
Daily download trend is not available in this view yet.
19230 days
79190 days
4K1 year
Compare downloads with other packages →
Also on119 r2u19 autocran1.4K conda_forge

Repository

Repository
8Stars
1Forks
0Open issues
0Open PRs
5Releases
401Commits
2Contributors
rr-packagecraneconomicsstatisticsrstatsinflationofficial-statistics
401 commits · Last activity 2026-04-09 · 0% stars, 30d

Stars over time

2025-01-25 · 62026-07-07 · 8

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/marberts/gpindex on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Research and citation (1)
CITATION.cff
Show all practices
Lint, format, editor (3)
lintrAirVS Code
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1
Imports (1)
stats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

17 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.3Latest
    2025-06-07 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.6.2
    2024-08-16 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.6.1
    2024-04-12 · diff ↗
  • 0.6.0
    2023-11-15 · diff ↗
  • 0.5.0
    2023-08-08 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.3
    2022-05-01 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.2
    2022-01-26 · diff ↗
  • 0.3.9
    2021-11-26 · diff ↗
  • 0.3.6
    2021-10-02 · diff ↗
  • 0.3.4
    2021-08-04 · diff ↗
  • 0.3.1
    2021-07-07 · diff ↗
Show 8 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.5
    2021-02-02 · diff ↗
  • 0.2.3
    2020-12-02 · diff ↗
  • 0.2.1
    2020-11-04 · diff ↗
  • 0.2.0
    2020-09-11 · diff ↗
  • 0.1.2
    2020-07-25 · diff ↗
  • 0.1.1
    2020-06-14
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-06-14
Total releases
17 / 6 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Bundled data
0.5 KB / 2 files
Download size
163 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gpindex")

The authors publish a CITATION.cff, so they have said how they want this cited. Run citation() and use what it gives you.

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 gpindex version 0.6.3 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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