Skip to contents

epi_df basics

Constructors and information for epi_df objects.

as_epi_df() new_epi_df() is_epi_df()
epi_df object
print(<epi_df>) summary(<epi_df>) group_by(<epi_df>) ungroup(<epi_df>) group_modify(<epi_df>) unnest(<epi_df>)
Base S3 methods for an epi_df object
group_epi_df()
Group an epi_df object by default keys
autoplot(<epi_df>)
Automatically plot an epi_df

epi_df manipulation

Functions operating on epi_df objects.

complete(<epi_df>)
"Complete" an epi_df, adding missing rows and/or replacing NAs
epi_slide()
Slide a function over variables in an epi_df object
epi_slide_opt() epi_slide_mean() epi_slide_sum()
Optimized slide functions for common cases
sum_groups_epi_df()
Aggregate an epi_df object
epi_cor()
Compute correlations between variables in an epi_df object
detect_outlr() detect_outlr_rm() detect_outlr_stl()
Detect outliers
growth_rate()
Estimate growth rate
as_tibble(<epi_df>)
Convert to tibble
as_tsibble(<epi_df>)
Convert to tsibble format

epi_archive basics

Constructors and information for epi_archive objects.

epi_archive manipulation

Functions operating on epi_archive objects.

epix_as_of()
Generate a snapshot from an epi_archive object
epix_slide()
Slide a function over variables in an epi_archive or grouped_epi_archive
epix_merge()
Merge two epi_archive objects
revision_summary()
A function to describe revision behavior for an archive.
epix_fill_through_version()
Fill epi_archive unobserved history
epix_truncate_versions_after()
Filter an epi_archive object to keep only older versions

Example data

cases_deaths_subset
Subset of JHU daily state COVID-19 cases and deaths from 6 states
archive_cases_dv_subset
Subset of daily COVID-19 doctor visits and cases from 6 states in archive format
covid_incidence_county_subset
Subset of JHU daily COVID-19 cases from counties in Massachusetts and Vermont
covid_incidence_outliers
Subset of JHU daily COVID-19 cases from New Jersey and Florida
covid_case_death_rates_extended
JHU daily COVID-19 cases and deaths rates from all states