eiCompare-package |
Compares EI, Goodman, RxC Estimates |
add_split_comma |
Pre-processes voter file by checking zipcode, and any special characters or typos within the address. |
bayes_table_make |
EI:RxC Bayes Table Make |
betas_for_return |
Manipulate precinct results to get betas as from ei_est_gen |
check_args |
Check for missing essential arguments from an ei function |
concat_final_address |
This function concatenate the final address |
concat_streetname |
Pre-processes voter file by checking zipcode, and any special characters or typos within the address. |
corona |
Corona 2014 Election Results |
cor_06 |
Corona 2006 Election Results |
dedupe_precincts |
Remove or identify duplicated precincts |
dedupe_voter_file |
De-duplicates a voter file. |
eiCompare |
Compares EI, Goodman, RxC Estimates |
ei_compare-class |
Class '"ei_compare"' |
ei_est_gen |
Iterative EI Estimation |
ei_good |
EI iterative estimation via Goodman's Regression |
ei_homog |
Homogeneous Precinct Analysis |
ei_iter |
Iterative EI Estimation |
ei_rc_congruence |
Congruence for 2x2 |
ei_rc_good_table |
Create EI Comparison Table |
ei_reg_bayes_conf_int |
Creates EI Reg Bayes Tables |
ei_rxc |
EI Bayesian simultaneous estimation for multiple races and candidates |
elect_algebra |
Election Algebra for 2x2 Case |
empty_ei_df |
Create a dataframe with NA values for racial and candidate counts. |
ersd_maps |
East Ramapo School District Proposed Maps |
fips_extract |
Extract geographic unit codes from FIPS codes. |
ga_geo |
Voter file information that has been geocoded |
georgia_census |
Fulton County and Gwinnett County, GA, Census demographic dataset. |
get_ei_iter_se |
Get 2x2 ei standard errors from ei object Works according to the aggregate formula in King, 1997, section 8.3 |
get_md_bayes_gen_output |
Get md_bayes_gen() output from ei_rxc() output |
get_multi_barreled_surnames |
Gets multi-barreled surnames from a voter file. |
get_results_table |
Get results dataframe from a list of results as from ei_est_gen |
get_special_character_surnames |
Gets surnames containing special characters. |
get_unique_special_characters |
Gets special characters in a column of names. |
get_word_count |
Counts the number of words per row in the column of a dataframe. |
goodman_generalize |
Goodman Regression Generalization |
gwinnett |
Election results and racial turnout data for Gwinnett County, Georgia, US |
gwinnett_ei |
Stylized dataset of election results and turnout by race in Gwinnett county, 2018 Georgia gubernatorial election. |
gwin_fulton_shape |
Shape file information for Gwinnett and Fulton counties in Georgia |
lac_10 |
Los Angeles County 2010 Election Results |
lambda_two_compare |
Lambda Two Compare |
latlong2fips |
Latitude-Longitude Coordinates to FIPS Geocode |
map_interactive |
This function allows the user to plot an interactive map of the voter longitude and latitude points. |
map_shape_file |
Function for making basic choropleth maps of shape_file using the tigris package and ggplot |
map_shape_points |
Function for making basic choropleth maps of longitude and latitude points using the tigris package and ggplot |
mbd_two |
Multinomial Dirichlet Bayes Draw Two Candidates |
mbd_two_minority |
Multinomial Dirichlet Bayes Draw Two Candidates, and White/Minority voters |
md_bayes_draw |
MD Bayes Draw |
md_bayes_draw_lambda |
MD Bayes Draw Lambda |
md_bayes_gen |
MD Bayes Generalize |
md_bayes_table |
MD Bayes Generalize Table Creation |
mean_and_ci |
mean_and_ci |
merge_voter_file_to_shape |
Merges a voter file to a shape file. |
ny_fips |
New York State FIPS codes |
ny_voter |
New York Voter File Sample |
od_plot_create |
od_plot_create |
overlay_density_plot |
overlay_density_plot |
performance_analysis |
Performs a performance analysis using a voter file, census shape, and district shape. |
plot.eiCompare |
Print a plot comparing the predictions of EI outputs. |
plot_bivariate |
Plot bivariate relationships between all combinations of candidates and race/ethnicities |
precinct_agg_combine |
Aggregates racial estimates across geographic units |
predict_race_multi_barreled |
Predicts, for one row in a voter file, the probability of a voter having a certain race by averaging over each "barrel" of the surname. |
race_cand_cors |
Table of bivariate correlations |
race_check_2_3 |
race_check_2_3 |
ramapo2018 |
East Ramapo School District 2018 Voter File |
remove_nas |
Remove missing values from dataset and return warning if any removed |
resolve_missing_vals |
Remove / Impute NAs in an EI dataset |
rockland_census |
Rockland County, NY, Census demographic dataset. |
rpv_density |
rpv_density |
run_geocoder |
Geocoding voter file addresses with coordinates (latitude and longitude) and/or census geographies. |
rxc_formula |
Make rxc formula |
split_add_nocommas |
Pre-processes voter file by checking zipcode, and any special characters or typos within the address. |
stdize_votes |
stdize_votes |
stdize_votes_all |
stdize_votes_all |
strip_special_characters |
Strips special characters from a voter file. |
summary.eiCompare |
Print a summary of an eiCompare object |
sum_over_cols |
Sum row-wise over columns in a dataframe |
surname_match |
Determines which surnames match to the Census list. |
surname_summary |
Briefly summarizes the surnames in a voter file. |
tidy_voter_file_wru |
Tidies a voter file for WRU. |
wru_predict_race_wrapper |
Prepares a voter file for the WRU predict_race function, and then predicts race. |
zip_hyphen |
Pre-processes voter file by checking zipcode, and any special characters or typos within the address. |