Skip to content
anhoejPublic

About

R package: Aggregate and plot antibiotic usage data by access, watch, and reserve (AWaRe) groups.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

abxaware

R-CMD-check

The goal of abxaware is to help aggregate and plot antibiotic usage data in accordance with the WHO AWaRe classification.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("anhoej/abxaware", 
                         build_vignettes = TRUE)

To get started, read the vignette: https://anhoej.github.io/abxaware/articles/abxaware.html.

Example

To create a plot of antibiotic use in Danish hospitals from the included dataset abx_sales run this:

library(abxaware)

awr_plot(abx_sales,
         atc, 
         ddd, 
         time = month, 
         unit = region, 
         ncol = 1)
#> Aggregating data using the "dk" AWaRe classification

About

R package: Aggregate and plot antibiotic usage data by access, watch, and reserve (AWaRe) groups.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages