1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-27 07:26:11 +01:00
AMR/R/globals.R

128 lines
6.0 KiB
R
Raw Normal View History

2018-02-21 11:52:31 +01:00
# ==================================================================== #
# TITLE #
# Antimicrobial Resistance (AMR) Data Analysis for R #
2018-02-21 11:52:31 +01:00
# #
2019-01-02 23:24:07 +01:00
# SOURCE #
2020-07-08 14:48:06 +02:00
# https://github.com/msberends/AMR #
2018-02-21 11:52:31 +01:00
# #
# LICENCE #
2020-12-27 00:30:28 +01:00
# (c) 2018-2021 Berends MS, Luz CF et al. #
2020-10-08 11:16:03 +02:00
# Developed at the University of Groningen, the Netherlands, in #
# collaboration with non-profit organisations Certe Medical #
# Diagnostics & Advice, and University Medical Center Groningen. #
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
# ==================================================================== #
2021-03-11 21:42:30 +01:00
# add new version numbers here, and add the rules themselves to "data-raw/eucast_rules.tsv" and rsi_translation
# (sourcing "data-raw/_internals.R" will process the TSV file)
EUCAST_VERSION_BREAKPOINTS <- list("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.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_intrinsic_resistance/"),
"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_intrinsic_resistance/"))
SNOMED_VERSION <- list(title = "Public Health Information Network Vocabulary Access and Distribution System (PHIN VADS)",
current_source = "US Edition of SNOMED CT from 1 September 2020",
current_version = 12,
current_oid = "2.16.840.1.114222.4.11.1009",
value_set_name = "Microorganism",
url = "https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114222.4.11.1009")
CATALOGUE_OF_LIFE <- list(
year = 2019,
version = "Catalogue of Life: {year} Annual Checklist",
url_CoL = "http://www.catalogueoflife.org/col/",
url_LPSN = "https://lpsn.dsmz.de",
yearmonth_LPSN = "March 2021"
)
2020-12-17 16:22:25 +01:00
globalVariables(c(".rowid",
"ab",
2019-09-25 15:43:22 +02:00
"ab_txt",
"affect_mo_name",
2020-03-08 11:18:59 +01:00
"angle",
"antibiotic",
2020-02-14 20:03:43 +01:00
"antibiotics",
2020-05-16 20:08:21 +02:00
"atc_group1",
"atc_group2",
2021-04-12 14:24:40 +02:00
"base_ab",
2020-05-16 20:08:21 +02:00
"code",
"cols",
"count",
2020-07-08 22:55:17 +02:00
"data",
"disk",
2021-01-14 15:51:41 +01:00
"dosage",
"dose",
"dose_times",
2018-09-24 23:33:29 +02:00
"fullname",
2019-02-27 17:39:39 +01:00
"fullname_lower",
2019-12-22 11:43:38 +01:00
"g_species",
2018-09-01 21:19:46 +02:00
"genus",
2020-05-16 20:08:21 +02:00
"gr",
2019-08-12 15:34:49 +02:00
"group",
2020-12-13 13:44:04 +01:00
"guideline",
2020-03-08 11:18:59 +01:00
"hjust",
2019-02-27 19:02:47 +01:00
"input",
"intrinsic_resistant",
2019-06-27 11:57:45 +02:00
"isolates",
2019-05-10 16:44:59 +02:00
"lang",
"language",
2019-05-10 16:44:59 +02:00
"lookup",
2020-12-13 13:44:04 +01:00
"method",
"mic",
"mic ",
"microorganism",
2018-09-01 21:19:46 +02:00
"microorganisms",
2019-09-23 20:55:54 +02:00
"microorganisms.codes",
2020-02-14 20:03:43 +01:00
"microorganisms.old",
2018-09-01 21:19:46 +02:00
"mo",
2019-06-27 11:57:45 +02:00
"name",
2019-03-28 22:05:03 +01:00
"new",
2018-09-01 21:19:46 +02:00
"observations",
2019-03-28 22:05:03 +01:00
"old",
2019-09-18 15:46:09 +02:00
"old_name",
2019-06-12 16:08:20 +02:00
"pattern",
2018-09-01 21:19:46 +02:00
"R",
2020-12-27 15:07:01 +01:00
"reference.rule",
2020-09-24 00:50:23 +02:00
"reference.rule_group",
"reference.version",
"rowid",
"rsi",
"rsi_translation",
2019-04-05 18:47:39 +02:00
"rule_group",
"rule_name",
2019-01-17 12:08:04 +01:00
"se_max",
"se_min",
2018-09-01 21:19:46 +02:00
"species",
2019-03-26 14:24:03 +01:00
"species_id",
2019-08-25 23:25:12 +02:00
"total",
2019-04-05 18:47:39 +02:00
"txt",
"type",
2018-09-01 21:19:46 +02:00
"value",
2020-03-08 11:18:59 +01:00
"varname",
"xvar",
2020-11-24 11:47:54 +01:00
"y",
2020-03-08 11:18:59 +01:00
"year",
"yvar"))