Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.3%) to scientific vocabulary
Keywords
Repository
Comparing ecological inference techniques
Basic Info
- Host: GitHub
- Owner: RPVote
- Language: R
- Default Branch: master
- Homepage: https://rpvote.github.io/voting-rights/
- Size: 7.39 MB
Statistics
- Stars: 6
- Watchers: 7
- Forks: 6
- Open Issues: 21
- Releases: 0
Topics
Metadata Files
README.md
eiCompare 
eiCompare is an R package built to help practitioners and academics quantify racially polarized voting (RPV) with ease and confidence. It builds on top of several existing packages, augmenting their utility for measuring racially polarized voting in elections. Underlying packages include ei, eiPack, and wru.
eiCompare was built with several types of users in mind:
- Expert witnesses in voting rights litigation who need to accurately quantify vote dilution in an area and present the results convincingly to a judge or jury.
- National voting rights advocacy organizations trying to identify elections across the country where vote dilution might be at play.
- Grassroots organizations looking for data-driven tools to fuel their fight against vote dilution at the local level.
- Academics who study the causes and consequences of vote dilution and racially polarized voting.
News
eiCompare 3.0.2
Package changes
- Removed geocoding helpers from package. These are mostly trivial to code separately and added extra dependencies to the package. Change instigated by update to previous dependency
censusxy.
eiCompare 3.0.1
Minor package changes
- Switched maintainer from Loren Collingwood to Ari Decter-Frain (@aridf)
- Minor changes to functions dependent on
wruto ensure compatibility with new version
3.0 Update:
The Voting Rights Team of the 2020 University of Washington Data Science for Social Good Fellowship program worked throughout the summer to develop the latest iteration of the package. Highlights from the update include:
- Functions for geocoding addresses on voter files.
- Improved accuracy of BISG estimation through surname preprocessing.
- Refactored code for ecological inference functions.
- Parallel processing to speed up ecological inference and geocoding.
- New built-in visualizations of EI results and estimation diagnostics.
- Performance analysis tools for comparing different election maps.
- Functions for preprocessing address data, surname data, data for ecological inference.
See here for a full list of new features.
Installation
From CRAN
CRAN submission is currently underway. Check back soon for instructions on installation from CRAN.
From Github (development version)
Install latest development version with:
remotes::install_github('RPVote/eiCompare')
Usage
The name eiCompare highlights the utility of this package for comparing different ecological inference estimates. For instance, the following code compares iterative and RxC estimates of racial voting preferences in a stylized version of the 2018 Georgia gubernatorial election:
``` r library(eiCompare) data("gwinnett_ei")
iter <- eiiter( data = gwinnettei, candcols = c("kemp", "abrams", "metz"), racecols = c("white", "black", "other"), totals_col = "turnout", name = "Iterative EI", )
rxc <- eirxc( data = gwinnettei, candcols = c("kemp", "abrams", "metz"), racecols = c("white", "black", "other"), totals_col = "turnout", name = "RxC EI", )
plot(iter, rxc) ```

The top panel shows that the majority of white voters voted for Brian Kemp, who won this election. The middle panel shows the estiamted preferences of black voters. The estimates indicate that black voters strongly preferred Stacey Abrams over Brian Kemp.
Please refer to the package vignettes for detailed walkthroughs of how this package facilitates ecological inference. To view these in Rstudio, enter browseVignettes("eiCompare") in the console after installing the package.
Platform dependencies
The following platform dependencies may be required on Ubuntu/Debian based systems: sudo apt install libfftw3-dev fftw-dev
Learn More
- To learn about R programming, see Hands-On Programming with R and R for data science
- To learn more about the role of ecological inference in voting rights, visit the eiCompare website
Owner
- Name: RPVote
- Login: RPVote
- Kind: organization
- Repositories: 3
- Profile: https://github.com/RPVote
GitHub Events
Total
- Issues event: 2
- Delete event: 2
- Issue comment event: 1
- Push event: 5
- Pull request event: 5
- Create event: 4
Last Year
- Issues event: 2
- Delete event: 2
- Issue comment event: 1
- Push event: 5
- Pull request event: 5
- Create event: 4
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 42
- Total pull requests: 61
- Average time to close issues: 3 months
- Average time to close pull requests: 8 days
- Total issue authors: 14
- Total pull request authors: 12
- Average comments per issue: 1.5
- Average comments per pull request: 0.85
- Merged pull requests: 45
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: about 12 hours
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- lorenc5 (10)
- aridf (6)
- hikari-murayama (6)
- jcburke (5)
- scottyhq (3)
- pssachdeva (2)
- bfifield (2)
- 1beb (2)
- jeffreyawright (1)
- eddie-41 (1)
- woodsp (1)
- kuriwaki (1)
- rogers19 (1)
- mgoplerud (1)
Pull Request Authors
- lorenc5 (15)
- jcburke (9)
- aridf (9)
- pssachdeva (8)
- hikari-murayama (8)
- rachel-carroll (5)
- scottyhq (2)
- 1beb (2)
- woodsp (1)
- jeffreyawright (1)
- WillForan (1)
- El-Khatib (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 384 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 10
- Total maintainers: 1
cran.r-project.org: eiCompare
Compares Different Ecological Inference Methods
- Homepage: https://github.com/RPVote/eiCompare
- Documentation: http://cran.r-project.org/web/packages/eiCompare/eiCompare.pdf
- License: GPL-3
- Status: removed
-
Latest release: 3.0.4
published almost 3 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- ei * depends
- eiPack * depends
- wru * depends
- bayestestR * imports
- censusxy * imports
- coda * imports
- data.table * imports
- doParallel * imports
- doSNOW * imports
- dplyr * imports
- foreach * imports
- ggplot2 * imports
- graphics * imports
- leaflet * imports
- magrittr * imports
- mcmcse * imports
- methods * imports
- overlapping * imports
- purrr * imports
- rlang * imports
- sf * imports
- stringr * imports
- tidyr * imports
- tidyselect * imports
- RColorBrewer * suggests
- RJSONIO * suggests
- knitr * suggests
- opencage * suggests
- plyr * suggests
- reshape2 * suggests
- rmarkdown * suggests
- testthat * suggests
- tigris * suggests
- actions/cache v1 composite
- actions/checkout v2 composite
- r-lib/actions/pr-fetch v1 composite
- r-lib/actions/pr-push master composite
- r-lib/actions/setup-r master composite
- r-lib/actions/setup-r v1 composite
- actions/cache v1 composite
- actions/checkout v2 composite
- actions/upload-artifact master composite
- r-lib/actions/setup-pandoc master composite
- r-lib/actions/setup-r master composite
- actions/cache v1 composite
- actions/checkout v2 composite
- r-lib/actions/setup-r master composite