Learn R Programming

REDCapTidieR (version 1.2.3)

extract_tibble: Extract a single data tibble from a REDCapTidieR supertibble

Description

Take a supertibble generated with read_redcap() and return one of its data tibbles.

Usage

extract_tibble(supertbl, tbl)

Value

A tibble.

Arguments

supertbl

A supertibble generated by read_redcap(). Required.

tbl

The redcap_form_name of the data tibble to extract. Required.

Details

This function makes it easy to extract a single instrument's data from a REDCapTidieR supertibble.

Examples

Run this code
superheroes_supertbl

extract_tibble(superheroes_supertbl, "heroes_information")

Run the code above in your browser using DataLab