Learn R Programming

PatientProfiles (version 1.4.5)

mockPatientProfiles: It creates a mock database for testing PatientProfiles package

Description

It creates a mock database for testing PatientProfiles package

Usage

mockPatientProfiles(
  numberIndividuals = 10,
  ...,
  source = "local",
  con = lifecycle::deprecated(),
  writeSchema = lifecycle::deprecated(),
  seed = lifecycle::deprecated()
)

Value

A mock cdm_reference object created following user's specifications.

Arguments

numberIndividuals

Number of individuals to create in the cdm reference.

...

User self defined tables to put in cdm, it can input as many as the user want.

source

Source for the mock cdm, it can either be 'local' or 'duckdb'.

con

deprecated.

writeSchema

deprecated.

seed

deprecated.

Examples

Run this code
# \donttest{
library(PatientProfiles)

cdm <- mockPatientProfiles()

# }

Run the code above in your browser using DataLab