Skip to content

Commit

Permalink
hotfix: don't filter leading zeros
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Mar 2, 2024
1 parent 1f5d95e commit 65b3043
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/estimate_secondary.R
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ estimate_secondary <- function(reports,

reports <- data.table::as.data.table(reports)
secondary_reports <- reports[, list(date, confirm = secondary)]
secondary_reports <- create_clean_reported_cases(secondary_reports)
secondary_reports <- create_clean_reported_cases(
secondary_reports, filter_leading_zeros = FALSE
)
## fill in missing data (required if fitting to prevalence)
complete_secondary <- create_complete_cases(secondary_reports)

Expand Down

0 comments on commit 65b3043

Please sign in to comment.