R/data-utils.R
check_weights.Rd
This helper function makes a few simple checks to identify obvious issues with the weights provided.
check_weights(data, weight_col)
Dataframe of interest.
Quoted name of weights column.
Returns NULL. Errors if a problem is discovered.