create_studyid: create_studyid function

View source: R/format.R

create_studyidR Documentation

create_studyid function

Description

given a seed this function creates a pseudo random ID that should be unique to a patient. the seed also must be unique to the patient but preferably not a single identifier. for example it would be better to use ssn multiplied by dob and gender rather than ssn alone. additionally row numbers can be used if they are unlikely to yield patient information

Usage

create_studyid(x, sha = FALSE)

Arguments

x

a seed unique to a patient used for generating the pseudorandom id.

Examples

create_studyid_function()


clmacleod/highlandr documentation built on Oct. 11, 2023, 8:04 p.m.