Skip to content

Commit

Permalink
Added doi
Browse files Browse the repository at this point in the history
  • Loading branch information
marberts committed Nov 10, 2023
1 parent 0529acf commit 0ce92cc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: gpindex
Title: Generalized Price and Quantity Indexes
Version: 0.5.0.9006
Version: 0.5.0.9007
Authors@R: c(
person("Steve", "Martin", role = c("aut", "cre", "cph"), email = "[email protected]", comment = c(ORCID = "0000-0003-2544-9480"))
)
Expand Down
2 changes: 2 additions & 0 deletions R/contributions.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#'
#' @inheritParams generalized_mean
#' @inheritParams nested_mean
#' @param w,w1,w2 A strictly positive numeric vector of weights, the same length
#' as `x`. The default is to equally weight each element of `x`.
#'
#' @returns
#' `contributions()` returns a function:
Expand Down
3 changes: 2 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ knitr::opts_chunk$set(
[![gpindex status badge](https://marberts.r-universe.dev/badges/gpindex)](https://marberts.r-universe.dev)
[![R-CMD-check](https://github.com/marberts/gpindex/workflows/R-CMD-check/badge.svg)](https://github.com/marberts/gpindex/actions)
[![codecov](https://codecov.io/gh/marberts/gpindex/branch/master/graph/badge.svg?token=lHDHsGHsLd)](https://app.codecov.io/gh/marberts/gpindex)
[![DOI](https://zenodo.org/badge/261861375.svg)](https://zenodo.org/doi/10.5281/zenodo.10097742)

A small package for calculating lots of different price indexes, and by extension quantity indexes. Provides tools to build and work with any type of bilateral generalized-mean index (of which most price indexes are), along with a few important indexes that don't belong to the generalized-mean family (e.g., superlative quadratic-mean indexes, GEKS). Implements and extends many of the methods in Balk (2008), von der Lippe (2001), and the CPI manual (2020) for bilateral price indexes.

Expand Down Expand Up @@ -100,7 +101,7 @@ quadratic_contributions(p1 / p0, s0)

## Prior work

There are a number of R packages on the CRAN that implement the standard index-number formulas (e.g., **IndexNumber**, ***productivity***, ***IndexNumR***, ***micEconIndex***, ***PriceIndices***). While there is support for a large number of index-number formulas out-of-the box in this package, the focus is on the tools to easily make and work with any type of generalized-mean price index. Consequently, compared to existing packages, this package is suitable for building custom price/quantity indexes, calculating indexes with sample data, decomposing indexes, and learning about or researching different types of index-number formulas.
There are a number of R packages on the CRAN that implement the standard index-number formulas (e.g., **IndexNumber**, **productivity**, **IndexNumR**, **micEconIndex**, **PriceIndices**). While there is support for a large number of index-number formulas out-of-the box in this package, the focus is on the tools to easily make and work with any type of generalized-mean price index. Consequently, compared to existing packages, this package is suitable for building custom price/quantity indexes, calculating indexes with sample data, decomposing indexes, and learning about or researching different types of index-number formulas.

## References

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ status](https://www.r-pkg.org/badges/version/gpindex)](https://cran.r-project.or
badge](https://marberts.r-universe.dev/badges/gpindex)](https://marberts.r-universe.dev)
[![R-CMD-check](https://github.com/marberts/gpindex/workflows/R-CMD-check/badge.svg)](https://github.com/marberts/gpindex/actions)
[![codecov](https://codecov.io/gh/marberts/gpindex/branch/master/graph/badge.svg?token=lHDHsGHsLd)](https://app.codecov.io/gh/marberts/gpindex)
[![DOI](https://zenodo.org/badge/261861375.svg)](https://zenodo.org/doi/10.5281/zenodo.10097742)

A small package for calculating lots of different price indexes, and by
extension quantity indexes. Provides tools to build and work with any
Expand Down Expand Up @@ -125,8 +126,8 @@ quadratic_contributions(p1 / p0, s0)
## Prior work

There are a number of R packages on the CRAN that implement the standard
index-number formulas (e.g., **IndexNumber**, ***productivity***,
***IndexNumR***, ***micEconIndex***, ***PriceIndices***). While there is
index-number formulas (e.g., **IndexNumber**, **productivity**,
**IndexNumR**, **micEconIndex**, **PriceIndices**). While there is
support for a large number of index-number formulas out-of-the box in
this package, the focus is on the tools to easily make and work with any
type of generalized-mean price index. Consequently, compared to existing
Expand Down
7 changes: 2 additions & 5 deletions man/contributions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0ce92cc

Please sign in to comment.