atc_property.Rd
Use these functions to return a specific property of an antibiotic from the antibiotics
data set, based on their ATC code. Get such a code with as.atc
.
atc_property(x, property = "official") atc_official(x, language = NULL) atc_name(x, language = NULL) atc_trivial_nl(x) atc_certe(x) atc_umcg(x) atc_tradenames(x)
x | a (vector of a) valid |
---|---|
property | one of the column names of one of the |
language | language of the returned text, defaults to English ( |
A vector of values. In case of atc_tradenames
, if x
is of length one, a vector will be returned. Otherwise a list
, with x
as names.
On our website https://msberends.gitlab.io/AMR you can find a omprehensive tutorial about how to conduct AMR analysis and find the complete documentation of all functions, which reads a lot easier than in R.
# NOT RUN { as.atc("amcl") # J01CR02 atc_name("amcl") # Amoxicillin and beta-lactamase inhibitor atc_name("amcl", "nl") # Amoxicilline met enzymremmer atc_trivial_nl("amcl") # Amoxicilline/clavulaanzuur atc_certe("amcl") # amcl atc_umcg("amcl") # AMCL # }