Skip to contents

Calculate coefficients of variation

Usage

calculate_cvs(.df)

Arguments

.df

The dataset returned from compile_acs_data(). The argument to this parameter must have an attribute named codebook (as is true of results from compile_acs_data()).

Value

A modified dataframe that includes newly calculated indicators.

Details

Create CVs for all ACS estimates and derived indicators. Uses pre-parsed codebook columns (numerator_vars, denominator_vars, se_calculation_type) to determine how to calculate standard errors.