Skip to contents

All functions

clear_old_reports()
Clear out old reports before generating new ones.
convert_counts_to_rate()
Convert case counts to rate
create_filesystem()
Create filesystem
create_public_report_month()
Create a monthly cross-section public report
create_public_report_ytd()
Create a YTD public report
create_report_annual_counts()
Create annual counts report
create_report_monthly_avgs()
Create monthly averages report
create_report_monthly_counts()
Create monthly counts report
create_report_ytd_counts()
Create year-to-date (YTD) counts report
epitrax_add_report_diseases()
Add report diseases to EpiTrax object
epitrax_ireport_annual_counts()
Create annual counts internal report from an EpiTrax object
epitrax_ireport_monthly_avgs()
Create monthly averages internal report from an EpiTrax object
epitrax_ireport_monthly_counts_all_yrs()
Create monthly counts internal report for all years from an EpiTrax object
epitrax_ireport_ytd_counts_for_month()
Create year-to-date (YTD) counts internal report for a given month from an EpiTrax object
epitrax_preport_month_crosssections()
Create monthly cross-section reports from an EpiTrax object
epitrax_preport_ytd_rates()
Create year-to-date (YTD) rates public report from an EpiTrax object
epitrax_set_config_from_file()
Set report configuration of EpiTrax object from config file
epitrax_set_config_from_list()
Set report configuration of EpiTrax object from list
epitrax_write_csvs()
Write reports from EpiTrax object to CSV files
epitrax_write_xlsxs()
Write reports from EpiTrax object to Excel files
epitraxr_config()
Create epitraxr config object
format_week_num()
Format input EpiTrax data
get_epitrax()
Create an EpiTrax object from data file
get_internal_disease_list()
Get the internal disease list
get_month_counts()
Calculate monthly counts by disease
get_public_disease_list()
Get the public disease list
get_report_disease_lists()
Get both internal and public disease lists
get_trend()
Get Trend column of report
get_yrs()
Get unique years from a data frame
prep_report_data()
Prepare data for report
read_epitrax_data()
Read in input EpiTrax data
read_report_config()
Read in the report config YAML file
reshape_annual_wide()
Reshape data frame with each year as a separate column
reshape_monthly_wide()
Reshape data frame with each month as a separate column
set_na_0()
Set NA values to 0
setup_epitrax()
Setup EpiTrax object with configuration and disease lists
setup_filesystem()
Setup the report filesystem
validate_config()
Validate a config list
validate_data()
Validate input EpiTrax data
validate_epitrax()
Validate an EpiTrax object
validate_filesystem()
Validate the filesystem structure
write_report_csv()
Write report CSV files
write_report_xlsx()
Write report Excel files