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 Feb. 6, 2024, 9:46 p.m.