{
  "_id": "6adf426aa91e011cd19596ec",
  "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://alarm-redist.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-10-26 12:03:33 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": "alarm-redist",
  "_type": "src",
  "_file": "ggredist_0.0.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/13292a81d3e6ac01f53e1a72da8f835797aa797b6557b9a1d24beb0e9000641d",
  "_filesize": 602088,
  "_sha256": "13292a81d3e6ac01f53e1a72da8f835797aa797b6557b9a1d24beb0e9000641d",
  "_expires": "2027-02-03T12:07:04.000Z",
  "_created": "2026-10-26T12:03:33.000Z",
  "_published": "2026-10-26T12:07:06.478Z",
  "_upstream": "https://github.com/alarm-redist/ggredist",
  "_status": "success",
  "_maintainer": {
    "name": "Christopher T. Kenny",
    "email": "ctkenny@proton.me",
    "orcid": "0000-0002-9386-6860"
  },
  "_jobs": [
    {
      "job": 121561142665,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12648402188"
    },
    {
      "job": 121561142283,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12648995994"
    },
    {
      "job": 121561142576,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12648552265"
    },
    {
      "job": 121561142434,
      "time": 162,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12648951344"
    },
    {
      "job": 121559706261,
      "time": 200,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12648931153"
    },
    {
      "job": 121561142491,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12648433063"
    },
    {
      "job": 121561142442,
      "time": 75,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12648048376"
    },
    {
      "job": 121561142302,
      "time": 99,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12647674946"
    },
    {
      "job": 121561142679,
      "time": 106,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12647734697"
    }
  ],
  "_buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/40319221419",
  "_commit": {
    "id": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
    "author": "Christopher Kenny <ctk44@cornell.edu>",
    "committer": "Christopher Kenny <ctk44@cornell.edu>",
    "message": "push revdep\n",
    "time": 1759331469
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "christopherkenny",
      "count": 64,
      "uuid": 28026893
    },
    {
      "user": "corymccartan",
      "count": 39,
      "uuid": 2958471
    }
  ],
  "_userbio": {
    "uuid": 81447081,
    "type": "organization",
    "name": "ALARM Project",
    "followers": 32,
    "description": "Algorithm-Assisted Redistricting Methodology"
  },
  "_downloads": {
    "count": 276,
    "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": 59,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggredist.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": 3.946943270697825,
  "_indexed": true,
  "_nocasepkg": "ggredist",
  "_universes": [
    "alarm-redist"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-10-26T12:05:32.000Z",
      "distro": "resolute",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/94be8018ce62a86c6f3967f08f7b4c2e29f9f0557b5d7eff6c66ce838f5f283b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/40319221419"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-10-26T12:05:32.000Z",
      "distro": "resolute",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/7842e19b39b6ee338af9743c928c593327c60b4585fedb56bae32a94d9201ce2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/40319221419"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-10-26T12:05:05.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/9f2c12c598463849d265d8114077cfbd9176eec8832b72e0f05fdcb871a4bdd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/40319221419"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-10-26T12:05:53.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/ca0dca770eefdc6686491cf5991d1c128be2bd8a481a8f393b210cd7b1a7a0e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/40319221419"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4",
      "date": "2026-10-26T12:05:24.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/c5dbd41ea8964849a0109c11953cedc502476d076ab2493167ea62e9ac8077cb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/40319221419"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-10-26T12:04:42.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/27712963dba98ba7ff562cbc441f65945d795677da5856a74052961b2b198f64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/40319221419"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-10-26T12:05:00.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/eda9b692c389ff47c0069668993bef5fbbf8646c374fd649dabd42449f463bb9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/40319221419"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-10-26T12:04:48.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/c714f797eda9fb03f14784a5e2b6b38e9c4817634edf0007503eb81c28110570",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/40319221419"
    }
  ]
}