Processing steps

Prior to age group harmonization, we perform a variety of operations where necessary so that all measures are expressed as counts of cases, deaths, tests, and so that marginal totals are constrained to more reliable or representative totals. Steps are performed sequentially, each triggered depending on the structure of the data.

The standardization steps are as follows:

  1. If Metric is "Fraction", distribute totals to produce counts by age and/or sex.
  2. Redistribute any Value of unknown age proportional to Values of known age.
  3. Rescale age-specific Values to sum to any explicitly recorded total.
  4. Infer "Cases" from "ASCFR" ("Ratio") and "Deaths" ("Count").
  5. Infer "Deaths" from "ASCFR" ("Ratio") and "Cases" ("Count").
  6. Redistribute "Count"s of unknown Sex.
  7. Rescale sex-specific distributions to sum to explicitly recorded both-sex distributions.
  8. Infer both-sex distributions where only sex-specifc distributions are recorded.
  9. Lower closeout ages (to as low as age 85) when series close out with 0 counts.

All of these steps are carried out sequentially in the R script named 02_harmonize_metrics.R.

Data processing steps

The following searchable table shows which of the above steps are activated on which subsets of data.

By Country

By Country, Region

By Country, Region, Date

## Warning in instance$preRenderHook(instance): It seems your data is too big
## for client-side DataTables. You may consider server-side processing: https://
## rstudio.github.io/DT/server.html