Skip to content

Commit

Permalink
Fix bug in prep_new_detections_table
Browse files Browse the repository at this point in the history
  • Loading branch information
truenomad committed Sep 18, 2024
1 parent 68628cb commit d8ac0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/prep_detections.R
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ prep_new_detections_table <- function(polis_df_old,
) |>
dplyr::filter(
year > lubridate::year(Sys.Date()) - 3 &
!EPID %in% unique(new_epids),
!EPID %in% unique(polis_df_old$EPID),
stringr::str_detect(VirusTypeName, "^WILD|^VDPV|^cVDPV"),
SurveillanceTypeName %in% c("AFP", "Environmental")
) |>
Expand Down

0 comments on commit d8ac0d2

Please sign in to comment.