mirror of
https://github.com/msberends/AMR.git
synced 2024-12-25 18:06:12 +01:00
ab_info fix
This commit is contained in:
parent
4c3cf85a65
commit
5eda991c47
@ -54,6 +54,7 @@ export(ab_atc_group2)
|
||||
export(ab_cid)
|
||||
export(ab_ddd)
|
||||
export(ab_group)
|
||||
export(ab_info)
|
||||
export(ab_name)
|
||||
export(ab_official)
|
||||
export(ab_property)
|
||||
|
@ -146,6 +146,8 @@ ab_ddd <- function(x, administration = "oral", units = FALSE, ...) {
|
||||
ab_validate(x = x, property = ddd_prop, ...)
|
||||
}
|
||||
|
||||
#' @rdname ab_property
|
||||
#' @export
|
||||
ab_info <- function(x, language = get_locale(), ...) {
|
||||
x <- AMR::as.ab(x, ...)
|
||||
base::list(ab = x,
|
||||
|
@ -11,6 +11,7 @@
|
||||
\alias{ab_atc_group1}
|
||||
\alias{ab_atc_group2}
|
||||
\alias{ab_ddd}
|
||||
\alias{ab_info}
|
||||
\title{Property of an antibiotic}
|
||||
\usage{
|
||||
ab_name(x, language = get_locale(), tolower = FALSE, ...)
|
||||
@ -31,6 +32,8 @@ ab_atc_group2(x, language = get_locale(), ...)
|
||||
|
||||
ab_ddd(x, administration = "oral", units = FALSE, ...)
|
||||
|
||||
ab_info(x, language = get_locale(), ...)
|
||||
|
||||
ab_property(x, property = "name", language = get_locale(), ...)
|
||||
}
|
||||
\arguments{
|
||||
|
Loading…
Reference in New Issue
Block a user