Package: chainlink 0.1.0.9000

chainlink: Chain-Linked Price and Volume Measures

Tools to derive price and volume measures of national accounts following chapter 8 of the International Monetary Fund (2018) "Quarterly National Accounts Manual (2017 Edition)" <doi:10.5089/9781475589870.069>: Laspeyres-type, Paasche-type and Fisher-type volume indices, chain-linking of quarterly or monthly volume indices with the annual overlap and the one-quarter overlap techniques, exact contributions to percent change of the chain-linked volume measures, and non-additivity of the chain-linked series. The benchmarking of the quarterly series on annual data can be done with the 'tempdisagg' package.

Authors:Alain Quartier-la-Tente [aut, cre]

chainlink_0.1.0.9000.tar.gz
chainlink_0.1.0.9000.zip(r-4.7-any)chainlink_0.1.0.9000.zip(r-4.6-any)chainlink_0.1.0.9000.zip(r-4.5-any)
chainlink_0.1.0.9000.tgz(r-4.6-any)chainlink_0.1.0.9000.tgz(r-4.5-any)
chainlink_0.1.0.9000.tar.gz(r-4.7-any)chainlink_0.1.0.9000.tar.gz(r-4.6-any)
chainlink_0.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
chainlink/json (API)

# Install 'chainlink' in R:
install.packages('chainlink', repos = c('https://aqlt.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/aqlt/chainlink/issues

Pkgdown/docs site:https://aqlt.github.io

Datasets:
  • imf_cp - Data of the IMF Quarterly National Accounts Manual
  • imf_pi - Data of the IMF Quarterly National Accounts Manual

On CRAN:

Conda:

3.65 score 6 scripts 17 exports 0 dependencies

Last updated from:c2be17b919. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK150
source / vignettesOK153
linux-releaseOK158
macos-releaseOK86
macos-oldrelOK118
windows-develOK75
windows-releaseOK59
windows-oldrelOK67
wasm-releaseOK76

Exports:annual_chainchain_aggregatechain_contribchain_discrepancychain_laspeyreschain_linkchain_pseudochain_rebasechain_unchaincp_pi2cycp_pi2volfisherfisher_contriblaspeyrespaaschepi_annualpi_py2pp

Dependencies:

Chapter 8 of the IMF Quarterly National Accounts Manual
Correspondence between the manual and the package | Weighted and Unweighted Annual Averages of Prices When Sales and Price Patterns Through the Year are Uneven (example 8.1) | Deriving Annual and Quarterly Volume Measures using Laspeyres-type Formula (example 8.2) | Deriving Annual Volume Measures using Fisher Formula (example 8.3) | Deriving Quarterly Volume Measures using Fisher Formula (example 8.4) | Frequency of Chain-Linking and the Problem of "Drift" (example 8.5) | Chain-Linking Annually-weighted Laspeyres-type Indices: Annual Overlap Technique (example 8.6) | Chain-Linking Annually-weighted Laspeyres-type Indices: the One-Quarter Overlap Technique (example 8.7) | Chain-Linking and Benchmarking Quarterly Fisher Indices (example 8.8) | Contributions to Percent Change from Annually-chained Laspeyres-type Volume Measures (example 8.9) | Beyond the manual: year-on-year growth and one-quarter overlap | Annually-weighted Laspeyres Indices: Annual Overlap and One-Quarter Overlap Techniques (figure 8.1) | Chain Laspeyres Volume Series and Chain Fisher Volume Series (figure 8.2) | Annual Overlap, One-Quarter Overlap and One-Quarter Overlap with Benchmarking (example 8.A1) | Effect of Benchmarking on the Chain Volume Series with QO technique (figure 8.A1) | References

Last update: 2026-11-17
Started: 2024-01-17

Contributions to percent change of chain-linked volume measures
Principle | Example | One-quarter overlap | Correspondence with the manual | Quarterly Fisher indices | Non-additivity and residual | Monthly data | Variables that change sign | Change of the reference year | References

Last update: 2026-11-17
Started: 2026-11-14

Practical case: from current prices to contributions to growth
1. Prepare the inputs | 2. Chain-linked volume series | 3. Growth rates and contributions | 4. Chart of the contributions | 5. Annual series and change of the reference year | 6. One-quarter overlap and benchmarking | 7. Seasonal adjustment of chain-linked series | References

Last update: 2026-11-17
Started: 2026-11-14