metadata_additions: Add variables to a tplyr_meta object

add_variablesR Documentation

Add variables to a tplyr_meta object

Description

Add additional variable names to a tplyr_meta() object.

Usage

add_variables(meta, names)

add_filters(meta, filters)

Arguments

meta

A tplyr_meta object

names

A list of names, providing variable names of interest. Provide as a list of quosures using rlang::quos()

filters

A list of symbols, providing variable names of interest. Provide as a list of quosures using 'rlang::quos()'

Value

tplyr_meta object

Examples


m <- tplyr_meta()
m <- add_variables(m, rlang::quos(a, b, c))
m <- add_filters(m, rlang::quos(a==1, b==2, c==3))
m

Tplyr documentation built on May 29, 2024, 10:37 a.m.