supertbl_recode: Recode fields using supertbl metadata

supertbl_recodeR Documentation

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


REDCapTidieR documentation built on April 3, 2025, 10:50 p.m.