Prepare data for report
prep_report_data.Rd
'prep_report_data' removes rows from the data that shouldn't appear in the report and adds rows for diseases that should be in the report, but weren't in the input dataset. Added rows are filled with 0s.
Examples
df <- data.frame(disease=c("A","B","D"), counts=c(5,7,8))
prep_report_data(df, c("A","C"))
#> disease counts
#> 1 A 5
#> 2 C 0