Get results dataframe from a list of results as from ei_est_gen
get_results_table(
district_results,
cand_col,
race_col,
n_cand,
n_race,
n_iter,
add_other = TRUE
)
a dataframe of results that will work with table comparison funcs.
A list of dataframes computed in the midst of ei_iter
Passed through from ei_iter
Passed through from ei_iter
Passed through from ei_iter
Passed through from ei_iter
Passed through from ei_iter
A boolean. If true, adds an 'other' column to the output when only one race group is included. Generally, set TRUE for ei_iter, FALSE for ei_good.
Ari Decter-Frain <agd75@cornell.edu>