kpi_bind_keywords: Add keyword columns to a Kolada KPI table
Description
Identify n keywords describing the KPI and add them as new columns.
Keywords are inferred from the title field of the table.
Usage
kpi_bind_keywords(kpi_df, n = 2, form = c("wide", "long"))
Value
A Kolada KPI metadata table
Arguments
kpi_df
A Kolada KPI metadata table, e.g. as created by
get_kpi.
n
How many keyword columns should be added?
form
Can be either "wide" (default) or "long". Whether to return
keywords as separate columns ("wide") or as separate rows, duplicating all
other data ("long").