find_strat_col: find_strat_col

View source: R/find_strat_col.R

find_strat_colR Documentation

find_strat_col

Description

From a data frame/tibble, find the column labeled "Stratification". This is the column we will use to stratify the reports by. If there isn't a stratification column, find_strat_col returns NA.

Usage

find_strat_col(data = NULL)

Arguments

data

The data frame to search through.

col_name

The column name value of the stratification column. This can be set in config.yaml.

Value

This function will return either a number or NA if it cannot locate a stratification column.


Choens/acuitasAdHoc documentation built on March 18, 2022, 6:37 a.m.