Learn R Programming

REDCapTidieR (version 1.2.3)

supertbl_recode: Recode fields using supertbl metadata

Description

This utility function helps to map metadata field types in order to apply changes in supertbl tables.

Usage

supertbl_recode(supertbl, supertbl_meta, add_labelled_column_headers)

Arguments

supertbl

A supertibble generated using read_redcap()

supertbl_meta

an unnest-ed metadata tibble from the supertibble

add_labelled_column_headers

Whether or not to include labelled outputs