You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
788B

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/demodata.R
  3. \name{add_patients_demodata}
  4. \alias{add_patients_demodata}
  5. \title{Add patients to the CRC cell}
  6. \usage{
  7. add_patients_demodata(patients, project, host = "", admin = "", pass = "")
  8. }
  9. \arguments{
  10. \item{patients}{A dataframe of patients}
  11. \item{project}{The project to add the patients to}
  12. \item{host}{The host to connect to}
  13. \item{admin}{The admin account for the PostgreSQL database}
  14. \item{pass}{The password for the admin account}
  15. }
  16. \description{
  17. Add patients to the CRC cell, generate new encrypted IDs,
  18. }
  19. \details{
  20. The patients dataframe must contain the following columns:
  21. - patient_ide: the original patient ID
  22. - birth_date: as a Date object
  23. - death_date: as a Date object
  24. - sex_cd (F or M)
  25. }