geomander - Geographic Tools for Studying Gerrymandering
A compilation of tools to complete common tasks for studying gerrymandering. This focuses on the geographic tool side of common problems, such as linking different levels of spatial units or estimating how to break up units. Functions exist for creating redistricting-focused data for the US.
Last updated 5 months ago
8.24 score 14 stars 1 packages 187 scripts 355 downloadsredistmetrics - Redistricting Metrics
Reliable and flexible tools for scoring redistricting plans using common measures and metrics. These functions provide key direct access to tools useful for non-simulation analyses of redistricting plans, such as for measuring compactness or partisan fairness. Tools are designed to work with the 'redist' package seamlessly.
Last updated 6 months ago
7.94 score 10 stars 2 packages 23 scripts 251 downloadsPL94171 - Tabulate P.L. 94-171 Redistricting Data Summary Files
Tools to process legacy format summary redistricting data files produced by the United States Census Bureau pursuant to P.L. 94-171. These files are generally available earlier but are difficult to work with as-is.
Last updated 2 years ago
census
5.89 score 7 stars 1 packages 37 scripts 290 downloadscensable - Making Census Data More Usable
Creates a common framework for organizing, naming, and gathering population, age, race, and ethnicity data from the Census Bureau. Accesses the API <https://www.census.gov/data/developers/data-sets.html>. Provides tools for adding information to existing data to line up with Census data.
Last updated 6 months ago
5.57 score 8 stars 4 packages 26 scripts 300 downloadsggredist - Scales, Geometries, and Extensions of 'ggplot2' for Election Mapping
Provides 'ggplot2' extensions for political map making. Implements new geometries for groups of simple feature geometries. Adds palettes and scales for red to blue color mapping and for discrete maps. Implements tools for easy label generation and placement, automatic map coloring, and themes.
Last updated 5 months ago
4.38 score 1 stars 1 packages 32 scripts 188 downloadsdivseg - Calculate Diversity and Segregation Indices
Implements common measures of diversity and spatial segregation. This package has tools to compute the majority of measures are reviewed in Massey and Denton (1988) <doi:10.2307/2579183>. Multiple common measures of within-geography diversity are implemented as well. All functions operate on data frames with a 'tidyselect' based workflow.
Last updated 6 months ago
2.78 score 1 stars 12 scripts 226 downloads