extract_tibble function

Extract a single data tibble from a REDCapTidieR supertibble

Extract a single data tibble from a REDCapTidieR supertibble

Take a supertibble generated with read_redcap()

and return one of its data tibbles.

extract_tibble(supertbl, tbl)

Arguments

  • supertbl: A supertibble generated by read_redcap(). Required.
  • tbl: The redcap_form_name of the data tibble to extract. Required.

Returns

A tibble.

Details

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

Examples

superheroes_supertbl extract_tibble(superheroes_supertbl, "heroes_information")