R/drug_df.R

#' Simulated drug data
#'
#' A dataset containing a record of drugs used by a patient. The \code{textdrug} field is unstructured.
#'
#' @docType data
#'
#' @usage data(drug_df)
#'
#' @format A tibble with 500 rows and 3 variables:
#' \describe{
#'   \item{textdrug}{A free-text field of drug names}
#'   \item{sex}{Patient sex}
#'   \item{race}{Patient race}
#'   }
#'
"drug_df"
CTN-0094/DOPE documentation built on June 11, 2025, 11:54 a.m.