RenameDimensionColumns: RenameDimensionColumns(data, type)

View source: R/Utility-Functions.R

RenameDimensionColumnsR Documentation

RenameDimensionColumns(data, type)

Description

Renames the original column names of datapackcommons::dim_items_sets, by prepending the string in the type parameter

Usage

RenameDimensionColumns(data, type)

Arguments

data

the unique dim_cop_type that is passed in the MapDimToOptions method

type

It will pre-pend the string in type to the columns names

Value

The dataframe with renamed column names for dimensions


pepfar-datim/data-pack-commons documentation built on April 26, 2024, 12:09 a.m.