clean_regions: Clean Regions

View source: R/regional_epinow.R

clean_regionsR Documentation

Clean Regions

Description

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

Usage

clean_regions(data, non_zero_points)

Arguments

data

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()


epiforecasts/EpiNow2 documentation built on Dec. 10, 2024, 5:32 p.m.