Learn R Programming

REDCapTidieR (version 1.2.3)

get_record_id_field: Utility function to extract the name of the project identifier field for a tibble of REDCap data

Description

Utility function to extract the name of the project identifier field for a tibble of REDCap data

Usage

get_record_id_field(data)

Value

The name of the identifier field in the data

Arguments

data

a tibble of REDCap data

Details

The current implementation assumes that the first field in the data is the project identifier