Skip to contents

The aggregate file is a long-format YEAR_2020 / YEAR_2021 / YEAR_2022 panel keyed by (SECTION, CATEGORY, UNITS OF MEASURE). This function rebuilds the implied time series, runs year-on-year change against the REPORT_SCOPE rows (the headline volume series), and surfaces a data-quality audit.

Builds an implied YoY series from the YEAR_2020 / YEAR_2021 / YEAR_2022 columns against the REPORT_SCOPE headline volume row.

Usage

morie_arsau_analyze_aggregate_summary(
  year_range = "2020-2022",
  language = "en",
  data_dir = NULL
)

morie_arsau_analyze_aggregate_summary(
  year_range = "2020-2022",
  language = "en",
  data_dir = NULL
)

Arguments

year_range

"2020-2022".

language

"en" or "fr".

data_dir

Optional explicit ARSAU root.

Value

A list classed c("morie_arsau_result", "morie_rich_result", "list").

References

Ontario Ministry of the Solicitor General, ARSAU 2020-2022 aggregate-summary-by-year technical notes.