R/tiny_dataset.R

#' A 110 reports big, simulated ICSR database
#'
#' The dataframe tiny_dataset is used to demonstrate the functionality
#' of the package in examples. The larger drug_event_df-dataset can also
#' be used.
#'
#' @format `tiny_dataset`
#' A data frame with 110 rows and 3 columns. In total 110 unique report_ids.
#' In particular, for Drug A and Event 1 the observed count will be 4 and
#' exp_rrr = 1.1
#'
#' \describe{
#'   \item{report_id}{A report identifier, 1-110. }
#'   \item{drug}{Drugs named as Drug_A - Drug_Z.}
#'   \item{event}{Events named as Event_1 - Event_97)}
#'   \item{group}{In this example, sex of the patient, i.e. Male or Female.}
#' }
#' @source Simulated data.
"tiny_dataset"

Try the pvda package in your browser

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

pvda documentation built on May 29, 2024, 3 a.m.