switch_column_names_and_merge_categories: Switch Column Names and Add Categories For a Project

View source: R/DataReformatting.R

switch_column_names_and_merge_categoriesR Documentation

Switch Column Names and Add Categories For a Project

Description

A function for changing the column names e.g, where the column names represent crops, and merging categories.

Usage

switch_column_names_and_merge_categories(
  data,
  conversion_tibble,
  by_project = T
)

Arguments

data

Dataset with categories to be merged

conversion_tibble

A tibble of conversion factors be converted

by_project

Should

Details

Rpackage file: DataReformatting.R


l-gorman/rhomis-R-package documentation built on Nov. 8, 2023, 6:46 a.m.