clean_regions function

Clean Regions

Clean Regions

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

clean_regions(data, non_zero_points)

Arguments

  • data: A <data.frame> of disease reports (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.

Returns

A dataframe of cleaned regional data

See Also

regional_epinow()