View source: R/extract_tibble.R
extract_tibbles | R Documentation |
Take a supertibble generated with read_redcap()
and return a named list of data tibbles.
extract_tibbles(supertbl, tbls = everything())
supertbl |
A supertibble generated by |
tbls |
A vector of |
This function makes it easy to extract a multiple instrument's data from a
REDCapTidieR supertibble into a named list. Specifying instruments using
tidyselect helper functions such as dplyr::starts_with()
or dplyr::ends_with()
is supported.
A named list of tibble
s
superheroes_supertbl
# Extract all data tibbles
extract_tibbles(superheroes_supertbl)
# Only extract data tibbles starting with "heroes"
extract_tibbles(superheroes_supertbl, starts_with("heroes"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.