
Default comparison windows for virus detections
Source:R/detection_windows.R
detection_default_windows.RdReturns the four windows the detection panels use, each set in days back
from the reporting date. A detection falls in a window when its virus date
lies between as_of - from and as_of - to, both ends included.
Value
A tibble with one row per window and the columns window
(character), from and to (integer days before the reporting date,
with from at least to).
Details
The 6-month and 12-month windows each carry a reporting lag of about two months, so they run longer than their names suggest.
last_6runs from 218 days beforeas_oftoas_of.preceding_6runs from 402 days beforeas_ofto 219 days before.last_12runs from 400 days beforeas_oftoas_of.preceding_12runs from 766 days beforeas_ofto 401 days before.