ab_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
.
ab_property(x, property = "official") ab_atc(x) ab_official(x, language = NULL) ab_name(x, language = NULL) ab_trivial_nl(x) ab_certe(x) ab_umcg(x) ab_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 ab_tradenames
, if x
is of length one, a vector will be returned. Otherwise a list
, with x
as names.
antibiotics
# NOT RUN { ab_atc("amcl") # J01CR02 ab_name("amcl") # Amoxicillin and beta-lactamase inhibitor ab_name("amcl", "nl") # Amoxicilline met enzymremmer ab_trivial_nl("amcl") # Amoxicilline/clavulaanzuur ab_certe("amcl") # amcl ab_umcg("amcl") # AMCL # }