protobi_apply_meta: Internal helper function used to apply metadata to df

View source: R/protobi.R

protobi_apply_metaR Documentation

Internal helper function used to apply metadata to df

Description

Given df, metadata and updating function return df with updated columns

Usage

protobi_apply_meta(df, metadata, updater)

Arguments

df

A data.frame.

metadata

A list.

updater

A function that takes a column name and returns corresponding data with attached metadata.

Value

df with metadata attached.


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