{
  "_id": "6a491e36b5e98c4082a09b06",
  "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-07-04 14:49:31 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/9e11a3a6c002a396cf38e9bb0874cee3b4ec91c79db6cf082729c945bd7c10fd",
  "_filesize": 602260,
  "_sha256": "9e11a3a6c002a396cf38e9bb0874cee3b4ec91c79db6cf082729c945bd7c10fd",
  "_expires": "2026-10-12T14:52:36.000Z",
  "_created": "2026-07-04T14:49:31.000Z",
  "_published": "2026-07-04T14:52:38.401Z",
  "_jobs": [
    {
      "job": 85141401244,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8082706580"
    },
    {
      "job": 85141401214,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8082706219"
    },
    {
      "job": 85141401216,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8082698820"
    },
    {
      "job": 85141401212,
      "time": 84,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8082698411"
    },
    {
      "job": 85141198103,
      "time": 183,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8082687640"
    },
    {
      "job": 85141401204,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8082706138"
    },
    {
      "job": 85141401210,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8082701469"
    },
    {
      "job": 85141401260,
      "time": 152,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8082706575"
    },
    {
      "job": 85141401232,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8082698532"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/28709732038",
  "_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": 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",
    "followers": 29,
    "description": "Algorithm-Assisted Redistricting Methodology"
  },
  "_downloads": {
    "count": 348,
    "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": true,
  "_nocasepkg": "ggredist",
  "_universes": [
    "alarm-redist"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-07-04T14:51:47.000Z",
      "distro": "resolute",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/fe1af7e1d53ddbf65af73e5266541fa5aa7975d9452d9c9c355408961026127e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/28709732038"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-07-04T14:51:43.000Z",
      "distro": "resolute",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/398efd560b69c30db6b55f7ad565c95dc89e47e3a3718b933e7f16cedd6b4615",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/28709732038"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-07-04T14:50:56.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/68036df20faa362894b765cc17dda41395c239d941fc6dc1f5709da6536b349b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/28709732038"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-07-04T14:50:54.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/d3d7e2efa6a6e2fa31ebc3893570dab6475943b29a5c84c29eccc41815579225",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/28709732038"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4",
      "date": "2026-07-04T14:52:14.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/9cd58621e084e35451135447da79c9a55f3f1ebb867bade856adf4086e6a5872",
      "status": "success",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/28709732038"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-07-04T14:51:04.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/0e076fdbdbafb5319bc0976a326a84e0994fab8eccb4d0ceba6d6826424b8453",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/28709732038"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-07-04T14:51:38.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/9cdc5a8c8106f3d8bbcd9736834aae7a6f3575297a41b54c63ce1d1eb78b524c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/28709732038"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-07-04T14:50:37.000Z",
      "commit": "f37cd630aa9a65d827fb5a4cde5ade685497b636",
      "fileid": "https://r2.ropensci.org/d9171c8eb09560b25c3b154e1a6210fc78d02e007b4e25dd97eec0df4483aad5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alarm-redist/actions/runs/28709732038"
    }
  ]
}