pull_creator: function to make pull functions

Description Usage Arguments Value

View source: R/pull_creator.R

Description

function to make pull functions

Usage

1
pull_creator(df_result, filter_col, default_pull = NULL, ...)

Arguments

df_result

a dataframe you want filtered by one or multiple filter columns and to pull values from

filter_col

one or multiple columns to filter the dataframe by

default_pull

a default column to pull from the filtered data.

...

additional argument options to the returned function

Value

a function to filter the dataframe by a character vector equal in length to the number of filter columns. returns values based on the filter columns/values provided; typically, will be a vector of length 1


dpowerstp/tpfuncts documentation built on Dec. 20, 2021, 1:12 a.m.