Simple wrapper of rowSums for checking row sums of race, candidate columns
sum_over_cols(data, cols)
A data.frame() object containing precinct-level turnout data by race and candidate
A set of columns to sum over. Typically, enter cand_cols or race_cols here.
A vector of row-wise sums across the column vector entered as argument.