diff --git a/R/atc.R b/R/atc.R index 6de23383..c309ea17 100644 --- a/R/atc.R +++ b/R/atc.R @@ -18,7 +18,7 @@ #' Properties of an ATC code #' -#' Gets data from the WHO to determine properties of an ATC of e.g. an antibiotic. \strong{This function requires an internet connection.} +#' Gets data from the WHO to determine properties of an ATC (e.g. an antibiotic) like name, defined daily dose (DDD) or standard unit. \strong{This function requires an internet connection.} #' @param atc_code a character or character vector with ATC code(s) of antibiotic(s) #' @param property property of an ATC code. Valid values are \code{"ATC code"}, \code{"Name"}, \code{"DDD"}, \code{"U"} (\code{"unit"}), \code{"Adm.R"} en \code{"Note"}. #' @param administration type of administration, see \emph{Details} @@ -56,8 +56,8 @@ #' @source \url{https://www.whocc.no/atc_ddd_alterations__cumulative/ddd_alterations/abbrevations/} #' @examples #' \donttest{ -#' atc_property("J01CA04", "DDD", "O") # oral DDD of amoxicillin -#' atc_property("J01CA04", "DDD", "P") # parenteral DDD of amoxicillin +#' atc_property("J01CA04", "DDD", "O") # oral DDD (Defined Daily Dose) of amoxicillin +#' atc_property("J01CA04", "DDD", "P") # parenteral DDD (Defined Daily Dose) of amoxicillin #' } atc_property <- function(atc_code, property, diff --git a/R/data.R b/R/data.R index 08af4099..915f7566 100644 --- a/R/data.R +++ b/R/data.R @@ -27,9 +27,9 @@ #' \item{\code{official}}{Official name by the WHO, like \code{"amoxicillin and enzyme inhibitor"}} #' \item{\code{official_nl}}{Official name in the Netherlands, like \code{"Amoxicilline met enzymremmer"}} #' \item{\code{trivial_nl}}{Trivial name in Dutch, like \code{"Amoxicilline/clavulaanzuur"}} -#' \item{\code{oral_ddd}}{Daily Defined Dose (DDD) according to the WHO, oral treatment} +#' \item{\code{oral_ddd}}{Defined Daily Dose (DDD) according to the WHO, oral treatment} #' \item{\code{oral_units}}{Units of \code{ddd_units}} -#' \item{\code{iv_ddd}}{Daily Defined Dose (DDD) according to the WHO, parenteral treatment} +#' \item{\code{iv_ddd}}{Defined Daily Dose (DDD) according to the WHO, parenteral treatment} #' \item{\code{iv_units}}{Units of \code{iv_ddd}} #' \item{\code{atc_group1}}{ATC group in Dutch, like \code{"Macroliden, lincosamiden en streptograminen"}} #' \item{\code{atc_group2}}{Subgroup of \code{atc_group1} in Dutch, like \code{"Macroliden"}}