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.
ab_atc("amcl") # J01CR02#> [1] "J01CR02"ab_name("amcl") # Amoxicillin and beta-lactamase inhibitor#> [1] "Amoxicillin and beta-lactamase inhibitor"ab_name("amcl", "nl") # Amoxicilline met enzymremmer#> [1] "Amoxicilline met enzymremmer"ab_trivial_nl("amcl") # Amoxicilline/clavulaanzuur#> [1] "Amoxicilline/clavulaanzuur"ab_certe("amcl") # amcl#> [1] "amcl"ab_umcg("amcl") # AMCL#> [1] "AMCL"