protobi_apply_formats: Apply Formats Function

View source: R/protobi.R

protobi_apply_formatsR Documentation

Apply Formats Function

Description

Given the data and format, this function replaces the values in the dataframe column with the format metadata values.

Usage

protobi_apply_formats(df, formats)

Arguments

df

A data.frame.

formats

A list with format metadata as returned by protobi_get_formats.

Value

The df with levels adjusted according to formats.


protobi/protobi-r documentation built on July 8, 2023, 7:20 p.m.