{
  "_id": "6a50875ac30f0868bbf20228",
  "Package": "ggredist",
  "Title": "Scales, Geometries, and Extensions of 'ggplot2' for Election\nMapping",
  "Version": "0.0.4",
  "Authors@R": "c(\nperson(\"Cory\", \"McCartan\", email = \"mccartan@psu.edu\", role = \"aut\"),\nperson(\"Christopher T.\", \"Kenny\", email = \"ctkenny@proton.me\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-9386-6860\")))",
  "Description": "Provides 'ggplot2' extensions for political map making.\nImplements new geometries for groups of simple feature\ngeometries. Adds palettes and scales for red to blue color\nmapping and for discrete maps. Implements tools for easy label\ngeneration and placement, automatic map coloring, and themes.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/alarm-redist/ggredist,\nhttps://alarm-redist.org/ggredist/",
  "BugReports": "https://github.com/alarm-redist/ggredist/issues",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "Repository": "https://christopherkenny.r-universe.dev",
  "Date/Publication": "2025-10-01 15:11:09 UTC",
  "RemoteUrl": "https://github.com/alarm-redist/ggredist",
  "RemoteRef": "HEAD",
  "RemoteSha": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-10 05:43:58 UTC",
    "User": "root"
  },
  "Author": "Cory McCartan [aut],\nChristopher T. Kenny [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9386-6860>)",
  "Maintainer": "Christopher T. Kenny <ctkenny@proton.me>",
  "_user": "christopherkenny",
  "_type": "src",
  "_file": "ggredist_0.0.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/7f1734e11aaaf47665b8492aeb25b0317dab24c78c67f372d51b059cf35e1edb",
  "_filesize": 602319,
  "_sha256": "7f1734e11aaaf47665b8492aeb25b0317dab24c78c67f372d51b059cf35e1edb",
  "_expires": "2026-10-18T05:47:04.000Z",
  "_created": "2026-07-10T05:43:58.000Z",
  "_published": "2026-07-10T05:47:06.217Z",
  "_jobs": [
    {
      "job": 86295433667,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8219272426"
    },
    {
      "job": 86295433688,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8219275096"
    },
    {
      "job": 86295433661,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8219264936"
    },
    {
      "job": 86295433648,
      "time": 86,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8219261808"
    },
    {
      "job": 86295018833,
      "time": 214,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8219240354"
    },
    {
      "job": 86295433641,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8219267537"
    },
    {
      "job": 86295433670,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8219264095"
    },
    {
      "job": 86295433685,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8219263581"
    },
    {
      "job": 86295433671,
      "time": 109,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8219267961"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/29071909480",
  "_status": "success",
  "_upstream": "https://github.com/alarm-redist/ggredist",
  "_commit": {
    "id": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
    "author": "Christopher Kenny <ctk44@cornell.edu>",
    "committer": "Christopher Kenny <ctk44@cornell.edu>",
    "message": "push revdep\n",
    "time": 1759331469
  },
  "_maintainer": {
    "name": "Christopher T. Kenny",
    "email": "ctkenny@proton.me",
    "orcid": "0000-0002-9386-6860"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "palette",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "geos",
      "role": "Suggests"
    },
    {
      "package": "redist",
      "role": "Suggests"
    }
  ],
  "_owner": "alarm-redist",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-39",
      "n": 6
    },
    {
      "week": "2025-40",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.0.3",
      "date": "2025-08-29"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "christopherkenny",
      "count": 64,
      "uuid": 28026893
    },
    {
      "user": "corymccartan",
      "count": 39,
      "uuid": 2958471
    }
  ],
  "_userbio": {
    "uuid": 28026893,
    "type": "user",
    "name": "Christopher T. Kenny",
    "followers": 149,
    "description": "Postdoc @princeton-ddss.\r\nRedistricting and rstats.  \r\n\r\nHarvard Government PhD '25.   \r\nCornell '19."
  },
  "_downloads": {
    "count": 321,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggredist"
  },
  "_devurl": "https://github.com/alarm-redist/ggredist",
  "_pkgdown": "https://alarm-redist.org/ggredist/",
  "_searchresults": 58,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggredist.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/alarm-redist/ggredist",
  "_realowner": "alarm-redist",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2022-11-23"
    },
    {
      "version": "0.0.3",
      "date": "2025-08-29"
    },
    {
      "version": "0.0.4",
      "date": "2025-10-03"
    }
  ],
  "_exports": [
    "crop_to",
    "geom_district",
    "geom_district_label",
    "geom_district_text",
    "geom_places",
    "GeomDistrict",
    "GeomDistrictText",
    "GeomPlaces",
    "ggredist",
    "label_party_margin",
    "label_party_pct",
    "map_coloring",
    "scale_color_538",
    "scale_color_alaska",
    "scale_color_coast",
    "scale_color_dra",
    "scale_color_florida",
    "scale_color_jacksonville",
    "scale_color_larch",
    "scale_color_natgeo",
    "scale_color_party_b",
    "scale_color_party_c",
    "scale_color_party_d",
    "scale_color_penn82",
    "scale_color_randmcnally",
    "scale_color_texas",
    "scale_color_washington",
    "scale_color_wiki_dem",
    "scale_color_wiki_dem_pres",
    "scale_color_wiki_rep",
    "scale_color_wiki_rep_pres",
    "scale_colour_alaska",
    "scale_colour_coast",
    "scale_colour_dra",
    "scale_colour_florida",
    "scale_colour_jacksonville",
    "scale_colour_larch",
    "scale_colour_natgeo",
    "scale_colour_party_b",
    "scale_colour_party_c",
    "scale_colour_party_d",
    "scale_colour_penn82",
    "scale_colour_randmcnally",
    "scale_colour_texas",
    "scale_colour_washington",
    "scale_fill_538",
    "scale_fill_alaska",
    "scale_fill_coast",
    "scale_fill_dra",
    "scale_fill_florida",
    "scale_fill_jacksonville",
    "scale_fill_larch",
    "scale_fill_natgeo",
    "scale_fill_party_b",
    "scale_fill_party_c",
    "scale_fill_party_d",
    "scale_fill_penn82",
    "scale_fill_randmcnally",
    "scale_fill_texas",
    "scale_fill_washington",
    "scale_fill_wiki_dem",
    "scale_fill_wiki_dem_pres",
    "scale_fill_wiki_rep",
    "scale_fill_wiki_rep_pres",
    "stat_cities",
    "stat_district",
    "stat_district_coordinates",
    "stat_interstates",
    "stat_places",
    "StatCities",
    "StatDistrict",
    "StatDistrictCoordinates",
    "StatInterstates",
    "StatPlaces",
    "theme_map",
    "view_box"
  ],
  "_datasets": [
    {
      "name": "cities",
      "title": "U.S. Cities",
      "object": "cities",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "name",
        "state",
        "GEOID",
        "pop_2020",
        "state_name",
        "capital",
        "geometry"
      ],
      "rows": 1005,
      "table": true,
      "tojson": true
    },
    {
      "name": "interstates",
      "title": "Insterstate Shapefile",
      "object": "interstates",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "name",
        "geometry"
      ],
      "rows": 228,
      "table": false,
      "tojson": true
    },
    {
      "name": "oregon",
      "title": "Oregon Redistricting File",
      "object": "oregon",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "county",
        "cd_2020",
        "pop",
        "pop_white",
        "ndv",
        "nrv",
        "geometry"
      ],
      "rows": 1071,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cities",
      "title": "U.S. Cities",
      "concept": [
        "data"
      ],
      "topics": [
        "cities"
      ]
    },
    {
      "page": "StatDistrict",
      "title": "Aggregate and Plot Map Regions",
      "concept": [
        "geoms"
      ],
      "topics": [
        "GeomDistrict",
        "geom_district",
        "StatDistrict",
        "stat_district"
      ]
    },
    {
      "page": "StatDistrictCoordinates",
      "title": "Label Map Regions",
      "concept": [
        "geoms"
      ],
      "topics": [
        "GeomDistrictText",
        "geom_district_label",
        "geom_district_text",
        "StatDistrictCoordinates",
        "stat_district_coordinates"
      ]
    },
    {
      "page": "StatPlaces",
      "title": "Emphasize Populated Regions of a Map with greyed out Places",
      "concept": [
        "geoms"
      ],
      "topics": [
        "GeomPlaces",
        "geom_places",
        "StatPlaces",
        "stat_places"
      ]
    },
    {
      "page": "ggredist",
      "title": "Redistricting Color Palettes",
      "concept": [
        "colors"
      ],
      "topics": [
        "ggredist"
      ]
    },
    {
      "page": "interstates",
      "title": "Insterstate Shapefile",
      "concept": [
        "data"
      ],
      "topics": [
        "interstates"
      ]
    },
    {
      "page": "label_party",
      "title": "Label Partisan Vote Shares",
      "concept": [
        "labels"
      ],
      "topics": [
        "label_party_margin",
        "label_party_pct"
      ]
    },
    {
      "page": "map_coloring",
      "title": "Produce a Map Coloring",
      "topics": [
        "map_coloring"
      ]
    },
    {
      "page": "oregon",
      "title": "Oregon Redistricting File",
      "concept": [
        "data"
      ],
      "topics": [
        "oregon"
      ]
    },
    {
      "page": "scale_538",
      "title": "FiveThirtyEight scales for 'ggplot2'",
      "concept": [
        "colors"
      ],
      "topics": [
        "scale_color_538",
        "scale_fill_538"
      ]
    },
    {
      "page": "scale_alaska",
      "title": "Alaska Color Scales for 'ggplot2'",
      "concept": [
        "colors"
      ],
      "topics": [
        "scale_color_alaska",
        "scale_colour_alaska",
        "scale_fill_alaska"
      ]
    },
    {
      "page": "scale_nature",
      "title": "Nature-derived Color Scales for 'ggplot2'",
      "concept": [
        "colors"
      ],
      "topics": [
        "scale_color_coast",
        "scale_color_larch",
        "scale_colour_coast",
        "scale_colour_larch",
        "scale_fill_coast",
        "scale_fill_larch"
      ]
    },
    {
      "page": "scale_dra",
      "title": "Dave's Redistricting App classic scale for 'ggplot2'",
      "concept": [
        "colors"
      ],
      "topics": [
        "scale_color_dra",
        "scale_colour_dra",
        "scale_fill_dra"
      ]
    },
    {
      "page": "scale_florida",
      "title": "Jacksonville and Florida Color Scales for 'ggplot2'",
      "concept": [
        "colors"
      ],
      "topics": [
        "scale_color_florida",
        "scale_color_jacksonville",
        "scale_colour_florida",
        "scale_colour_jacksonville",
        "scale_fill_florida",
        "scale_fill_jacksonville"
      ]
    },
    {
      "page": "scale_penn82",
      "title": "Historical Pennsylvania Color Scale for 'ggplot2'",
      "concept": [
        "colors"
      ],
      "topics": [
        "scale_color_penn82",
        "scale_colour_penn82",
        "scale_fill_penn82"
      ]
    },
    {
      "page": "scale_polimap",
      "title": "Rand-McNally and National Geographic Color Scales for 'ggplot2'",
      "concept": [
        "colors"
      ],
      "topics": [
        "scale_color_natgeo",
        "scale_color_randmcnally",
        "scale_colour_natgeo",
        "scale_colour_randmcnally",
        "scale_fill_natgeo",
        "scale_fill_randmcnally"
      ]
    },
    {
      "page": "scale_texas",
      "title": "Texas Color Scales for 'ggplot2'",
      "concept": [
        "colors"
      ],
      "topics": [
        "scale_color_texas",
        "scale_colour_texas",
        "scale_fill_texas"
      ]
    },
    {
      "page": "scale_washington",
      "title": "Washington Redistricting Commission Color Scales for 'ggplot2'",
      "concept": [
        "colors"
      ],
      "topics": [
        "scale_color_washington",
        "scale_colour_washington",
        "scale_fill_washington"
      ]
    },
    {
      "page": "scale_wiki",
      "title": "Wikipedia Style Election Map scales for 'ggplot2'",
      "concept": [
        "colors"
      ],
      "topics": [
        "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"
      ]
    },
    {
      "page": "scale_party",
      "title": "Partisan scales for 'ggplot2'",
      "concept": [
        "colors"
      ],
      "topics": [
        "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"
      ]
    },
    {
      "page": "StatCityRoad",
      "title": "Annotate a Map with Roads and Cities",
      "concept": [
        "geoms"
      ],
      "topics": [
        "StatCities",
        "StatCityRoad",
        "StatInterstates",
        "stat_cities",
        "stat_interstates"
      ]
    },
    {
      "page": "theme_map",
      "title": "Map Theme",
      "concept": [
        "theme"
      ],
      "topics": [
        "theme_map"
      ]
    },
    {
      "page": "zoom",
      "title": "Zoom in to a subset of a plot",
      "topics": [
        "crop_to",
        "view_box",
        "zoom"
      ]
    }
  ],
  "_pkglogo": "https://github.com/alarm-redist/ggredist/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/alarm-redist/ggredist/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "palette",
    "pillar",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 4.2405492482825995,
  "_indexed": false,
  "_nocasepkg": "ggredist",
  "_universes": [
    "christopherkenny"
  ],
  "_indexurl": "https://alarm-redist.r-universe.dev/ggredist",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-07-10T05:46:01.000Z",
      "distro": "resolute",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/0a760c5092932c2a5a919c139096a8be68e74f375c6bc16b108621dbb5524bb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/29071909480"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-07-10T05:46:12.000Z",
      "distro": "resolute",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/2ab6b3dcb05e2529ba41b029ca435cd78af5c0604afd19edfdfbe53901f37855",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/29071909480"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-07-10T05:45:38.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/d7b81fe6f394e8be79b9141e932afa0fa79e45dc8fc14c64404cc8c07e6d1b84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/29071909480"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-07-10T05:45:28.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/8d82261c5e97a3dfb2786a0853150ef776dda0c4e9eb5e8999449780f1723984",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/29071909480"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4",
      "date": "2026-07-10T05:46:09.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/d6d52b26724d3d74fadb008b67596580abcd059c2394283296bc436f42b638aa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/29071909480"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-07-10T05:45:17.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/64859246c0e476b4e6d451d0603c34437ca454ec4f54fced28fa72d3669b44fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/29071909480"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-07-10T05:45:16.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/af164e9d1c9837053e2b64dcbaf75786a76475c46d34ba6417a8d8d6285061d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/29071909480"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-07-10T05:45:32.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/5baf2e4f9b39e60ebf461f0e4fdcb1d4ad4a9ebf82008ba8e96475450e844567",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/29071909480"
    }
  ]
}