Note: to keep the package size as small as possible, we only included this vignette on CRAN. You can read more vignettes on our website about how to conduct AMR data analysis, determine MDRO’s, find explanation of EUCAST rules, and much more: https://msberends.github.io/AMR/articles/.
AMR is a free, open-source and independent R package (see Copyright) to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial data and properties, by using evidence-based methods. Our aim is to provide a standard for clean and reproducible antimicrobial resistance data analysis, that can therefore empower epidemiological analyses to continuously enable surveillance and treatment evaluation in any setting.
-
After installing this package, R knows ~71,000 distinct microbial species and all ~560 antibiotic, antimycotic and antiviral drugs by name and code (including ATC, EARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid R/SI and MIC values. It supports any data format, including WHONET/EARS-Net data. Antimicrobial names and group names are available in Danish, Dutch, English, French, German, Italian, Portuguese and Spanish.
+
After installing this package, R knows ~71,000 distinct microbial species and all ~560 antibiotic, antimycotic and antiviral drugs by name and code (including ATC, EARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid R/SI and MIC values. It supports any data format, including WHONET/EARS-Net data.
+
The AMR package is available in Danish, Dutch, English, French, German, Italian, Portuguese, Russian, Spanish and Swedish. Antimicrobial drug (group) names and colloquial microorganism names are provided in these languages.
This package is fully independent of any other R package and works on Windows, macOS and Linux with all versions of R since R-3.0 (April 2013). It was designed to work in any setting, including those with very limited resources. Since its first public release in early 2018, this package has been downloaded from more than 175 countries.
This package can be used for:
diff --git a/docs/authors.html b/docs/authors.html
index c2a84a9a..9f380a6e 100644
--- a/docs/authors.html
+++ b/docs/authors.html
@@ -17,7 +17,7 @@
AMR (for R)
- 1.7.1.9064
+ 1.7.1.9067
diff --git a/docs/extra.js b/docs/extra.js
index c986cdae..b037832e 100644
--- a/docs/extra.js
+++ b/docs/extra.js
@@ -116,8 +116,8 @@ $(document).ready(function() {
}
$(".template-authors").html(doct_tit($(".template-authors").html()));
$(".template-citation-authors").html(doct_tit($(".template-citation-authors").html()));
- $('.template-citation-authors h1').eq(0).html("How to cite the AMR package");
- $('.template-citation-authors h1').eq(1).html("All contributors of the AMR package");
+ $('.template-citation-authors h1').eq(0).html("All contributors of the AMR package");
+ $('.template-citation-authors h1').eq(1).html("How to cite the AMR package");
$(".developers").html(doct_tit($(".developers").html()));
$(".developers a[href='authors.html']").text("All contributors...");
});
diff --git a/docs/index.html b/docs/index.html
index f03ee645..4ee72b30 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -47,7 +47,7 @@
AMR (for R)
- 1.7.1.9064
+ 1.7.1.9067
@@ -195,13 +195,15 @@
AMR (for R)
-
Update: The latest EUCAST guideline for intrinsic resistance (v3.3, October 2021) is now supported, and our taxonomy tables have been updated as well (LPSN, 5 October 2021). A new version will be released after the EUCAST guideline for clinical breakpoints (v12.0, likely January 2022) are implemented, to be expected shortly after the official guideline release.
+
Update: The latest EUCAST guideline for intrinsic resistance (v3.3, October 2021) is now supported, and our taxonomy tables have been updated as well (LPSN, 5 October 2021).
+
A new version will be released after the EUCAST guideline for clinical breakpoints (v12.0, likely January 2022) are implemented, to be expected shortly after the official guideline release.
What is AMR (for R)?
AMR is a free, open-source and independent R package (see Copyright) to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial data and properties, by using evidence-based methods. Our aim is to provide a standard for clean and reproducible AMR data analysis, that can therefore empower epidemiological analyses to continuously enable surveillance and treatment evaluation in any setting.
-
After installing this package, R knows ~71,000 distinct microbial species and all ~560 antibiotic, antimycotic and antiviral drugs by name and code (including ATC, EARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid R/SI and MIC values. It supports any data format, including WHONET/EARS-Net data. Antimicrobial names and group names are available in Danish, Dutch, English, French, German, Italian, Portuguese and Spanish.
The AMR package is available in Danish, Dutch, English, French, German, Italian, Portuguese, Russian, Spanish and Swedish. Antimicrobial drug (group) names and colloquial microorganism names are provided in these languages.
Removed all previously implemented ggplot2::ggplot() generics for classes <mic>, <disk>, <rsi> and <resistance_predict> as they did not follow the ggplot2 logic. They were replaced with ggplot2::autoplot() generics.
+
Renamed function get_locale() to get_AMR_locale() to prevent conflicts with other packages
-
New
+
New
Support for EUCAST Intrinsic Resistance and Unusual Phenotypes v3.3 (October 2021). This is now the default EUCAST guideline in the package (all older guidelines are still available) for eucast_rules(), mo_intrinsic_resistant() and mdro(). The intrinsic_resistant data set was also updated accordingly.
-
Support for Danish, and also added missing translations of all antimicrobial drugs in Italian, French and Portuguese
+
Support for all antimicrobial drug (group) names and colloquial microorganism names in Danish, Dutch, English, French, German, Italian, Portuguese, Russian, Spanish and Swedish
Function set_ab_names() to rename data set columns that resemble antimicrobial drugs. This allows for quickly renaming columns to official names, ATC codes, etc. Its second argument can be a tidyverse way of selecting:
@@ -183,7 +184,7 @@
Function ab_ddd_units() to get units of DDDs (daily defined doses), deprecating the use of ab_ddd(..., units = TRUE) to be more consistent in data types of function output
-
Changed
+
Changed
Updated the bacterial taxonomy to 5 October 2021 (according to LPSN), including all 11 new staphylococcal species named since 1 January last year
The antibiotics data set now contains all ATC codes that are available through the WHOCC website, regardless of drugs being present in more than one ATC group. This means that:
Some drugs now contain multiple ATC codes (e.g., metronidazole contains 5)
-as.rsi() has an improved algorithm and can now also correct for textual input (such as “Susceptible”, “Resistant”) in Danish, Dutch, English, French, German, Italian, Portuguese and Spanish
+as.rsi() has an improved algorithm and can now also correct for textual input (such as “Susceptible”, “Resistant”) in all supported languages
When warnings are thrown because of too few isolates in any count_*(), proportion_*() function (or resistant() or susceptible()), the dplyr group will be shown, if available
This package is now being maintained by two epidemiologists and a data scientist from two different non-profit healthcare organisations. All functions in this package are now all considered to be stable. Updates to the AMR interpretation rules (such as by EUCAST and CLSI), the microbial taxonomy, and the antibiotic dosages will all be updated every 6 to 12 months from now on.
@@ -623,7 +624,7 @@
Big speed improvement for already valid microorganism ID. This also means an significant speed improvement for using mo_* functions like mo_name() on microoganism IDs.
Added argument ignore_pattern to as.mo() which can also be given to mo_* functions like mo_name(), to exclude known non-relevant input from analysing. This can also be set with the option AMR_ignore_pattern.
-
get_locale() now uses at default Sys.getenv("LANG") or, if LANG is not set, Sys.getlocale(). This can be overwritten by setting the option AMR_locale.
+
get_locale() now uses at default Sys.getenv("LANG") or, if LANG is not set, Sys.getlocale(). This can be overwritten by setting the option AMR_locale.
Use these functions to return a specific property of an antibiotic from the antibiotics data set. All input values will be evaluated internally with as.ab().
-
Usage,
ab_name(x, language =get_locale(), tolower =FALSE, ...)
+
Usage,
ab_name(x, language =get_AMR_locale(), tolower =FALSE, ...)ab_cid(x, ...)
@@ -169,13 +169,13 @@
ab_tradenames(x, ...)
-ab_group(x, language =get_locale(), ...)
+ab_group(x, language =get_AMR_locale(), ...)ab_atc(x, only_first =FALSE, ...)
-ab_atc_group1(x, language =get_locale(), ...)
+ab_atc_group1(x, language =get_AMR_locale(), ...)
-ab_atc_group2(x, language =get_locale(), ...)
+ab_atc_group2(x, language =get_AMR_locale(), ...)ab_loinc(x, ...)
@@ -183,17 +183,17 @@
ab_ddd_units(x, administration ="oral", ...)
-ab_info(x, language =get_locale(), ...)
+ab_info(x, language =get_AMR_locale(), ...)ab_url(x, open =FALSE, ...)
-ab_property(x, property ="name", language =get_locale(), ...)
+ab_property(x, property ="name", language =get_AMR_locale(), ...)set_ab_names(data,
...,
property ="name",
- language =get_locale(),
+ language =get_AMR_locale(),
snake_case =NULL)
@@ -202,7 +202,7 @@
x
any (vector of) text that can be coerced to a valid antibiotic code with as.ab()
language
-
language of the returned text, defaults to system language (see get_locale()) and can also be set with getOption("AMR_locale"). Use language = NULL or language = "" to prevent translation.
+
language of the returned text, defaults to system language (see get_AMR_locale()) and can also be set with getOption("AMR_locale"). Use language = NULL or language = "" to prevent translation.
tolower
a logical to indicate whether the first character of every output should be transformed to a lower case character. This will lead to e.g. "polymyxin B" and not "polymyxin b".
a regular expression (case-insensitive) of which all matches in x must return NA. This can be convenient to exclude known non-relevant input and can also be set with the option AMR_ignore_pattern, e.g. options(AMR_ignore_pattern = "(not reported|contaminated flora)").
language
-
language to translate text like "no growth", which defaults to the system language (see get_locale())
+
language to translate text like "no growth", which defaults to the system language (see get_AMR_locale())
info
a logical to indicate if a progress bar should be printed if more than 25 items are to be coerced, defaults to TRUE only in interactive mode
For interpreting disk diffusion diameters according to EUCAST or CLSI. You must clean your disk zones first using as.disk(), that also gives your columns the new data class disk. Also, be sure to have a column with microorganism names or codes. It will be found automatically, but can be set manually using the mo argument.
Using dplyr, R/SI interpretation can be done very easily with either:
your_data%>%mutate_if(is.disk, as.rsi)# until dplyr 1.0.0your_data%>%mutate(across(where(is.disk), as.rsi))# since dplyr 1.0.0
-
For interpreting a complete data set, with automatic determination of MIC values, disk diffusion diameters, microorganism names or codes, and antimicrobial test results. This is done very simply by running as.rsi(data).
+
For interpreting a complete data set, with automatic determination of MIC values, disk diffusion diameters, microorganism names or codes, and antimicrobial test results. This is done very simply by running as.rsi(your_data).
language of the returned text, defaults to system language (see get_locale()) and can also be set with getOption("AMR_locale"). Use language = NULL or language = "" to prevent translation.
+
language of the returned text, defaults to system language (see get_AMR_locale()) and can also be set with getOption("AMR_locale"). Use language = NULL or language = "" to prevent translation.
minimum
the minimum allowed number of available (tested) isolates. Any isolate count lower than minimum will return NA with a warning. The default number of 30 isolates is advised by the Clinical and Laboratory Standards Institute (CLSI) as best practice, see Source.
combine_SI
diff --git a/docs/reference/count.html b/docs/reference/count.html
index 9c71a208..97273578 100644
--- a/docs/reference/count.html
+++ b/docs/reference/count.html
@@ -18,7 +18,7 @@ count_resistant() should be used to count resistant isolates, count_susceptible(
AMR (for R)
- 1.7.1.9062
+ 1.7.1.9067
@@ -184,7 +184,7 @@ count_resistant() should be used to count resistant isolates, count_susceptible(
count_df(data,
translate_ab ="name",
- language =get_locale(),
+ language =get_AMR_locale(),
combine_SI =TRUE,
combine_IR =FALSE)
@@ -200,7 +200,7 @@ count_resistant() should be used to count resistant isolates, count_susceptible(
translate_ab
a column name of the antibiotics data set to translate the antibiotic abbreviations to, using ab_property()
language
-
language of the returned text, defaults to system language (see get_locale()) and can also be set with getOption("AMR_locale"). Use language = NULL or language = "" to prevent translation.
+
language of the returned text, defaults to system language (see get_AMR_locale()) and can also be set with getOption("AMR_locale"). Use language = NULL or language = "" to prevent translation.
combine_SI
a logical to indicate whether all values of S and I must be merged into one, so the output only consists of S+I vs. R (susceptible vs. resistant). This used to be the argument combine_IR, but this now follows the redefinition by EUCAST about the interpretation of I (increased exposure) in 2019, see section 'Interpretation of S, I and R' below. Default is TRUE.
combine_IR
diff --git a/docs/reference/eucast_rules.html b/docs/reference/eucast_rules.html
index e2f1132b..1985c765 100644
--- a/docs/reference/eucast_rules.html
+++ b/docs/reference/eucast_rules.html
@@ -18,7 +18,7 @@ To improve the interpretation of the antibiogram before EUCAST rules are applied
AMR (for R)
- 1.7.1.9063
+ 1.7.1.9067
diff --git a/docs/reference/ggplot_rsi.html b/docs/reference/ggplot_rsi.html
index dcc7fccc..22e8fe36 100644
--- a/docs/reference/ggplot_rsi.html
+++ b/docs/reference/ggplot_rsi.html
@@ -17,7 +17,7 @@
AMR (for R)
- 1.7.1.9062
+ 1.7.1.9067
@@ -173,7 +173,7 @@
combine_SI =TRUE,
combine_IR =FALSE,
minimum =30,
- language =get_locale(),
+ language =get_AMR_locale(),
nrow =NULL,
colours =c(S ="#3CAEA3", SI ="#3CAEA3", I ="#F6D55C", IR ="#ED553B", R ="#ED553B"),
@@ -194,7 +194,7 @@
fill ="interpretation",
translate_ab ="name",
minimum =30,
- language =get_locale(),
+ language =get_AMR_locale(),
combine_SI =TRUE,
combine_IR =FALSE,
...
@@ -213,7 +213,7 @@
x ="antibiotic",
translate_ab ="name",
minimum =30,
- language =get_locale(),
+ language =get_AMR_locale(),
combine_SI =TRUE,
combine_IR =FALSE,
datalabels.size =3,
@@ -245,7 +245,7 @@
minimum
the minimum allowed number of available (tested) isolates. Any isolate count lower than minimum will return NA with a warning. The default number of 30 isolates is advised by the Clinical and Laboratory Standards Institute (CLSI) as best practice, see Source.
language
-
language of the returned text, defaults to system language (see get_locale()) and can also be set with getOption("AMR_locale"). Use language = NULL or language = "" to prevent translation.
+
language of the returned text, defaults to system language (see get_AMR_locale()) and can also be set with getOption("AMR_locale"). Use language = NULL or language = "" to prevent translation.
Use these functions to return a specific property of a microorganism based on the latest accepted taxonomy. All input values will be evaluated internally with as.mo(), which makes it possible to use microbial abbreviations, codes and names as input. See Examples.
+mo_property(x, property ="fullname", language =get_AMR_locale(), ...)
Arguments
x
any character (vector) that can be coerced to a valid microorganism code with as.mo(). Can be left blank for auto-guessing the column containing microorganism codes if used in a data set, see Examples.
language
-
language of the returned text, defaults to system language (see get_locale()) and can be overwritten by setting the option AMR_locale, e.g. options(AMR_locale = "de"), see translate. Also used to translate text like "no growth". Use language = NULL or language = "" to prevent translation.
+
language of the returned text, defaults to system language (see get_AMR_locale()) and can be overwritten by setting the option AMR_locale, e.g. options(AMR_locale = "de"), see translate. Also used to translate text like "no growth". Use language = NULL or language = "" to prevent translation.
...
other arguments passed on to as.mo(), such as 'allow_uncertain' and 'ignore_pattern'
colours to use for filling in the bars, must be a vector of three values (in the order R, S and I). The default colours are colour-blind friendly.
language
-
language to be used to translate 'Susceptible', 'Increased exposure'/'Intermediate' and 'Resistant', defaults to system language (see get_locale()) and can be overwritten by setting the option AMR_locale, e.g. options(AMR_locale = "de"), see translate. Use language = NULL or language = "" to prevent translation.
+
language to be used to translate 'Susceptible', 'Increased exposure'/'Intermediate' and 'Resistant', defaults to system language (see get_AMR_locale()) and can be overwritten by setting the option AMR_locale, e.g. options(AMR_locale = "de"), see translate. Use language = NULL or language = "" to prevent translation.
expand
a logical to indicate whether the range on the x axis should be expanded between the lowest and highest value. For MIC values, intermediate values will be factors of 2 starting from the highest MIC value. For disk diameters, the whole diameter range will be filled.
...
diff --git a/docs/reference/proportion.html b/docs/reference/proportion.html
index a0bb6590..155b0f4d 100644
--- a/docs/reference/proportion.html
+++ b/docs/reference/proportion.html
@@ -18,7 +18,7 @@ resistance() should be used to calculate resistance, susceptibility() should be
AMR (for R)
- 1.7.1.9062
+ 1.7.1.9067
@@ -180,7 +180,7 @@ resistance() should be used to calculate resistance, susceptibility() should be
proportion_df(data,
translate_ab ="name",
- language =get_locale(),
+ language =get_AMR_locale(),
minimum =30,
as_percent =FALSE,
combine_SI =TRUE,
@@ -190,7 +190,7 @@ resistance() should be used to calculate resistance, susceptibility() should be
rsi_df(data,
translate_ab ="name",
- language =get_locale(),
+ language =get_AMR_locale(),
minimum =30,
as_percent =FALSE,
combine_SI =TRUE,
@@ -216,7 +216,7 @@ resistance() should be used to calculate resistance, susceptibility() should be
translate_ab
a column name of the antibiotics data set to translate the antibiotic abbreviations to, using ab_property()
language
-
language of the returned text, defaults to system language (see get_locale()) and can also be set with getOption("AMR_locale"). Use language = NULL or language = "" to prevent translation.
+
language of the returned text, defaults to system language (see get_AMR_locale()) and can also be set with getOption("AMR_locale"). Use language = NULL or language = "" to prevent translation.
combine_SI
a logical to indicate whether all values of S and I must be merged into one, so the output only consists of S+I vs. R (susceptible vs. resistant). This used to be the argument combine_IR, but this now follows the redefinition by EUCAST about the interpretation of I (increased exposure) in 2019, see section 'Interpretation of S, I and R' below. Default is TRUE.
Currently supported languages are: Danish, Dutch, English, French, German, Italian, Portuguese and Spanish. All these languages have translations available for all antimicrobial agents and colloquial microorganism names.
+
Currently supported languages are: Danish, Dutch, English, French, German, Italian, Portuguese, Russian, Spanish and Swedish. All these languages have translations available for all antimicrobial agents and colloquial microorganism names.
The system language will be used at default (as returned by Sys.getenv("LANG") or, if LANG is not set, Sys.getlocale()), if that language is supported. But the language to be used can be overwritten in two ways and will be checked in this order:
Setting the R option AMR_locale, e.g. by running options(AMR_locale = "de")
Setting the system variable LANGUAGE or LANG, e.g. by adding LANGUAGE="de_DE.utf8" to your .Renviron file in your home directory
-
So if the R option AMR_locale is set, the system variables LANGUAGE and LANG will be ignored.
+
Thus, if the R option AMR_locale is set, the system variables LANGUAGE and LANG will be ignored.
@@ -196,15 +196,15 @@ The lifecycle of this function is stableExamples
# The 'language' argument of below functions# will be set automatically to your system language
-# with get_locale()
+# with get_AMR_locale()# Englishmo_name("CoNS", language ="en")#> "Coagulase-negative Staphylococcus (CoNS)"# Danish
-mo_name("CoNS", language ="nl")
-#> "Koagulase-negative stafylokokker (CoNS)"
+mo_name("CoNS", language ="da")
+#> "Koagulase-negative stafylokokker (KNS)"# Dutchmo_name("CoNS", language ="nl")
diff --git a/docs/survey.html b/docs/survey.html
index 385c8146..f6a4d68b 100644
--- a/docs/survey.html
+++ b/docs/survey.html
@@ -17,7 +17,7 @@
AMR (for R)
- 1.7.1.9064
+ 1.7.1.9067
diff --git a/index.md b/index.md
index cd17241f..ace9c35a 100644
--- a/index.md
+++ b/index.md
@@ -1,13 +1,16 @@
# `AMR` (for R)
-> Update: The latest [EUCAST guideline for intrinsic resistance](https://www.eucast.org/expert_rules_and_intrinsic_resistance/) (v3.3, October 2021) is now supported, and our taxonomy tables have been updated as well (LPSN, 5 October 2021).
+> Update: The latest [EUCAST guideline for intrinsic resistance](https://www.eucast.org/expert_rules_and_intrinsic_resistance/) (v3.3, October 2021) is now supported, and our taxonomy tables have been updated as well (LPSN, 5 October 2021).
+>
> **A new version will be released after the [EUCAST guideline for clinical breakpoints](https://www.eucast.org/clinical_breakpoints/) (v12.0, likely January 2022) are implemented, to be expected shortly after the official guideline release.**
### What is `AMR` (for R)?
`AMR` is a free, open-source and independent [R package](https://www.r-project.org) (see [Copyright](#copyright)) to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial data and properties, by using evidence-based methods. **Our aim is to provide a standard** for clean and reproducible AMR data analysis, that can therefore empower epidemiological analyses to continuously enable surveillance and treatment evaluation in any setting.
-After installing this package, R knows [**~71,000 distinct microbial species**](./reference/microorganisms.html) and all [**~560 antibiotic, antimycotic and antiviral drugs**](./reference/antibiotics.html) by name and code (including ATC, EARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid R/SI and MIC values. It supports any data format, including WHONET/EARS-Net data. Antimicrobial names and group names are available in Danish, Dutch, English, French, German, Italian, Portuguese and Spanish.
+After installing this package, R knows [**~71,000 distinct microbial species**](./reference/microorganisms.html) and all [**~560 antibiotic, antimycotic and antiviral drugs**](./reference/antibiotics.html) by name and code (including ATC, EARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid R/SI and MIC values. It supports any data format, including WHONET/EARS-Net data.
+
+The `AMR` package is available in Danish, Dutch, English, French, German, Italian, Portuguese, Russian, Spanish and Swedish. Antimicrobial drug (group) names and colloquial microorganism names are provided in these languages.
This package is [fully independent of any other R package](https://en.wikipedia.org/wiki/Dependency_hell) and works on Windows, macOS and Linux with all versions of R since R-3.0 (April 2013). **It was designed to work in any setting, including those with very limited resources**. It was created for both routine data analysis and academic research at the Faculty of Medical Sciences of the [University of Groningen](https://www.rug.nl), in collaboration with non-profit organisations [Certe Medical Diagnostics and Advice Foundation](https://www.certe.nl) and [University Medical Center Groningen](https://www.umcg.nl). This R package formed the basis of two PhD theses ([DOI 10.33612/diss.177417131](https://doi.org/10.33612/diss.177417131) and [DOI 10.33612/diss.192486375](https://doi.org/10.33612/diss.192486375)) but is [actively and durably maintained](./news) by two public healthcare organisations in the Netherlands.
diff --git a/inst/tinytest/test-data.R b/inst/tinytest/test-data.R
index 4b8cc348..393743a0 100644
--- a/inst/tinytest/test-data.R
+++ b/inst/tinytest/test-data.R
@@ -48,6 +48,10 @@ expect_true(all(dosage$name %in% antibiotics$name))
# antibiotic names must always be coercible to their original AB code
expect_identical(as.ab(antibiotics$name), antibiotics$ab)
+# check if all languages are included in package environmental variable
+expect_identical(sort(c("en", colnames(TRANSLATIONS)[nchar(colnames(TRANSLATIONS)) == 2])),
+ unname(LANGUAGES_SUPPORTED))
+
# there should be no diacritics (i.e. non ASCII) characters in the datasets (CRAN policy)
datasets <- data(package = "AMR", envir = asNamespace("AMR"))$results[, "Item"]
for (i in seq_len(length(datasets))) {
diff --git a/man/ab_property.Rd b/man/ab_property.Rd
index 24874ccd..5fdd4d77 100644
--- a/man/ab_property.Rd
+++ b/man/ab_property.Rd
@@ -19,7 +19,7 @@
\alias{set_ab_names}
\title{Get Properties of an Antibiotic}
\usage{
-ab_name(x, language = get_locale(), tolower = FALSE, ...)
+ab_name(x, language = get_AMR_locale(), tolower = FALSE, ...)
ab_cid(x, ...)
@@ -27,13 +27,13 @@ ab_synonyms(x, ...)
ab_tradenames(x, ...)
-ab_group(x, language = get_locale(), ...)
+ab_group(x, language = get_AMR_locale(), ...)
ab_atc(x, only_first = FALSE, ...)
-ab_atc_group1(x, language = get_locale(), ...)
+ab_atc_group1(x, language = get_AMR_locale(), ...)
-ab_atc_group2(x, language = get_locale(), ...)
+ab_atc_group2(x, language = get_AMR_locale(), ...)
ab_loinc(x, ...)
@@ -41,24 +41,24 @@ ab_ddd(x, administration = "oral", ...)
ab_ddd_units(x, administration = "oral", ...)
-ab_info(x, language = get_locale(), ...)
+ab_info(x, language = get_AMR_locale(), ...)
ab_url(x, open = FALSE, ...)
-ab_property(x, property = "name", language = get_locale(), ...)
+ab_property(x, property = "name", language = get_AMR_locale(), ...)
set_ab_names(
data,
...,
property = "name",
- language = get_locale(),
+ language = get_AMR_locale(),
snake_case = NULL
)
}
\arguments{
\item{x}{any (vector of) text that can be coerced to a valid antibiotic code with \code{\link[=as.ab]{as.ab()}}}
-\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_locale]{get_locale()}}) and can also be set with \code{getOption("AMR_locale")}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
+\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_AMR_locale]{get_AMR_locale()}}) and can also be set with \code{getOption("AMR_locale")}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
\item{tolower}{a \link{logical} to indicate whether the first \link{character} of every output should be transformed to a lower case \link{character}. This will lead to e.g. "polymyxin B" and not "polymyxin b".}
diff --git a/man/as.mo.Rd b/man/as.mo.Rd
index d6feea49..a3ed10ec 100644
--- a/man/as.mo.Rd
+++ b/man/as.mo.Rd
@@ -16,7 +16,7 @@ as.mo(
allow_uncertain = TRUE,
reference_df = get_mo_source(),
ignore_pattern = getOption("AMR_ignore_pattern"),
- language = get_locale(),
+ language = get_AMR_locale(),
info = interactive(),
...
)
@@ -46,7 +46,7 @@ This excludes \emph{Enterococci} at default (who are in group D), use \code{Lanc
\item{ignore_pattern}{a regular expression (case-insensitive) of which all matches in \code{x} must return \code{NA}. This can be convenient to exclude known non-relevant input and can also be set with the option \code{AMR_ignore_pattern}, e.g. \code{options(AMR_ignore_pattern = "(not reported|contaminated flora)")}.}
-\item{language}{language to translate text like "no growth", which defaults to the system language (see \code{\link[=get_locale]{get_locale()}})}
+\item{language}{language to translate text like "no growth", which defaults to the system language (see \code{\link[=get_AMR_locale]{get_AMR_locale()}})}
\item{info}{a \link{logical} to indicate if a progress bar should be printed if more than 25 items are to be coerced, defaults to \code{TRUE} only in interactive mode}
diff --git a/man/bug_drug_combinations.Rd b/man/bug_drug_combinations.Rd
index 0cbbd083..028dad4b 100644
--- a/man/bug_drug_combinations.Rd
+++ b/man/bug_drug_combinations.Rd
@@ -13,7 +13,7 @@ bug_drug_combinations(x, col_mo = NULL, FUN = mo_shortname, ...)
\method{format}{bug_drug_combinations}(
x,
translate_ab = "name (ab, atc)",
- language = get_locale(),
+ language = get_AMR_locale(),
minimum = 30,
combine_SI = TRUE,
combine_IR = FALSE,
@@ -35,7 +35,7 @@ bug_drug_combinations(x, col_mo = NULL, FUN = mo_shortname, ...)
\item{translate_ab}{a \link{character} of length 1 containing column names of the \link{antibiotics} data set}
-\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_locale]{get_locale()}}) and can also be set with \code{getOption("AMR_locale")}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
+\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_AMR_locale]{get_AMR_locale()}}) and can also be set with \code{getOption("AMR_locale")}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
\item{minimum}{the minimum allowed number of available (tested) isolates. Any isolate count lower than \code{minimum} will return \code{NA} with a warning. The default number of \code{30} isolates is advised by the Clinical and Laboratory Standards Institute (CLSI) as best practice, see \emph{Source}.}
diff --git a/man/count.Rd b/man/count.Rd
index 24cc6f7b..c3939464 100644
--- a/man/count.Rd
+++ b/man/count.Rd
@@ -35,7 +35,7 @@ n_rsi(..., only_all_tested = FALSE)
count_df(
data,
translate_ab = "name",
- language = get_locale(),
+ language = get_AMR_locale(),
combine_SI = TRUE,
combine_IR = FALSE
)
@@ -49,7 +49,7 @@ count_df(
\item{translate_ab}{a column name of the \link{antibiotics} data set to translate the antibiotic abbreviations to, using \code{\link[=ab_property]{ab_property()}}}
-\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_locale]{get_locale()}}) and can also be set with \code{getOption("AMR_locale")}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
+\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_AMR_locale]{get_AMR_locale()}}) and can also be set with \code{getOption("AMR_locale")}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
\item{combine_SI}{a \link{logical} to indicate whether all values of S and I must be merged into one, so the output only consists of S+I vs. R (susceptible vs. resistant). This used to be the argument \code{combine_IR}, but this now follows the redefinition by EUCAST about the interpretation of I (increased exposure) in 2019, see section 'Interpretation of S, I and R' below. Default is \code{TRUE}.}
diff --git a/man/ggplot_rsi.Rd b/man/ggplot_rsi.Rd
index 8fdd3d8e..940ddb8b 100644
--- a/man/ggplot_rsi.Rd
+++ b/man/ggplot_rsi.Rd
@@ -22,7 +22,7 @@ ggplot_rsi(
combine_SI = TRUE,
combine_IR = FALSE,
minimum = 30,
- language = get_locale(),
+ language = get_AMR_locale(),
nrow = NULL,
colours = c(S = "#3CAEA3", SI = "#3CAEA3", I = "#F6D55C", IR = "#ED553B", R =
"#ED553B"),
@@ -43,7 +43,7 @@ geom_rsi(
fill = "interpretation",
translate_ab = "name",
minimum = 30,
- language = get_locale(),
+ language = get_AMR_locale(),
combine_SI = TRUE,
combine_IR = FALSE,
...
@@ -62,7 +62,7 @@ labels_rsi_count(
x = "antibiotic",
translate_ab = "name",
minimum = 30,
- language = get_locale(),
+ language = get_AMR_locale(),
combine_SI = TRUE,
combine_IR = FALSE,
datalabels.size = 3,
@@ -92,7 +92,7 @@ labels_rsi_count(
\item{minimum}{the minimum allowed number of available (tested) isolates. Any isolate count lower than \code{minimum} will return \code{NA} with a warning. The default number of \code{30} isolates is advised by the Clinical and Laboratory Standards Institute (CLSI) as best practice, see \emph{Source}.}
-\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_locale]{get_locale()}}) and can also be set with \code{getOption("AMR_locale")}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
+\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_AMR_locale]{get_AMR_locale()}}) and can also be set with \code{getOption("AMR_locale")}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
\item{nrow}{(when using \code{facet}) number of rows}
diff --git a/man/mo_property.Rd b/man/mo_property.Rd
index d3064000..1c57aefe 100644
--- a/man/mo_property.Rd
+++ b/man/mo_property.Rd
@@ -32,68 +32,68 @@
\alias{mo_url}
\title{Get Properties of a Microorganism}
\usage{
-mo_name(x, language = get_locale(), ...)
+mo_name(x, language = get_AMR_locale(), ...)
-mo_fullname(x, language = get_locale(), ...)
+mo_fullname(x, language = get_AMR_locale(), ...)
-mo_shortname(x, language = get_locale(), ...)
+mo_shortname(x, language = get_AMR_locale(), ...)
-mo_subspecies(x, language = get_locale(), ...)
+mo_subspecies(x, language = get_AMR_locale(), ...)
-mo_species(x, language = get_locale(), ...)
+mo_species(x, language = get_AMR_locale(), ...)
-mo_genus(x, language = get_locale(), ...)
+mo_genus(x, language = get_AMR_locale(), ...)
-mo_family(x, language = get_locale(), ...)
+mo_family(x, language = get_AMR_locale(), ...)
-mo_order(x, language = get_locale(), ...)
+mo_order(x, language = get_AMR_locale(), ...)
-mo_class(x, language = get_locale(), ...)
+mo_class(x, language = get_AMR_locale(), ...)
-mo_phylum(x, language = get_locale(), ...)
+mo_phylum(x, language = get_AMR_locale(), ...)
-mo_kingdom(x, language = get_locale(), ...)
+mo_kingdom(x, language = get_AMR_locale(), ...)
-mo_domain(x, language = get_locale(), ...)
+mo_domain(x, language = get_AMR_locale(), ...)
-mo_type(x, language = get_locale(), ...)
+mo_type(x, language = get_AMR_locale(), ...)
-mo_gramstain(x, language = get_locale(), ...)
+mo_gramstain(x, language = get_AMR_locale(), ...)
-mo_is_gram_negative(x, language = get_locale(), ...)
+mo_is_gram_negative(x, language = get_AMR_locale(), ...)
-mo_is_gram_positive(x, language = get_locale(), ...)
+mo_is_gram_positive(x, language = get_AMR_locale(), ...)
-mo_is_yeast(x, language = get_locale(), ...)
+mo_is_yeast(x, language = get_AMR_locale(), ...)
-mo_is_intrinsic_resistant(x, ab, language = get_locale(), ...)
+mo_is_intrinsic_resistant(x, ab, language = get_AMR_locale(), ...)
-mo_snomed(x, language = get_locale(), ...)
+mo_snomed(x, language = get_AMR_locale(), ...)
-mo_ref(x, language = get_locale(), ...)
+mo_ref(x, language = get_AMR_locale(), ...)
-mo_authors(x, language = get_locale(), ...)
+mo_authors(x, language = get_AMR_locale(), ...)
-mo_year(x, language = get_locale(), ...)
+mo_year(x, language = get_AMR_locale(), ...)
-mo_lpsn(x, language = get_locale(), ...)
+mo_lpsn(x, language = get_AMR_locale(), ...)
-mo_rank(x, language = get_locale(), ...)
+mo_rank(x, language = get_AMR_locale(), ...)
-mo_taxonomy(x, language = get_locale(), ...)
+mo_taxonomy(x, language = get_AMR_locale(), ...)
-mo_synonyms(x, language = get_locale(), ...)
+mo_synonyms(x, language = get_AMR_locale(), ...)
-mo_info(x, language = get_locale(), ...)
+mo_info(x, language = get_AMR_locale(), ...)
-mo_url(x, open = FALSE, language = get_locale(), ...)
+mo_url(x, open = FALSE, language = get_AMR_locale(), ...)
-mo_property(x, property = "fullname", language = get_locale(), ...)
+mo_property(x, property = "fullname", language = get_AMR_locale(), ...)
}
\arguments{
\item{x}{any \link{character} (vector) that can be coerced to a valid microorganism code with \code{\link[=as.mo]{as.mo()}}. Can be left blank for auto-guessing the column containing microorganism codes if used in a data set, see \emph{Examples}.}
-\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_locale]{get_locale()}}) and can be overwritten by setting the option \code{AMR_locale}, e.g. \code{options(AMR_locale = "de")}, see \link{translate}. Also used to translate text like "no growth". Use \code{language = NULL} or \code{language = ""} to prevent translation.}
+\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_AMR_locale]{get_AMR_locale()}}) and can be overwritten by setting the option \code{AMR_locale}, e.g. \code{options(AMR_locale = "de")}, see \link{translate}. Also used to translate text like "no growth". Use \code{language = NULL} or \code{language = ""} to prevent translation.}
\item{...}{other arguments passed on to \code{\link[=as.mo]{as.mo()}}, such as 'allow_uncertain' and 'ignore_pattern'}
diff --git a/man/plot.Rd b/man/plot.Rd
index 8ff68d0f..24e28372 100644
--- a/man/plot.Rd
+++ b/man/plot.Rd
@@ -22,7 +22,7 @@
ylab = "Frequency",
xlab = "Minimum Inhibitory Concentration (mg/L)",
colours_RSI = c("#ED553B", "#3CAEA3", "#F6D55C"),
- language = get_locale(),
+ language = get_AMR_locale(),
expand = TRUE,
...
)
@@ -36,7 +36,7 @@
ylab = "Frequency",
xlab = "Minimum Inhibitory Concentration (mg/L)",
colours_RSI = c("#ED553B", "#3CAEA3", "#F6D55C"),
- language = get_locale(),
+ language = get_AMR_locale(),
expand = TRUE,
...
)
@@ -52,7 +52,7 @@
ab = NULL,
guideline = "EUCAST",
colours_RSI = c("#ED553B", "#3CAEA3", "#F6D55C"),
- language = get_locale(),
+ language = get_AMR_locale(),
expand = TRUE,
...
)
@@ -66,7 +66,7 @@
xlab = "Disk diffusion diameter (mm)",
guideline = "EUCAST",
colours_RSI = c("#ED553B", "#3CAEA3", "#F6D55C"),
- language = get_locale(),
+ language = get_AMR_locale(),
expand = TRUE,
...
)
@@ -87,7 +87,7 @@
xlab = "Antimicrobial Interpretation",
ylab = "Frequency",
colours_RSI = c("#ED553B", "#3CAEA3", "#F6D55C"),
- language = get_locale(),
+ language = get_AMR_locale(),
...
)
@@ -108,7 +108,7 @@
\item{colours_RSI}{colours to use for filling in the bars, must be a vector of three values (in the order R, S and I). The default colours are colour-blind friendly.}
-\item{language}{language to be used to translate 'Susceptible', 'Increased exposure'/'Intermediate' and 'Resistant', defaults to system language (see \code{\link[=get_locale]{get_locale()}}) and can be overwritten by setting the option \code{AMR_locale}, e.g. \code{options(AMR_locale = "de")}, see \link{translate}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
+\item{language}{language to be used to translate 'Susceptible', 'Increased exposure'/'Intermediate' and 'Resistant', defaults to system language (see \code{\link[=get_AMR_locale]{get_AMR_locale()}}) and can be overwritten by setting the option \code{AMR_locale}, e.g. \code{options(AMR_locale = "de")}, see \link{translate}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
\item{expand}{a \link{logical} to indicate whether the range on the x axis should be expanded between the lowest and highest value. For MIC values, intermediate values will be factors of 2 starting from the highest MIC value. For disk diameters, the whole diameter range will be filled.}
diff --git a/man/proportion.Rd b/man/proportion.Rd
index 936fc19b..62b3ce1c 100644
--- a/man/proportion.Rd
+++ b/man/proportion.Rd
@@ -34,7 +34,7 @@ proportion_S(..., minimum = 30, as_percent = FALSE, only_all_tested = FALSE)
proportion_df(
data,
translate_ab = "name",
- language = get_locale(),
+ language = get_AMR_locale(),
minimum = 30,
as_percent = FALSE,
combine_SI = TRUE,
@@ -44,7 +44,7 @@ proportion_df(
rsi_df(
data,
translate_ab = "name",
- language = get_locale(),
+ language = get_AMR_locale(),
minimum = 30,
as_percent = FALSE,
combine_SI = TRUE,
@@ -64,7 +64,7 @@ rsi_df(
\item{translate_ab}{a column name of the \link{antibiotics} data set to translate the antibiotic abbreviations to, using \code{\link[=ab_property]{ab_property()}}}
-\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_locale]{get_locale()}}) and can also be set with \code{getOption("AMR_locale")}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
+\item{language}{language of the returned text, defaults to system language (see \code{\link[=get_AMR_locale]{get_AMR_locale()}}) and can also be set with \code{getOption("AMR_locale")}. Use \code{language = NULL} or \code{language = ""} to prevent translation.}
\item{combine_SI}{a \link{logical} to indicate whether all values of S and I must be merged into one, so the output only consists of S+I vs. R (susceptible vs. resistant). This used to be the argument \code{combine_IR}, but this now follows the redefinition by EUCAST about the interpretation of I (increased exposure) in 2019, see section 'Interpretation of S, I and R' below. Default is \code{TRUE}.}
diff --git a/man/translate.Rd b/man/translate.Rd
index 44113ac5..4048cd1b 100644
--- a/man/translate.Rd
+++ b/man/translate.Rd
@@ -2,10 +2,10 @@
% Please edit documentation in R/translate.R
\name{translate}
\alias{translate}
-\alias{get_locale}
+\alias{get_AMR_locale}
\title{Translate Strings from AMR Package}
\usage{
-get_locale()
+get_AMR_locale()
}
\description{
For language-dependent output of AMR functions, like \code{\link[=mo_name]{mo_name()}}, \code{\link[=mo_gramstain]{mo_gramstain()}}, \code{\link[=mo_type]{mo_type()}} and \code{\link[=ab_name]{ab_name()}}.
@@ -13,7 +13,7 @@ For language-dependent output of AMR functions, like \code{\link[=mo_name]{mo_na
\details{
Strings will be translated to foreign languages if they are defined in a local translation file. Additions to this file can be suggested at our repository. The file can be found here: \url{https://github.com/msberends/AMR/blob/main/data-raw/translations.tsv}. This file will be read by all functions where a translated output can be desired, like all \code{\link[=mo_property]{mo_*}} functions (such as \code{\link[=mo_name]{mo_name()}}, \code{\link[=mo_gramstain]{mo_gramstain()}}, \code{\link[=mo_type]{mo_type()}}, etc.) and \code{\link[=ab_property]{ab_*}} functions (such as \code{\link[=ab_name]{ab_name()}}, \code{\link[=ab_group]{ab_group()}}, etc.).
-Currently supported languages are: Danish, Dutch, English, French, German, Italian, Portuguese and Spanish. All these languages have translations available for all antimicrobial agents and colloquial microorganism names.
+Currently supported languages are: Danish, Dutch, English, French, German, Italian, Portuguese, Russian, Spanish and Swedish. All these languages have translations available for all antimicrobial agents and colloquial microorganism names.
Please suggest your own translations \href{https://github.com/msberends/AMR/issues/new?title=Translations}{by creating a new issue on our repository}.
\subsection{Changing the Default Language}{
@@ -24,7 +24,7 @@ The system language will be used at default (as returned by \code{Sys.getenv("LA
\item Setting the system variable \code{LANGUAGE} or \code{LANG}, e.g. by adding \code{LANGUAGE="de_DE.utf8"} to your \code{.Renviron} file in your home directory
}
-So if the R option \code{AMR_locale} is set, the system variables \code{LANGUAGE} and \code{LANG} will be ignored.
+Thus, if the R option \code{AMR_locale} is set, the system variables \code{LANGUAGE} and \code{LANG} will be ignored.
}
}
\section{Stable Lifecycle}{
@@ -43,15 +43,15 @@ On our website \url{https://msberends.github.io/AMR/} you can find \href{https:/
\examples{
# The 'language' argument of below functions
# will be set automatically to your system language
-# with get_locale()
+# with get_AMR_locale()
# English
mo_name("CoNS", language = "en")
#> "Coagulase-negative Staphylococcus (CoNS)"
# Danish
-mo_name("CoNS", language = "nl")
-#> "Koagulase-negative stafylokokker (CoNS)"
+mo_name("CoNS", language = "da")
+#> "Koagulase-negative stafylokokker (KNS)"
# Dutch
mo_name("CoNS", language = "nl")
diff --git a/pkgdown/extra.js b/pkgdown/extra.js
index c986cdae..b037832e 100644
--- a/pkgdown/extra.js
+++ b/pkgdown/extra.js
@@ -116,8 +116,8 @@ $(document).ready(function() {
}
$(".template-authors").html(doct_tit($(".template-authors").html()));
$(".template-citation-authors").html(doct_tit($(".template-citation-authors").html()));
- $('.template-citation-authors h1').eq(0).html("How to cite the AMR package");
- $('.template-citation-authors h1').eq(1).html("All contributors of the AMR package");
+ $('.template-citation-authors h1').eq(0).html("All contributors of the AMR package");
+ $('.template-citation-authors h1').eq(1).html("How to cite the AMR package");
$(".developers").html(doct_tit($(".developers").html()));
$(".developers a[href='authors.html']").text("All contributors...");
});
diff --git a/pkgdown/logos/lang_da.svg b/pkgdown/logos/lang_da.svg
new file mode 100644
index 00000000..881430f4
--- /dev/null
+++ b/pkgdown/logos/lang_da.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/pkgdown/logos/lang_de.svg b/pkgdown/logos/lang_de.svg
new file mode 100644
index 00000000..65e9a01a
--- /dev/null
+++ b/pkgdown/logos/lang_de.svg
@@ -0,0 +1,9 @@
+
+
+
diff --git a/pkgdown/logos/lang_en.svg b/pkgdown/logos/lang_en.svg
new file mode 100644
index 00000000..56487b08
--- /dev/null
+++ b/pkgdown/logos/lang_en.svg
@@ -0,0 +1,16 @@
+
+
diff --git a/pkgdown/logos/lang_es.svg b/pkgdown/logos/lang_es.svg
new file mode 100644
index 00000000..fba167dd
--- /dev/null
+++ b/pkgdown/logos/lang_es.svg
@@ -0,0 +1,406 @@
+
+
\ No newline at end of file
diff --git a/pkgdown/logos/lang_fr.svg b/pkgdown/logos/lang_fr.svg
new file mode 100644
index 00000000..a4bded52
--- /dev/null
+++ b/pkgdown/logos/lang_fr.svg
@@ -0,0 +1,2 @@
+
+
diff --git a/pkgdown/logos/lang_it.svg b/pkgdown/logos/lang_it.svg
new file mode 100644
index 00000000..0855ee39
--- /dev/null
+++ b/pkgdown/logos/lang_it.svg
@@ -0,0 +1,6 @@
+
+
diff --git a/pkgdown/logos/lang_nl.svg b/pkgdown/logos/lang_nl.svg
new file mode 100644
index 00000000..f19bd004
--- /dev/null
+++ b/pkgdown/logos/lang_nl.svg
@@ -0,0 +1,5 @@
+
\ No newline at end of file
diff --git a/pkgdown/logos/lang_pt.svg b/pkgdown/logos/lang_pt.svg
new file mode 100644
index 00000000..5c19329c
--- /dev/null
+++ b/pkgdown/logos/lang_pt.svg
@@ -0,0 +1,67 @@
+
+
\ No newline at end of file
diff --git a/pkgdown/logos/lang_ru.svg b/pkgdown/logos/lang_ru.svg
new file mode 100644
index 00000000..855b805a
--- /dev/null
+++ b/pkgdown/logos/lang_ru.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/pkgdown/logos/lang_sv.svg b/pkgdown/logos/lang_sv.svg
new file mode 100644
index 00000000..168a29a7
--- /dev/null
+++ b/pkgdown/logos/lang_sv.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/vignettes/welcome_to_AMR.Rmd b/vignettes/welcome_to_AMR.Rmd
index d55edded..81b678e9 100644
--- a/vignettes/welcome_to_AMR.Rmd
+++ b/vignettes/welcome_to_AMR.Rmd
@@ -28,7 +28,9 @@ Note: to keep the package size as small as possible, we only included this vigne
`AMR` is a free, open-source and independent R package (see [Copyright](https://msberends.github.io/AMR/#copyright)) to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial data and properties, by using evidence-based methods. **Our aim is to provide a standard** for clean and reproducible antimicrobial resistance data analysis, that can therefore empower epidemiological analyses to continuously enable surveillance and treatment evaluation in any setting.
-After installing this package, R knows `r AMR:::format_included_data_number(AMR::microorganisms)` distinct microbial species and all `r AMR:::format_included_data_number(rbind(AMR::antibiotics[, "atc", drop = FALSE], AMR::antivirals[, "atc", drop = FALSE]))` antibiotic, antimycotic and antiviral drugs by name and code (including ATC, EARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid R/SI and MIC values. It supports any data format, including WHONET/EARS-Net data. Antimicrobial names and group names are available in Danish, Dutch, English, French, German, Italian, Portuguese and Spanish.
+After installing this package, R knows `r AMR:::format_included_data_number(AMR::microorganisms)` distinct microbial species and all `r AMR:::format_included_data_number(rbind(AMR::antibiotics[, "atc", drop = FALSE], AMR::antivirals[, "atc", drop = FALSE]))` antibiotic, antimycotic and antiviral drugs by name and code (including ATC, EARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid R/SI and MIC values. It supports any data format, including WHONET/EARS-Net data.
+
+The `AMR` package is available in Danish, Dutch, English, French, German, Italian, Portuguese, Russian, Spanish and Swedish. Antimicrobial drug (group) names and colloquial microorganism names are provided in these languages.
This package is fully independent of any other R package and works on Windows, macOS and Linux with all versions of R since R-3.0 (April 2013). **It was designed to work in any setting, including those with very limited resources**. Since its first public release in early 2018, this package has been downloaded from more than 175 countries.