add_strata_id: Add a new column called 'strata_id' that will be unique for...

View source: R/utils.R

add_strata_idR Documentation

Add a new column called strata_id that will be unique for each strata. The default fields used to determine unique strata are created in the data-raw/strata-variables.R file and are a variable called HEAT_strata_variables

Description

Add a new column called strata_id that will be unique for each strata. The default fields used to determine unique strata are created in the data-raw/strata-variables.R file and are a variable called HEAT_strata_variables

Usage

add_strata_id(.data, strata_vars = heatmeasures::HEAT_strata_variables)

Arguments

.data
strata_vars

as string, a vector of field names to use to determine unique strata.


WHOequity/HEAT-Measures documentation built on May 21, 2024, 10:08 p.m.