add_patients_demodata: Add patients to the CRC cell

Description Usage Arguments Details

Description

Add patients to the CRC cell, generate new encrypted IDs,

Usage

1
add_patients_demodata(patients, project, host = "", admin = "", pass = "")

Arguments

patients

A dataframe of patients

project

The project to add the patients to

host

The host to connect to

admin

The admin account for the PostgreSQL database

pass

The password for the admin account

Details

The patients dataframe must contain the following columns: - patient_ide: the original patient ID - birth_date: as a Date object - death_date: as a Date object - sex_cd (F or M)


MaximeWack/R2b2 documentation built on May 8, 2019, 9:52 a.m.