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:
@@ -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 |>
|
||||
|
||||
Reference in New Issue
Block a user