acm0012_meta.RdHelpers that aggregate ACM0012 monitoring data into period summaries and total emission reduction estimates.
aggregate_monitoring_periods(monitoring_data)
estimate_emission_reductions_acm0012(monitoring_data)Tibble summarising emissions by period or a single-row tibble of total emissions.
data <- simulate_acm0012_dataset(2, observations_per_period = 3, seed = 42)
period_summary <- aggregate_monitoring_periods(data)
#> Error: `useful_energy_col` must be present in `thermal_data`.
estimate_emission_reductions_acm0012(data)
#> # A tibble: 1 × 6
#> total_electricity_export_mwh total_thermal_export_gj total_baseline_emissions
#> <dbl> <dbl> <dbl>
#> 1 535. 737. 512.
#> # ℹ 3 more variables: total_project_emissions <dbl>,
#> # total_leakage_emissions <dbl>, total_emission_reductions <dbl>