add_skimr_metadata {REDCapTidieR}R Documentation

Add skimr metrics to a supertibble's metadata

Description

Add default skim metrics to the redcap_data list elements of a supertibble output from read_readcap.

Usage

add_skimr_metadata(supertbl)

Arguments

supertbl

a supertibble generated using read_redcap()

Details

For more information on the default metrics provided, check the get_default_skimmer_names documentation.

Value

A supertibble with skimr metadata metrics

Examples

superheroes_supertbl

add_skimr_metadata(superheroes_supertbl)

## Not run: 
redcap_uri <- Sys.getenv("REDCAP_URI")
token <- Sys.getenv("REDCAP_TOKEN")

supertbl <- read_redcap(redcap_uri, token)
add_skimr_metadata(supertbl)

## End(Not run)


[Package REDCapTidieR version 1.1.1 Index]