make_key_value {tidymodlr}R Documentation

Generate a key value table with unique key for a set of text

Description

Given a vector of characters, this will return a data frame of a unique key column (of, where possible, 3 characters) and value column listing the unique elements of the original text.

Usage

make_key_value(text)

Arguments

text

The text to abbreviate and create a key value table for

Value

df A ⁠Key Value⁠ table

Examples

data(wb)
make_key_value(wb$indicator)

[Package tidymodlr version 1.0.0 Index]