{
  "_id": "6a197b82acfb0bcc41df5f4a",
  "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-05-29 10:28:59 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": "4034a845d0725c46c2e2b69bd0f2db8d",
  "_user": "alarm-redist",
  "_type": "src",
  "_file": "ggredist_0.0.4.tar.gz",
  "_fileid": "6b7815923ab26fd3fe7f279b1c7ad7fcac3055835e71926920e12075db41e514",
  "_filesize": 603348,
  "_sha256": "6b7815923ab26fd3fe7f279b1c7ad7fcac3055835e71926920e12075db41e514",
  "_created": "2026-05-29T10:28:59.000Z",
  "_published": "2026-05-29T11:41:54.728Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78483508572,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7288628950"
    },
    {
      "job": 78483508583,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288633331"
    },
    {
      "job": 78483508646,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7289815912"
    },
    {
      "job": 78483508635,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289807165"
    },
    {
      "job": 78483036714,
      "time": 197,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288590284"
    },
    {
      "job": 78483508684,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288619416"
    },
    {
      "job": 78483508592,
      "time": 141,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7288631990"
    },
    {
      "job": 78483508585,
      "time": 106,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7288622126"
    },
    {
      "job": 78483508634,
      "time": 100,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288621194"
    }
  ],
  "_buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/26632026824",
  "_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": true,
  "_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": 81447081,
    "type": "organization",
    "name": "ALARM Project",
    "description": "Algorithm-Assisted Redistricting Methodology"
  },
  "_downloads": {
    "count": 209,
    "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": 41,
  "_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.089905111439398,
  "_indexed": true,
  "_nocasepkg": "ggredist",
  "_universes": [
    "alarm-redist"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-05-29T10:30:59.000Z",
      "distro": "noble",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "19ae71f796e659f0cc78255536db0784d5b8e288bbc583d806298bc4948c44ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/26632026824"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-05-29T10:31:14.000Z",
      "distro": "noble",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "132e60de0ef8ac76f303915e641b395f09dc46896e5552accffda007a2475406",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/26632026824"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-05-29T11:41:13.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "5be3cb8a4dc0e55184b0f308978128ad39e6ed0891c541985605085b44c8bbb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/26632026824"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-05-29T11:40:44.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "5f9e0d94235fa58efb7730e4d25c07315a5a4a94c65064e8b3ec7428c3882731",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/26632026824"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4",
      "date": "2026-05-29T10:30:58.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "09a0342e86317d2b5e07821e760302879d19c87ef4d4742da2d728bb4b558351",
      "status": "success",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/26632026824"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-05-29T10:31:01.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "15a342a87bd6f2f6fb2bb83f314a82d9bfc048f82c320d5c8672d688f3aa5c23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/26632026824"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-05-29T10:30:24.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "fcad6cd3b1bff38bfb9321fba13e8fefecb66f3d31b6afb543f93c2f4451bfaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/26632026824"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-05-29T10:30:26.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "0f7b8fce9c5b73af9eab0b9198ffcdd06505669b0469c49888ff5aa07ce0a562",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/26632026824"
    }
  ]
}