standardise_colnames: Standardises the variables names from different datasets.

Description Usage Arguments Value

View source: R/data_cleaning.R

Description

Standardises the variables names from different datasets.

Usage

1
standardise_colnames(df, data_src, data_mapping)

Arguments

df

dataframe where you want to rename the variables

data_src

data source type (e.g. 'valcre', 'epc')

data_mapping

data mapping table - included in bearing package - data('data_mapping')

Value

returns dataframe with renamed variables


OllieS8/bearing documentation built on Dec. 31, 2020, 3:23 p.m.