Skip to content

v0.3.0

Choose a tag to compare

@vpnagraj vpnagraj released this 20 Jan 22:38
ac83e52

fiphde 0.3.0

New features

This release brings in additional data retrieval and processing functions. The package now includes code adapted from cdcfluview to query the NREVSS surveillance system and pull clinical laboratory percent positive flu data. The who_nrevss() function is unexported but is used in the user-facing get_cdc_clin() function, which pulls and preps the percent positive data. A complementary function, clin_nowcast(), is now available to augment the clinical laboratory percent positivity with a nowcasted value.

The package also now includes helper functions to prepare covariates for modeling. For example, the new pois_forc() helper creates a forecasted counts based on recently observed values. This can be used to create forecasted values for number of tests and number of positive flu specimens (and therefore percent positivity) to feed into models that include percent positive lab results as a covariate. The new smoothie() function is also available to create weighted averages of recent observations, which can be used as covariate data in models.