dataCheck: dataCheck.R

Description Usage Arguments

Description

Check if loaded patient data has values within acceptable range. See vignette for restrictions on data.

Usage

1
2
dataCheck(demo.data = demo_data, psa.data = psa_data, bx.data = bx_data,
  surg.data = surg_data)

Arguments

demo.data

Patient-level data. This dataframe should contain one record (row) per patient. Variables (columns) must include a unique identifier (ID) and valid date of birth for each patient.

psa.data

PSA data. This dataframe should contain one record per PSA test (per patient). Variables must include patient ID, date of test, and total PSA observed.

bx.data

Biopsy data. This dataframe should contain one record per biopsy (per patient). Variables must include patient ID, date of biopsy, indicator of grade reclassication, and prostate volume (if assessed).

surg.data

Surgery data. This dataframe should contain one record per surgery performed. Variables must include patient ID, surgery date, and Gleason score (GS) assessed on entire specimen.


jbindman/prostate-project documentation built on May 18, 2019, 5:59 p.m.