{
  "_id": "6a16cccbacfb0bcc41d89e32",
  "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-05-27 10:48:37 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>",
  "MD5sum": "94be0524e32d214206d4ce5395215e89",
  "_user": "christopherkenny",
  "_type": "src",
  "_file": "ggredist_0.0.4.tar.gz",
  "_fileid": "cfd27016860ee78ec752d34e215ba855e51ca88d51b1bbea2b3d6f45b87952a6",
  "_filesize": 603396,
  "_sha256": "cfd27016860ee78ec752d34e215ba855e51ca88d51b1bbea2b3d6f45b87952a6",
  "_created": "2026-05-27T10:48:37.000Z",
  "_published": "2026-05-27T10:51:55.528Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78060546150,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7238467642"
    },
    {
      "job": 78060546173,
      "time": 138,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238465258"
    },
    {
      "job": 78060546138,
      "time": 121,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7238459726"
    },
    {
      "job": 78060546209,
      "time": 87,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238448499"
    },
    {
      "job": 78060102751,
      "time": 173,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238420762"
    },
    {
      "job": 78060546125,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238454865"
    },
    {
      "job": 78060546238,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7238467081"
    },
    {
      "job": 78060546282,
      "time": 140,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7238466231"
    },
    {
      "job": 78060546308,
      "time": 162,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238473049"
    }
  ],
  "_buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26506474551",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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",
    "description": "Postdoc @princeton-ddss.\r\nRedistricting and rstats.  \r\n\r\nHarvard Government PhD '25.   \r\nCornell '19."
  },
  "_downloads": {
    "count": 221,
    "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": 49,
  "_rbuild": "4.6.0",
  "_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",
    "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.1673173347481764,
  "_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-05-27T10:50:51.000Z",
      "distro": "noble",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "99ef7476d360b95251515679a9aa45c67cc20eab4fd5bf01635d92b4430ed8d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26506474551"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-05-27T10:50:41.000Z",
      "distro": "noble",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "1edcc71d54ef05e3300ce3d6baca8cd3fe9a2324c1a5a047d2e21470ed8ae5f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26506474551"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-05-27T10:50:28.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "92d9ae7fa4a07d2f81bfce2cea175110c193defd11313d17e8e84b75f8ecb3f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26506474551"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-05-27T10:50:02.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "4893296ff24754aafa570a40188f4b56c61cf25cd3f58f1cc5aaeb482f5c5452",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26506474551"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4",
      "date": "2026-05-27T10:50:40.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "3fb1aa19352043c7e658dc59eb89214664d81ea6f7a8c113e81139f6b66b4c63",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26506474551"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-05-27T10:50:37.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "ad50d2f7f9d5ffca9b7d81e58fc686b668d465e247a05427b66384b9fc584cee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26506474551"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-05-27T10:50:35.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "8ac4b8f5f79d5d56da7ba43b579b1ecfab9ffb1fecc7bdde514fe554de97c221",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26506474551"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-05-27T10:50:56.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "f06e783e0337542559da3ccd850735ff2d18f2cfa6529d660ee1e55f084a47d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26506474551"
    }
  ]
}