Learn R Programming

redcapAPI (version 2.7.4)

filterEmptyRow: Remove Rows Containing Only Missing Values

Description

Evaluates each row of a data frame for missingness. If all fields (excluding the identifying fields) are missing, the row is removed from the data. For the purpose of this function, redcap_data_access_group is considered an identifying field.

Usage

filterEmptyRow(data, rcon)

Arguments

data

A data.frame to be filtered.

rcon

A redcapConnection object.