match_from_dict: Extract and match variable names using a dictionary

View source: R/utils.R

match_from_dictR Documentation

Extract and match variable names using a dictionary

Description

Extract and match variable names using a dictionary

Usage

match_from_dict(df, dictionary)

Arguments

df

Input dataframe

dictionary

Dataframe containing 2 columns ('old' and 'new') that map the names of the variables in the input dataframe and the names of the variables in the output dataframe

Value

This function returns a dataframe.


SwissTPH/timci documentation built on April 11, 2024, 8:31 a.m.