getPersonIdentifier {omopgenerics}R Documentation

Get the column name with the person identifier from a table (either subject_id or person_id), it will throw an error if it contains both or neither.

Description

Get the column name with the person identifier from a table (either subject_id or person_id), it will throw an error if it contains both or neither.

Usage

getPersonIdentifier(x, call = parent.frame())

Arguments

x

A table.

call

A call argument passed to cli functions.

Value

Person identifier column.


[Package omopgenerics version 0.2.3 Index]