get_record_id_field: Utility function to extract the name of the project...

View source: R/utils.R

get_record_id_fieldR Documentation

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)

Arguments

data

a tibble of REDCap data

Details

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

Value

The name of the identifier field in the data


REDCapTidieR documentation built on April 3, 2025, 10:50 p.m.