get_fields_to_drop: Determine fields included in 'REDCapR::redcap_read_oneshot'...

View source: R/read_redcap.R

get_fields_to_dropR Documentation

Determine fields included in REDCapR::redcap_read_oneshot output that should be dropped from results of read_redcap

Description

Determine fields included in REDCapR::redcap_read_oneshot output that should be dropped from results of read_redcap

Usage

get_fields_to_drop(db_metadata, form)

Arguments

db_metadata

metadata tibble created by REDCapR::redcap_metadata_read

form

the name of the instrument containing identifiers

Details

This function applies rules to determine which fields are included in the results of REDCapR::redcap_read_oneshot because the user didn't request the instrument containing identifiers

Value

A character vector of extra field names that can be used to filter the results of REDCapR::redcap_read_oneshot


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