AMR/R/aa_globals.R

210 lines
6.9 KiB
R
Raw Normal View History

2018-02-21 11:52:31 +01:00
# ==================================================================== #
# TITLE: #
2022-10-05 09:12:22 +02:00
# AMR: An R Package for Working with Antimicrobial Resistance Data #
2018-02-21 11:52:31 +01:00
# #
# SOURCE CODE: #
2020-07-08 14:48:06 +02:00
# https://github.com/msberends/AMR #
2018-02-21 11:52:31 +01:00
# #
# PLEASE CITE THIS SOFTWARE AS: #
# Berends MS, Luz CF, Friedrich AW, et al. (2022). #
# AMR: An R Package for Working with Antimicrobial Resistance Data. #
# Journal of Statistical Software, 104(3), 1-31. #
2023-05-27 10:39:22 +02:00
# https://doi.org/10.18637/jss.v104.i03 #
2022-10-05 09:12:22 +02:00
# #
2022-12-27 15:16:15 +01:00
# Developed at the University of Groningen and the University Medical #
# Center Groningen in The Netherlands, in collaboration with many #
# colleagues from around the world, see our website. #
2018-02-21 11:52:31 +01:00
# #
2019-01-02 23:24:07 +01:00
# This R package is free software; you can freely use and distribute #
# it for both personal and commercial purposes under the terms of the #
# GNU General Public License version 2.0 (GNU GPL-2), as published by #
# the Free Software Foundation. #
# We created this package for both routine data analysis and academic #
# research and it was publicly released in the hope that it will be #
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
2020-10-08 11:16:03 +02:00
# #
# Visit our website for the full manual and a complete tutorial about #
# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
2018-02-21 11:52:31 +01:00
# ==================================================================== #
2023-01-21 23:47:20 +01:00
# add new version numbers here, and add the rules themselves to "data-raw/eucast_rules.tsv" and clinical_breakpoints
# (sourcing "data-raw/_pre_commit_checks.R" will process the TSV file)
2022-08-28 10:31:50 +02:00
EUCAST_VERSION_BREAKPOINTS <- list(
# "13.0" = list(
# version_txt = "v13.0",
# year = 2023,
# title = "'EUCAST Clinical Breakpoint Tables'",
# url = "https://www.eucast.org/clinical_breakpoints/"
# ),
2022-11-14 15:20:39 +01:00
"12.0" = list(
version_txt = "v12.0",
year = 2022,
title = "'EUCAST Clinical Breakpoint Tables'",
url = "https://www.eucast.org/clinical_breakpoints/"
),
2022-08-28 10:31:50 +02:00
"11.0" = list(
version_txt = "v11.0",
year = 2021,
title = "'EUCAST Clinical Breakpoint Tables'",
url = "https://www.eucast.org/clinical_breakpoints/"
),
"10.0" = list(
version_txt = "v10.0",
year = 2020,
title = "'EUCAST Clinical Breakpoint Tables'",
url = "https://www.eucast.org/ast_of_bacteria/previous_versions_of_documents/"
)
)
EUCAST_VERSION_EXPERT_RULES <- list(
"3.3" = list(
version_txt = "v3.3",
year = 2021,
title = "'EUCAST Expert Rules' and 'EUCAST Intrinsic Resistance and Unusual Phenotypes'",
url = "https://www.eucast.org/expert_rules_and_expected_phenotypes"
2022-08-28 10:31:50 +02:00
),
"3.2" = list(
version_txt = "v3.2",
year = 2020,
title = "'EUCAST Expert Rules' and 'EUCAST Intrinsic Resistance and Unusual Phenotypes'",
url = "https://www.eucast.org/expert_rules_and_expected_phenotypes"
2022-08-28 10:31:50 +02:00
),
"3.1" = list(
version_txt = "v3.1",
year = 2016,
title = "'EUCAST Expert Rules, Intrinsic Resistance and Exceptional Phenotypes'",
url = "https://www.eucast.org/expert_rules_and_expected_phenotypes"
)
)
# EUCAST_VERSION_RESISTANTPHENOTYPES <- list(
# "1.2" = list(
# version_txt = "v1.2",
# year = 2023,
# title = "'Expected Resistant Phenotypes'",
# url = "https://www.eucast.org/expert_rules_and_expected_phenotypes"
# )
# )
2021-03-11 21:42:30 +01:00
2022-10-05 09:12:22 +02:00
TAXONOMY_VERSION <- list(
GBIF = list(
name = "Global Biodiversity Information Facility (GBIF)",
accessed_date = as.Date("2024-06-24"),
2024-02-24 19:26:35 +01:00
citation = "GBIF Secretariat (2023). GBIF Backbone Taxonomy. Checklist dataset \\doi{10.15468/39omei}.",
2022-10-05 09:12:22 +02:00
url = "https://www.gbif.org"
),
LPSN = list(
name = "List of Prokaryotic names with Standing in Nomenclature (LPSN)",
accessed_date = as.Date("2024-06-24"),
2022-10-05 09:12:22 +02:00
citation = "Parte, AC *et al.* (2020). **List of Prokaryotic names with Standing in Nomenclature (LPSN) moves to the DSMZ.** International Journal of Systematic and Evolutionary Microbiology, 70, 5607-5612; \\doi{10.1099/ijsem.0.004332}.",
url = "https://lpsn.dsmz.de"
),
MycoBank = list(
name = "MycoBank",
accessed_date = as.Date("2024-06-24"),
citation = "Vincent, R *et al* (2013). **MycoBank gearing up for new horizons.** IMA Fungus, 4(2), 371-9; \\doi{10.5598/imafungus.2013.04.02.16}.",
url = "https://www.mycobank.org"
),
2023-05-26 16:10:01 +02:00
BacDive = list(
name = "BacDive",
accessed_date = as.Date("2024-07-16"),
2023-05-26 16:10:01 +02:00
citation = "Reimer, LC *et al.* (2022). ***BacDive* in 2022: the knowledge base for standardized bacterial and archaeal data.** Nucleic Acids Res., 50(D1):D741-D74; \\doi{10.1093/nar/gkab961}.",
url = "https://bacdive.dsmz.de"
),
2022-10-05 09:12:22 +02:00
SNOMED = list(
name = "Systematized Nomenclature of Medicine - Clinical Terms (SNOMED-CT)",
accessed_date = as.Date("2024-07-16"),
2023-10-20 15:45:00 +02:00
citation = "Public Health Information Network Vocabulary Access and Distribution System (PHIN VADS). US Edition of SNOMED CT from 1 September 2020. Value Set Name 'Microorganism', OID 2.16.840.1.114222.4.11.1009 (v12).",
2022-10-05 09:12:22 +02:00
url = "https://phinvads.cdc.gov"
2022-10-30 14:31:45 +01:00
),
LOINC = list(
name = "Logical Observation Identifiers Names and Codes (LOINC)",
2023-10-20 14:51:48 +02:00
accessed_date = as.Date("2023-10-19"),
citation = "Logical Observation Identifiers Names and Codes (LOINC), Version 2.76 (18 September, 2023).",
2022-10-30 14:31:45 +01:00
url = "https://loinc.org"
2022-10-05 09:12:22 +02:00
)
2021-03-11 21:42:30 +01:00
)
2022-08-28 10:31:50 +02:00
globalVariables(c(
2023-10-20 15:45:00 +02:00
".GenericCallEnv",
2023-02-10 16:47:25 +01:00
".mo",
2022-08-28 10:31:50 +02:00
".rowid",
2023-02-10 16:47:25 +01:00
".syndromic_group",
2022-08-28 10:31:50 +02:00
"ab",
"ab_txt",
"affect_ab_name",
"affect_mo_name",
"angle",
"antibiotic",
"antibiotics",
"atc_group1",
"atc_group2",
"base_ab",
2023-02-09 13:07:39 +01:00
"ci_max",
2023-02-10 16:47:25 +01:00
"ci_min",
"clinical_breakpoints",
2022-08-28 10:31:50 +02:00
"code",
"cols",
"count",
"data",
"disk",
"dosage",
"dose",
"dose_times",
"fullname",
"fullname_lower",
"g_species",
"genus",
"gr",
"group",
"guideline",
"hjust",
2024-02-24 19:26:35 +01:00
"host_index",
"host_match",
2022-08-28 10:31:50 +02:00
"input",
"intrinsic_resistant",
"isolates",
"lang",
"language",
"lookup",
"method",
2023-02-09 13:07:39 +01:00
"mic ",
2023-02-10 16:47:25 +01:00
"mic",
2022-08-28 10:31:50 +02:00
"microorganism",
"microorganisms",
"microorganisms.codes",
"mo",
2024-06-13 20:55:17 +02:00
"n",
2022-08-28 10:31:50 +02:00
"name",
"new",
2023-02-10 16:47:25 +01:00
"numerator",
2022-08-28 10:31:50 +02:00
"observations",
"old",
"old_name",
"pattern",
"R",
"rank_index",
2023-01-24 14:52:15 +01:00
"ref_tbl",
2022-08-28 10:31:50 +02:00
"reference.rule",
"reference.rule_group",
"reference.version",
"rowid",
"rule_group",
"rule_name",
"se_max",
"se_min",
2023-02-10 16:47:25 +01:00
"SI",
"sir",
2022-08-28 10:31:50 +02:00
"species",
2023-02-10 16:47:25 +01:00
"syndromic_group",
2022-08-28 10:31:50 +02:00
"total",
"txt",
"type",
2024-06-13 20:55:17 +02:00
"uti_index",
2022-08-28 10:31:50 +02:00
"value",
"varname",
2024-06-13 20:55:17 +02:00
"x",
2022-08-28 10:31:50 +02:00
"xvar",
"y",
"year",
"yvar"
))