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:
Metric
is "Fraction"
, distribute totals to produce counts by age and/or sex.Value
of unknown age proportional to Value
s of known age.Value
s to sum to any explicitly recorded total."Cases"
from "ASCFR"
("Ratio"
) and "Deaths"
("Count"
)."Deaths"
from "ASCFR"
("Ratio"
) and "Cases"
("Count"
)."Count"
s of unknown Sex
.All of these steps are carried out sequentially in the R
script named 02_harmonize_metrics.R
.
The following searchable table shows which of the above steps are activated on which subsets of data.
## 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