Meta-functions that simulate ACM0013 data, estimate emissions, and aggregate monitoring results.

aggregate_monitoring_periods_acm0013(data, period_col = "period")

estimate_emission_reductions_acm0013(data)

simulate_acm0013_dataset(periods = 12, seed = NULL)

Arguments

data

Tibble of monitoring observations or emission results.

period_col

Name of the monitoring period column used for aggregation.

periods

Number of monitoring periods to simulate.

seed

Optional seed for reproducibility.

Value

aggregate_monitoring_periods_acm0013() and estimate_emission_reductions_acm0013() return tibbles and lists; simulate_acm0013_dataset() returns a tibble of simulated monitoring data.

Examples

monitoring <- simulate_acm0013_dataset(periods = 3, seed = 12)
results <- estimate_emission_reductions_acm0013(monitoring)
aggregate_monitoring_periods_acm0013(results$period_results)
#> # A tibble: 3 × 5
#>   period baseline_emissions_tco2e project_emissions_tco2e leakage_emissions_tc…¹
#>    <int>                    <dbl>                   <dbl>                  <dbl>
#> 1      1                   31396.                   5307.                   201.
#> 2      2                   46090.                   5752.                   239.
#> 3      3                   35051.                   6350.                   290.
#> # ℹ abbreviated name: ¹​leakage_emissions_tco2e
#> # ℹ 1 more variable: net_emission_reductions_tco2e <dbl>