atoxgr_criteria <- system.file("adlb_grading/adlb_grading_spec.xlsx", package = "admiral")
# Contrary to our usual convention the use of `::` here is explicit. This way we
# avoid having to list {readxl} in "Imports" and instead get away with just
# listing it in "Depends".
atoxgr_criteria_ctcv4 <- atoxgr_criteria %>%
readxl::read_excel(sheet = "NCICTCAEv4") %>%
dplyr::mutate(GRADE_CRITERIA_CODE = gsub("[\r\n]", " ", GRADE_CRITERIA_CODE))
usethis::use_data(atoxgr_criteria_ctcv4, overwrite = TRUE)
atoxgr_criteria_ctcv5 <- atoxgr_criteria %>%
readxl::read_excel(sheet = "NCICTCAEv5") %>%
dplyr::mutate(GRADE_CRITERIA_CODE = gsub("[\r\n]", " ", GRADE_CRITERIA_CODE))
use_data(atoxgr_criteria_ctcv5, overwrite = TRUE)
atoxgr_criteria_daids <- atoxgr_criteria %>%
readxl::read_excel(sheet = "DAIDS") %>%
dplyr::mutate(GRADE_CRITERIA_CODE = gsub("[\r\n]", " ", GRADE_CRITERIA_CODE))
use_data(atoxgr_criteria_daids, overwrite = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.