1
0
mirror of https://github.com/msberends/AMR.git synced 2026-04-28 13:43:56 +02:00

Add add_if_missing parameter to control NA handling in interpretive rules (#264)

This commit is contained in:
Matthijs Berends
2026-04-21 21:53:43 +02:00
committed by GitHub
parent fb8758f36b
commit 8ff5d4472a
46 changed files with 1232 additions and 1016 deletions

View File

@@ -68,9 +68,11 @@ new_ab <- complete_tbl |>
) |>
mutate(name = paste0(substr(toupper(name), 1, 1), substr(name, 2, 999))) |>
mutate(name = gsub(" and ", "/", name)) |>
filter(name %unlike% "^Combinations",
name %unlike% "/beta[-]lactamase inhibitor",
name %unlike% "combinations") |>
filter(
name %unlike% "^Combinations",
name %unlike% "/beta[-]lactamase inhibitor",
name %unlike% "combinations"
) |>
arrange(name)
new_atcs <- new_ab |>