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"

Try the DOPE package in your browser

Any scripts or data that you put into this service are public.

DOPE documentation built on June 19, 2021, 1:06 a.m.