| cer_reconcile | R Documentation |
Compares a scalar or data-frame sum against the CER Quarterly Carbon Market Report headline for the same quarter and measure. Warns on absolute percentage gap > 2% (default). Small gaps (sub-1%) are expected because ACCU project registers are retroactively revised between QCMR releases.
cer_reconcile(value, quarter, measure, sum_column = NULL, warn_pct = 0.02)
value |
Numeric scalar or data frame. If a data frame, pass
|
quarter |
Character, e.g. |
measure |
Character, matching a |
sum_column |
Column name to sum when |
warn_pct |
Warn if |pct_diff| > this threshold. Default 0.02. |
A one-row data frame: measure, quarter, value,
reference, diff, pct_diff, unit, source.
Clean Energy Regulator (quarterly). Quarterly Carbon Market Report. https://cer.gov.au/markets/reports-and-data/quarterly-carbon-market-reports
Other reconciliation:
cer_qcmr_reference()
cer_reconcile(value = 158.4e6,
quarter = "2024-Q4",
measure = "accu_cumulative_issuances")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.