Package: ggredist 0.0.2

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:Cory McCartan [aut], Christopher T. Kenny [aut, cre]

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://christopherkenny.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/alarm-redist/ggredist/issues

Datasets:

On CRAN:

71 exports 1.40 score 29 dependencies 1 dependents 188 downloads

Last updated 16 hours agofrom:0d934c709b055d2d669ec85fe3d4a461263fc072

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 pageTopics
U.S. Citiescities
Aggregate and Plot Map RegionsGeomDistrict geom_district StatDistrict stat_district
Label Map RegionsGeomDistrictText geom_district_label geom_district_text StatDistrictCoordinates stat_district_coordinates
Emphasize Populated Regions of a Map with greyed out PlacesGeomPlaces geom_places StatPlaces stat_places
Redistricting Color Palettesggredist
Insterstate Shapefileinterstates
Label Partisan Vote Shareslabel_party_margin label_party_pct
Produce a Map Coloringmap_coloring
Oregon Redistricting Fileoregon
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 CitiesStatCities StatCityRoad StatInterstates stat_cities stat_interstates
Map Themetheme_map