Package: ggredist 0.0.2
![](https://github.com/alarm-redist/ggredist/raw/HEAD/man/figures/logo.png)
ggredist: 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.
Authors:
ggredist_0.0.2.tar.gz
ggredist_0.0.2.zip(r-4.5)ggredist_0.0.2.zip(r-4.4)ggredist_0.0.2.zip(r-4.3)
ggredist_0.0.2.tgz(r-4.4-any)ggredist_0.0.2.tgz(r-4.3-any)
ggredist_0.0.2.tar.gz(r-4.5-noble)ggredist_0.0.2.tar.gz(r-4.4-noble)
ggredist_0.0.2.tgz(r-4.4-emscripten)ggredist_0.0.2.tgz(r-4.3-emscripten)
ggredist.pdf |ggredist.html✨
ggredist/json (API)
NEWS
# Install 'ggredist' in R: |
install.packages('ggredist', repos = c('https://alarm-redist.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/alarm-redist/ggredist/issues
- cities - U.S. Cities
- interstates - Insterstate Shapefile
- oregon - Oregon Redistricting File
Last updated 2 months agofrom:d2ebbfe595. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Aug 26 2024 |
R-4.5-win | NOTE | Aug 26 2024 |
R-4.5-linux | NOTE | Aug 26 2024 |
R-4.4-win | OK | Aug 26 2024 |
R-4.4-mac | OK | Aug 26 2024 |
R-4.3-win | OK | Aug 26 2024 |
R-4.3-mac | OK | Aug 26 2024 |
Exports:geom_districtgeom_district_labelgeom_district_textgeom_placesGeomDistrictGeomDistrictTextGeomPlacesggredistlabel_party_marginlabel_party_pctmap_coloringscale_color_538scale_color_alaskascale_color_coastscale_color_drascale_color_floridascale_color_jacksonvillescale_color_larchscale_color_natgeoscale_color_party_bscale_color_party_cscale_color_party_dscale_color_penn82scale_color_randmcnallyscale_color_washingtonscale_color_wiki_demscale_color_wiki_dem_presscale_color_wiki_repscale_color_wiki_rep_presscale_colour_alaskascale_colour_coastscale_colour_drascale_colour_floridascale_colour_jacksonvillescale_colour_larchscale_colour_natgeoscale_colour_party_bscale_colour_party_cscale_colour_party_dscale_colour_penn82scale_colour_randmcnallyscale_colour_washingtonscale_fill_538scale_fill_alaskascale_fill_coastscale_fill_drascale_fill_floridascale_fill_jacksonvillescale_fill_larchscale_fill_natgeoscale_fill_party_bscale_fill_party_cscale_fill_party_dscale_fill_penn82scale_fill_randmcnallyscale_fill_washingtonscale_fill_wiki_demscale_fill_wiki_dem_presscale_fill_wiki_repscale_fill_wiki_rep_presstat_citiesstat_districtstat_district_coordinatesstat_interstatesstat_placesStatCitiesStatDistrictStatDistrictCoordinatesStatInterstatesStatPlacestheme_map
Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepalettepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
U.S. Cities | cities |
Aggregate and Plot Map Regions | GeomDistrict geom_district StatDistrict stat_district |
Label Map Regions | GeomDistrictText geom_district_label geom_district_text StatDistrictCoordinates stat_district_coordinates |
Emphasize Populated Regions of a Map with greyed out Places | GeomPlaces geom_places StatPlaces stat_places |
Redistricting Color Palettes | ggredist |
Insterstate Shapefile | interstates |
Label Partisan Vote Shares | label_party_margin label_party_pct |
Produce a Map Coloring | map_coloring |
Oregon Redistricting File | oregon |
FiveThirtyEight scales for 'ggplot2' | scale_color_538 scale_fill_538 |
Alaska Color Scales for 'ggplot2' | scale_color_alaska scale_colour_alaska scale_fill_alaska |
Nature-derived Color Scales for 'ggplot2' | scale_color_coast scale_color_larch scale_colour_coast scale_colour_larch scale_fill_coast scale_fill_larch |
Dave's Redistricting App classic scale for 'ggplot2' | scale_color_dra scale_colour_dra scale_fill_dra |
Jacksonville and Florida Color Scales for 'ggplot2' | scale_color_florida scale_color_jacksonville scale_colour_florida scale_colour_jacksonville scale_fill_florida scale_fill_jacksonville |
Historical Pennsylvania Color Scale for 'ggplot2' | scale_color_penn82 scale_colour_penn82 scale_fill_penn82 |
Rand-McNally and National Geographic Color Scales for 'ggplot2' | scale_color_natgeo scale_color_randmcnally scale_colour_natgeo scale_colour_randmcnally scale_fill_natgeo scale_fill_randmcnally |
Washington Redistricting Commission Color Scales for 'ggplot2' | scale_color_washington scale_colour_washington scale_fill_washington |
Wikipedia Style Election Map scales for 'ggplot2' | scale_color_wiki_dem scale_color_wiki_dem_pres scale_color_wiki_rep scale_color_wiki_rep_pres scale_fill_wiki_dem scale_fill_wiki_dem_pres scale_fill_wiki_rep scale_fill_wiki_rep_pres |
Partisan scales for 'ggplot2' | scale_color_party_b scale_color_party_c scale_color_party_d scale_colour_party_b scale_colour_party_c scale_colour_party_d scale_fill_party_b scale_fill_party_c scale_fill_party_d scale_party |
Annotate a Map with Roads and Cities | StatCities StatCityRoad StatInterstates stat_cities stat_interstates |
Map Theme | theme_map |