R/data_person.R

#' Example Person File for Testing
#'
#' A tibble containing example person file data to be used for testing and
#' demonstration of the package
#'
#' @format A tibble with 3 observations and 9 variables:
#' \describe{
#'   \item{id}{unique identifier; character}
#'   \item{gender}{Gender/Sex; character 'M' or 'F'}
#'   \item{race}{Race; character 'W' or 'N'}
#'   \item{dob}{Date of Birth; character to be converted to date}
#'   \item{pybegin}{date to begin follow-up/at-risk accumulation, character to be converted to date}
#'   \item{dlo}{Date last observed; character to be converted to date}
#'   \item{vs}{indicator identifying the vital status of the cohort. A value of 'D' indicates an observed death; character}
#'   \item{rev}{ICD revision of the ICD code; numeric}
#'   \item{code}{ICD-code for the cause of death; character}
#'   ...
#' }
#' @source {Internally Generated}
"person_example"

Try the LTASR package in your browser

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

LTASR documentation built on Sept. 11, 2024, 6:51 p.m.