Skip to contents

Helper for aligning your data to MSF standardised dictionaries and analysis templates.

Usage

msf_dict_rename_helper(dictionary, copy_to_clipboard = TRUE)

Arguments

dictionary

Specify which MSF dictionary you would like to use. See msf_dict() for options.

copy_to_clipboard

if TRUE (default), the rename template will be copied to the user's clipboard with clipr::write_clip(). If FALSE, the rename template will be printed to the user's console.

Value

A dplyr command used to rename columns in your data frame according to the dictionary