Learn R Programming

REDCapTidieR (version 1.2.3)

calc_metadata_stats: Utility function to calculate summary for each tibble in a supertibble

Description

Utility function to calculate summary for each tibble in a supertibble

Usage

calc_metadata_stats(data)

Value

A list containing:

  • data_rows, the number of rows in the data

  • data_cols, the number of columns in the data

  • data_size, the size of the data in bytes

  • data_na_pct, the percentage of cells that are NA excluding identifiers and form completion fields

Arguments

data

a tibble of redcap data stored in the redcap_data column of a supertibble