[Stable] Removes regions with insufficient time points, and provides logging information on the input.

clean_regions(reported_cases, non_zero_points)

Arguments

reported_cases

A data frame of confirmed cases (confirm) by date (date), and region (region).

non_zero_points

Numeric, the minimum number of time points with non-zero cases in a region required for that region to be evaluated. Defaults to 7.

Value

A dataframe of cleaned regional data

See also

regional_epinow