COVIDCountyCases

adrio.cdc.COVIDCountyCases(self, *, fix_missing=False)

Loads COVID case data from data.cdc.gov’s dataset named “United States COVID-19 Community Levels by County”.

The data were reported starting 2022-02-24 and ending 2023-05-11, and aggregated by CDC to the US County level.

This ADRIO supports geo scopes at US State and County granularity (2015 through 2019 allowed). The data loaded will be matched to the simulation time frame. The result is a 2D matrix where the first axis represents reporting weeks during the time frame and the second axis is geo scope nodes. Values are tuples of date and the integer number of cases, calculated by multiplying the per-100k rates by the county population and rounding (via banker’s rounding).

Parameters

fix_missing: Fill[np.int64] | int | Callable[[], int] | Literal[False] = False

The method to use to fix missing values.

See Also

The dataset documentation.

Attributes

result_format: ResultFormat[np.int64]

Information about the format of the ADRIO’s resulting data.

This is an abstract method.

Methods

Name Description
estimate_data Estimate the data usage for this ADRIO in a RUME.
with_context Constructs a clone of this instance which has access to the given context.
inspect Produce an inspection of the ADRIO’s data for the current context.
evaluate Evaluates the ADRIO in the current context.