{
  "_id": "6a2bb3b95783985943197a36",
  "Package": "gpindex",
  "Title": "Generalized Price and Quantity Indexes",
  "Version": "0.6.3.9004",
  "Authors@R": "c(\nperson(\"Steve\", \"Martin\", role = c(\"aut\", \"cre\", \"cph\"),\nemail = \"marberts@protonmail.com\",\ncomment = c(ORCID = \"0000-0003-2544-9480\"))\n)",
  "Description": "Tools to build and work with bilateral generalized-mean\nprice indexes (and by extension quantity indexes), and indexes\ncomposed of generalized-mean indexes (e.g., superlative\nquadratic-mean indexes, GEKS). Covers the core mathematical\nmachinery for making bilateral price indexes, computing price\nrelatives, detecting outliers, and decomposing indexes, with\nwrappers for all common (and many uncommon) index-number\nformulas. Implements and extends many of the methods in Balk\n(2008, <doi:10.1017/CBO9780511720758>), von der Lippe (2007,\n<doi:10.3726/978-3-653-01120-3>), and the CPI manual (2020,\n<doi:10.5089/9781484354841.069>).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "URL": "https://marberts.github.io/gpindex/,\nhttps://github.com/marberts/gpindex",
  "BugReports": "https://github.com/marberts/gpindex/issues",
  "LazyData": "true",
  "Collate": "'helpers.R' 'means.R' 'weights.R' 'contributions.R'\n'price_indexes.R' 'geks.R' 'splice.R' 'operators.R'\n'offset_prices.R' 'outliers.R' 'price_data.R'\n'gpindex-package.R'",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "quarto",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Repository": "https://marberts.r-universe.dev",
  "Date/Publication": "2026-04-09 02:10:26 UTC",
  "RemoteUrl": "https://github.com/marberts/gpindex",
  "RemoteRef": "HEAD",
  "RemoteSha": "f236588e6bbf1124c2a9763f8748773e971aa2c8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-12 07:18:21 UTC",
    "User": "root"
  },
  "Author": "Steve Martin [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-2544-9480>)",
  "Maintainer": "Steve Martin <marberts@protonmail.com>",
  "MD5sum": "44abac1ee45c4f50f9ccb95dae6f1f4b",
  "_user": "marberts",
  "_type": "src",
  "_file": "gpindex_0.6.3.9004.tar.gz",
  "_fileid": "bb12d764b94b94e36c9febafd0745d03b7ce351de1013afe9cf1325629450a7f",
  "_filesize": 395787,
  "_sha256": "bb12d764b94b94e36c9febafd0745d03b7ce351de1013afe9cf1325629450a7f",
  "_created": "2026-06-12T07:18:21.000Z",
  "_published": "2026-06-12T07:22:33.004Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80978683140,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7585460131"
    },
    {
      "job": 80978683159,
      "time": 107,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585456792"
    },
    {
      "job": 80978683149,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7585472785"
    },
    {
      "job": 80978683108,
      "time": 164,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585487788"
    },
    {
      "job": 80978337656,
      "time": 145,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585426258"
    },
    {
      "job": 80978683114,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585451294"
    },
    {
      "job": 80978683148,
      "time": 112,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7585458196"
    },
    {
      "job": 80978683163,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7585454172"
    },
    {
      "job": 80978683156,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585455361"
    }
  ],
  "_buildurl": "https://github.com/r-universe/marberts/actions/runs/27400833758",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/marberts/gpindex",
  "_commit": {
    "id": "f236588e6bbf1124c2a9763f8748773e971aa2c8",
    "author": "Steve Martin <62676717+marberts@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "feat: Added more general outliers function.\n\nCloses #7.",
    "time": 1775700626
  },
  "_maintainer": {
    "name": "Steve Martin",
    "email": "marberts@protonmail.com",
    "login": "marberts",
    "orcid": "0000-0003-2544-9480",
    "description": "Using economics and data science to measure the economy.",
    "uuid": 62676717
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "marberts",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 3
    },
    {
      "week": "2026-15",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "economics",
    "inflation",
    "official-statistics",
    "statistics",
    "quarto"
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "marberts",
      "count": 400,
      "uuid": 62676717
    },
    {
      "user": "asavagar",
      "count": 1,
      "uuid": 6012234
    }
  ],
  "_userbio": {
    "uuid": 62676717,
    "type": "user",
    "name": "Steve Martin",
    "description": "Using economics and data science to measure the economy."
  },
  "_downloads": {
    "count": 311,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gpindex"
  },
  "_devurl": "https://github.com/marberts/gpindex",
  "_pkgdown": "https://marberts.github.io/gpindex/",
  "_searchresults": 36,
  "_quarto": true,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gpindex.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/marberts/gpindex",
  "_realowner": "marberts",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2020-06-14"
    },
    {
      "version": "0.1.2",
      "date": "2020-07-25"
    },
    {
      "version": "0.2.0",
      "date": "2020-09-11"
    },
    {
      "version": "0.2.1",
      "date": "2020-11-04"
    },
    {
      "version": "0.2.3",
      "date": "2020-12-02"
    },
    {
      "version": "0.2.5",
      "date": "2021-02-02"
    },
    {
      "version": "0.3.1",
      "date": "2021-07-07"
    },
    {
      "version": "0.3.4",
      "date": "2021-08-04"
    },
    {
      "version": "0.3.6",
      "date": "2021-10-02"
    },
    {
      "version": "0.3.9",
      "date": "2021-11-26"
    },
    {
      "version": "0.4.2",
      "date": "2022-01-26"
    },
    {
      "version": "0.4.3",
      "date": "2022-05-01"
    },
    {
      "version": "0.5.0",
      "date": "2023-08-08"
    },
    {
      "version": "0.6.0",
      "date": "2023-11-15"
    },
    {
      "version": "0.6.1",
      "date": "2024-04-12"
    },
    {
      "version": "0.6.2",
      "date": "2024-08-16"
    },
    {
      "version": "0.6.3",
      "date": "2025-06-07"
    }
  ],
  "_exports": [
    "arithmetic_agmean_index",
    "arithmetic_contributions",
    "arithmetic_index",
    "arithmetic_mean",
    "back_period",
    "balanced",
    "base_period",
    "bw_index",
    "contraharmonic_mean",
    "contributions",
    "cswd_index",
    "cswdb_index",
    "extended_mean",
    "factor_weights",
    "fisher_contributions",
    "fisher_contributions2",
    "fisher_geks",
    "fisher_index",
    "fisher_mean",
    "fixed_cutoff",
    "geks",
    "generalized_logmean",
    "generalized_mean",
    "geometric_agmean_index",
    "geometric_contributions",
    "geometric_index",
    "geometric_mean",
    "grouped",
    "harmonic_contributions",
    "harmonic_index",
    "harmonic_mean",
    "hb_transform",
    "hlp_index",
    "index_weights",
    "jevons_index",
    "kimber_method",
    "laspeyres_index",
    "lehmer_mean",
    "lehr_index",
    "lm_index",
    "logmean",
    "lowe_index",
    "martini_index",
    "nested_contributions",
    "nested_contributions2",
    "nested_mean",
    "nested_transmute",
    "nested_transmute2",
    "outliers",
    "paasche_index",
    "quantity_index",
    "quartile_method",
    "resistant_fences",
    "robust_z",
    "scale_weights",
    "splice_index",
    "stuvel_index",
    "tornqvist_geks",
    "transmute_weights",
    "tukey_algorithm",
    "update_weights",
    "walsh_geks",
    "young_index"
  ],
  "_datasets": [
    {
      "name": "price6",
      "title": "Sample price/quantity data",
      "object": "price6",
      "class": [
        "data.frame"
      ],
      "fields": [
        "t1",
        "t2",
        "t3",
        "t4",
        "t5"
      ],
      "rows": 6,
      "table": true,
      "tojson": true
    },
    {
      "name": "quantity6",
      "title": "Sample price/quantity data",
      "object": "quantity6",
      "class": [
        "data.frame"
      ],
      "fields": [
        "t1",
        "t2",
        "t3",
        "t4",
        "t5"
      ],
      "rows": 6,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "back_period",
      "title": "Offset a vector prices or quantities",
      "topics": [
        "back_period",
        "base_period"
      ]
    },
    {
      "page": "balanced",
      "title": "Balanced operator",
      "concept": [
        "operators"
      ],
      "topics": [
        "balanced"
      ]
    },
    {
      "page": "contributions",
      "title": "Percent-change contributions",
      "topics": [
        "arithmetic_contributions",
        "contributions",
        "fisher_contributions",
        "fisher_contributions2",
        "geometric_contributions",
        "harmonic_contributions",
        "nested_contributions",
        "nested_contributions2"
      ]
    },
    {
      "page": "extended_mean",
      "title": "Extended mean",
      "concept": [
        "means"
      ],
      "topics": [
        "extended_mean",
        "generalized_logmean",
        "logmean"
      ]
    },
    {
      "page": "factor_weights",
      "title": "Factor weights",
      "concept": [
        "weights functions"
      ],
      "topics": [
        "factor_weights",
        "update_weights"
      ]
    },
    {
      "page": "geks",
      "title": "GEKS index",
      "concept": [
        "price index functions"
      ],
      "topics": [
        "fisher_geks",
        "geks",
        "tornqvist_geks",
        "walsh_geks"
      ]
    },
    {
      "page": "generalized_mean",
      "title": "Generalized mean",
      "concept": [
        "means"
      ],
      "topics": [
        "arithmetic_mean",
        "generalized_mean",
        "geometric_mean",
        "harmonic_mean"
      ]
    },
    {
      "page": "grouped",
      "title": "Grouped operator",
      "concept": [
        "operators"
      ],
      "topics": [
        "grouped"
      ]
    },
    {
      "page": "index_weights",
      "title": "Index weights",
      "concept": [
        "price index functions"
      ],
      "topics": [
        "index_weights"
      ]
    },
    {
      "page": "lehmer_mean",
      "title": "Lehmer mean",
      "concept": [
        "means"
      ],
      "topics": [
        "contraharmonic_mean",
        "lehmer_mean"
      ]
    },
    {
      "page": "nested_mean",
      "title": "Nested generalized mean",
      "concept": [
        "means"
      ],
      "topics": [
        "fisher_mean",
        "nested_mean"
      ]
    },
    {
      "page": "outliers",
      "title": "Outlier detection for price relatives",
      "topics": [
        "fixed_cutoff",
        "hb_transform",
        "kimber_method",
        "outliers",
        "quartile_method",
        "resistant_fences",
        "robust_z",
        "tukey_algorithm"
      ]
    },
    {
      "page": "price_data",
      "title": "Sample price/quantity data",
      "topics": [
        "price6",
        "price_data",
        "quantity6"
      ]
    },
    {
      "page": "price_indexes",
      "title": "Price indexes",
      "concept": [
        "price index functions"
      ],
      "topics": [
        "arithmetic_agmean_index",
        "arithmetic_index",
        "bw_index",
        "cswdb_index",
        "cswd_index",
        "fisher_index",
        "geometric_agmean_index",
        "geometric_index",
        "harmonic_index",
        "hlp_index",
        "jevons_index",
        "laspeyres_index",
        "lehr_index",
        "lm_index",
        "lowe_index",
        "martini_index",
        "paasche_index",
        "price_indexes",
        "stuvel_index",
        "young_index"
      ]
    },
    {
      "page": "quantity_index",
      "title": "Quantity index operator",
      "concept": [
        "operators"
      ],
      "topics": [
        "quantity_index"
      ]
    },
    {
      "page": "scale_weights",
      "title": "Scale weights",
      "concept": [
        "weights functions"
      ],
      "topics": [
        "scale_weights"
      ]
    },
    {
      "page": "splice_index",
      "title": "Splice an index series",
      "concept": [
        "price index functions"
      ],
      "topics": [
        "splice_index"
      ]
    },
    {
      "page": "transmute_weights",
      "title": "Transmute weights",
      "concept": [
        "weights functions"
      ],
      "topics": [
        "nested_transmute",
        "nested_transmute2",
        "transmute_weights"
      ]
    }
  ],
  "_pkglogo": "https://github.com/marberts/gpindex/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/marberts/gpindex/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "decomposing-indexes.qmd",
      "filename": "decomposing-indexes.html",
      "title": "Decomposing price indexes",
      "engine": "quarto::html",
      "headings": [
        "Decomposing generalized-mean indexes",
        "Transitivity, monotonicity, and uniqueness",
        "Numerical example",
        "Extensions",
        "Decomposing superlative indexes",
        "Decomposing aggregated indexes",
        "Decomposing deflators",
        "Decomposing contra-harmonic indexes",
        "References"
      ],
      "created": "2025-05-28 04:44:06",
      "modified": "2026-01-24 04:36:32",
      "commits": 8
    },
    {
      "source": "gpindex.qmd",
      "filename": "gpindex.html",
      "title": "Generalized Price and Quantity Indexes",
      "engine": "quarto::html",
      "headings": [
        "Making generalized-mean indexes",
        "Decomposing indexes",
        "References"
      ],
      "created": "2025-05-29 04:00:44",
      "modified": "2025-10-13 03:41:02",
      "commits": 2
    }
  ],
  "_score": 6.413634997198556,
  "_indexed": true,
  "_nocasepkg": "gpindex",
  "_universes": [
    "marberts"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.3.9004",
      "date": "2026-06-12T07:20:21.000Z",
      "distro": "noble",
      "commit": "f236588e6bbf1124c2a9763f8748773e971aa2c8",
      "fileid": "bcf310e2facdbbe0b5e44e7a8140cf55e38162831406e005451572f0d1852596",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marberts/actions/runs/27400833758"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.3.9004",
      "date": "2026-06-12T07:20:08.000Z",
      "distro": "noble",
      "commit": "f236588e6bbf1124c2a9763f8748773e971aa2c8",
      "fileid": "4560c60a99ab953c685d506f928a9e3f16777dcbcddb668dfd44eccc0107891f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marberts/actions/runs/27400833758"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.3.9004",
      "date": "2026-06-12T07:21:05.000Z",
      "commit": "f236588e6bbf1124c2a9763f8748773e971aa2c8",
      "fileid": "9bcfc5cf9dcb6380510e275e88a7e624f14d61e9660d85b190e209c1786136b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marberts/actions/runs/27400833758"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.3.9004",
      "date": "2026-06-12T07:21:53.000Z",
      "commit": "f236588e6bbf1124c2a9763f8748773e971aa2c8",
      "fileid": "253cd80965fd41b10af1332d3b299673a9aa28e64b3b612ed1390574d7b6a464",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marberts/actions/runs/27400833758"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.3.9004",
      "date": "2026-06-12T07:20:05.000Z",
      "commit": "f236588e6bbf1124c2a9763f8748773e971aa2c8",
      "fileid": "ab4d2b40282d2617027ab0ff06cce865d154d92c90df66443e3e10b36913c3df",
      "status": "success",
      "buildurl": "https://github.com/r-universe/marberts/actions/runs/27400833758"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.3.9004",
      "date": "2026-06-12T07:20:06.000Z",
      "commit": "f236588e6bbf1124c2a9763f8748773e971aa2c8",
      "fileid": "f3aa62a4cde667fa95b9d9fcaee5c61cb827734591afd96442a927289838a470",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marberts/actions/runs/27400833758"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.3.9004",
      "date": "2026-06-12T07:19:49.000Z",
      "commit": "f236588e6bbf1124c2a9763f8748773e971aa2c8",
      "fileid": "9d4e732d680ed3a26f6cfa38726358000106edaa9f7df7b481234f16a24894f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marberts/actions/runs/27400833758"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6.3.9004",
      "date": "2026-06-12T07:19:58.000Z",
      "commit": "f236588e6bbf1124c2a9763f8748773e971aa2c8",
      "fileid": "e1c98292a520234af0d2e6f9b27959ff821f45f3005064e8441031f59fd98ed5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marberts/actions/runs/27400833758"
    }
  ]
}