{
  "_id": "6accce95a14063b82c3a9689",
  "Package": "eiExpand",
  "Authors@R": "c(person(given =\"Rachel\",\nfamily = \"Carroll\",\nrole = c(\"aut\", \"cre\"),\nemail = \"rachelcarroll4@gmail.com\"),\nperson(given = \"Loren\",\nfamily = \"Collingwood\",\nrole = c(\"aut\"),\nemail = \"lcollingwood@unm.edu\",\ncomment = c(ORCID = \"0000-0002-4447-8204\")))",
  "Type": "Package",
  "Title": "Utilities for Expanding Functionality of 'eiCompare'",
  "Version": "1.0.5",
  "Description": "Augments the 'eiCompare' package's Racially Polarized\nVoting (RPV) functionality to streamline analyses and\nvisualizations used to support voting rights and redistricting\nlitigation. The package implements methods described in\nBarreto, M., Collingwood, L., Garcia-Rios, S., & Oskooii, K. A.\n(2022). \"Estimating Candidate Support in Voting Rights Act\nCases: Comparing Iterative EI and EI-R×C Methods\"\n<doi:10.1177/0049124119852394>.",
  "License": "GPL-3",
  "RoxygenNote": "7.2.1",
  "Encoding": "UTF-8",
  "Maintainer": "Rachel Carroll <rachelcarroll4@gmail.com>",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-12 12:07:36 UTC",
    "User": "root"
  },
  "Author": "Rachel Carroll [aut, cre], Loren Collingwood [aut]\n(<https://orcid.org/0000-0002-4447-8204>)",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libjpeg-dev libpng-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev",
  "Repository": "https://rachel-carroll.r-universe.dev",
  "Date/Publication": "2023-03-14 17:50:08 UTC",
  "RemoteUrl": "https://github.com/cran/eiExpand",
  "RemoteRef": "HEAD",
  "RemoteSha": "ba7edfcf98409a2e5b446cafeaf3d370d1bfd51c",
  "_user": "rachel-carroll",
  "_type": "src",
  "_file": "eiExpand_1.0.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/d1fda0cac4484d1030fe3633721930c401071ece1c2e766b3420f6da15126a19",
  "_filesize": 3874140,
  "_sha256": "d1fda0cac4484d1030fe3633721930c401071ece1c2e766b3420f6da15126a19",
  "_expires": "2027-01-20T12:12:03.000Z",
  "_created": "2026-10-12T12:07:36.000Z",
  "_published": "2026-10-12T12:12:05.316Z",
  "_buildurl": "https://github.com/r-universe/rachel-carroll/actions/runs/38246590604",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114803658520,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11745773710"
    },
    {
      "job": 114803658581,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11746657899"
    },
    {
      "job": 114803658482,
      "time": 214,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11746078132"
    },
    {
      "job": 114803658577,
      "time": 189,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11746098178"
    },
    {
      "job": 114802348604,
      "time": 215,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11745813171"
    },
    {
      "job": 114803658400,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11746572801"
    },
    {
      "job": 114803658490,
      "time": 108,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11745643483"
    },
    {
      "job": 114803658701,
      "time": 103,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11746397838"
    },
    {
      "job": 114803658463,
      "time": 94,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11745578591"
    }
  ],
  "_upstream": "https://github.com/cran/eiExpand",
  "_commit": {
    "id": "ba7edfcf98409a2e5b446cafeaf3d370d1bfd51c",
    "author": "Rachel Carroll <rachelcarroll4@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.5\n",
    "time": 1678816208
  },
  "_maintainer": {
    "name": "Rachel Carroll",
    "email": "rachelcarroll4@gmail.com",
    "login": "rachel-carroll",
    "description": "",
    "uuid": 59577920
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggmap",
      "role": "Imports"
    },
    {
      "package": "viridis",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rachel-carroll",
      "count": 1,
      "uuid": 59577920
    }
  ],
  "_userbio": {
    "uuid": 59577920,
    "type": "user",
    "name": "Rachel Carroll",
    "followers": 1
  },
  "_downloads": {
    "count": 323,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/eiExpand"
  },
  "_searchresults": 21,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/eiExpand.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_realowner": "rachel-carroll",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.5",
      "date": "2023-03-14"
    }
  ],
  "_exports": [
    "%>%",
    "percent_intersect",
    "performance",
    "performance_plot",
    "rpv_coef_plot",
    "rpv_normalize",
    "rpv_plot",
    "rpv_toDF",
    "split_precinct_analysis"
  ],
  "_datasets": [
    {
      "name": "example_performance_results",
      "title": "Example performance analysis results",
      "object": "example_performance_results",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Candidate",
        "Preferred_Candidate",
        "Jurisdiction",
        "Election_Type",
        "Year",
        "Contest",
        "Vote"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "example_rpvDF",
      "title": "Example RPV analysis results in Washington State",
      "object": "example_rpvDF",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "original_name",
        "Model",
        "Election_Type",
        "Year",
        "Jurisdiction",
        "Contest",
        "Candidate",
        "Party",
        "Preferred_Candidate",
        "Voter_Race",
        "Estimate",
        "Lower_Bound",
        "Upper_Bound"
      ],
      "rows": 72,
      "table": true,
      "tojson": true
    },
    {
      "name": "mt_block_data",
      "title": "Example block-level population data from Montana for split precinct analysis",
      "object": "mt_block_data",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "vap",
        "geometry"
      ],
      "rows": 3880,
      "table": false,
      "tojson": true
    },
    {
      "name": "planShp",
      "title": "Example district plan shape for split precinct analysis",
      "object": "planShp",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "HispanicPct",
        "PopDevPct",
        "id",
        "opacity",
        "DemPct",
        "MinorityPct",
        "NAME",
        "RepPct",
        "PacificPct",
        "WhitePct",
        "geometry",
        "BlackPct",
        "TotalPop",
        "AsianPct",
        "color",
        "NativePct",
        "TotalVAP",
        "Margin"
      ],
      "rows": 1,
      "table": false,
      "tojson": true
    },
    {
      "name": "south_carolina",
      "title": "Example election and demographic data from South Carolina 2020 General Elections",
      "object": "south_carolina",
      "class": [
        "data.frame"
      ],
      "fields": [
        "GEOID20",
        "District",
        "R_mcmaster",
        "D_smith",
        "other_gov",
        "total_gov",
        "R_hammond",
        "D_whittenburg",
        "other_sos",
        "total_sos",
        "R_loftis",
        "D_glenn",
        "other_tres",
        "total_tres",
        "R_wilson",
        "D_anastopoulo",
        "other_atg",
        "total_atg",
        "total_vap",
        "hisp",
        "white",
        "black",
        "race_other",
        "pct_mcmaster",
        "pct_smith",
        "pct_other_gov",
        "pct_NoVote_gov",
        "pct_hammond",
        "pct_whittenburg",
        "pct_other_sos",
        "pct_NoVote_sos",
        "pct_loftis",
        "pct_glenn",
        "pct_other_tres",
        "pct_NoVote_tres",
        "pct_wilson",
        "pct_anastopoulo",
        "pct_other_atg",
        "pct_NoVote_atg",
        "pct_white",
        "pct_black",
        "pct_race_other"
      ],
      "rows": 750,
      "table": true,
      "tojson": true
    },
    {
      "name": "vtd",
      "title": "Example vtd-level sf dataframe with election results for split precinct analysis",
      "object": "vtd",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "GEOID20",
        "COUNTYFP20",
        "NAME20",
        "STATEFP",
        "COUNTYFP",
        "G16HALRZIN",
        "G16HALDJUN",
        "G16HALLBRE",
        "G16GOVRGIA",
        "G16GOVDBUL",
        "G16GOVLDUN",
        "geometry"
      ],
      "rows": 19,
      "table": false,
      "tojson": true
    },
    {
      "name": "wa_block_data",
      "title": "Example block-level population data from Washington for BISG",
      "object": "wa_block_data",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "GEOID20",
        "total_vap",
        "whi",
        "bla",
        "his",
        "asi",
        "oth",
        "geometry"
      ],
      "rows": 821,
      "table": false,
      "tojson": true
    },
    {
      "name": "wa_geocoded",
      "title": "Example geocoded voter file from Washington for BISG",
      "object": "wa_geocoded",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "county",
        "precinct",
        "surname",
        "longitude",
        "latitude"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "washington",
      "title": "Example election data with BISG demographics from Washington 2020 General Presidential Election",
      "object": "washington",
      "class": [
        "data.frame"
      ],
      "fields": [
        "County",
        "PrecinctCode",
        "Total_2020_Pres",
        "Dem_2020_Pres",
        "Rep_2020_Pres",
        "Total_2019_CVAP",
        "White_2019_CVAP",
        "Hispanic_2019_CVAP",
        "Black_2019_CVAP",
        "Asian_2019_CVAP",
        "Native_2019_CVAP",
        "Pacific_2019_CVAP",
        "BlackAlone_2019_CVAP",
        "AsianAlone_2019_CVAP",
        "NativeAlone_2019_CVAP",
        "OtherAlone_2019_CVAP",
        "TwoOrMore_2019_CVAP",
        "Total_2020_VAP",
        "White_2020_VAP",
        "Hispanic_2020_VAP",
        "Black_2020_VAP",
        "White_bisg",
        "Black_bisg",
        "Hispanic_bisg",
        "Asian_bisg",
        "Other_bisg",
        "Total_bisg"
      ],
      "rows": 637,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "example_performance_results",
      "title": "Example performance analysis results",
      "topics": [
        "example_performance_results"
      ]
    },
    {
      "page": "example_rpvDF",
      "title": "Example RPV analysis results in Washington State",
      "topics": [
        "example_rpvDF"
      ]
    },
    {
      "page": "mt_block_data",
      "title": "Example block-level population data from Montana for split precinct analysis",
      "topics": [
        "mt_block_data"
      ]
    },
    {
      "page": "percent_intersect",
      "title": "Calculate percent land area intersections",
      "topics": [
        "percent_intersect"
      ]
    },
    {
      "page": "performance",
      "title": "Performance Analysis Calculation",
      "topics": [
        "performance"
      ]
    },
    {
      "page": "performance_plot",
      "title": "Performance Analysis Plotting Function",
      "topics": [
        "performance_plot"
      ]
    },
    {
      "page": "planShp",
      "title": "Example district plan shape for split precinct analysis",
      "topics": [
        "planShp"
      ]
    },
    {
      "page": "rpv_coef_plot",
      "title": "Racially Polarized Voting Analysis (RPV) Coefficient Plot",
      "topics": [
        "rpv_coef_plot"
      ]
    },
    {
      "page": "rpv_normalize",
      "title": "Normalize RPV results",
      "topics": [
        "rpv_normalize"
      ]
    },
    {
      "page": "rpv_plot",
      "title": "Racially Polarized Voting Analysis (RPV) Plot",
      "topics": [
        "rpv_plot"
      ]
    },
    {
      "page": "rpv_toDF",
      "title": "Transform RPV results from 'eiCompare' into a simple dataframe object",
      "topics": [
        "rpv_toDF"
      ]
    },
    {
      "page": "south_carolina",
      "title": "Example election and demographic data from South Carolina 2020 General Elections",
      "topics": [
        "south_carolina"
      ]
    },
    {
      "page": "split_precinct_analysis",
      "title": "Split precinct analysis - VAP Adjusted Election Data",
      "topics": [
        "split_precinct_analysis"
      ]
    },
    {
      "page": "vtd",
      "title": "Example vtd-level sf dataframe with election results for split precinct analysis",
      "topics": [
        "vtd"
      ]
    },
    {
      "page": "wa_block_data",
      "title": "Example block-level population data from Washington for BISG",
      "topics": [
        "wa_block_data"
      ]
    },
    {
      "page": "wa_geocoded",
      "title": "Example geocoded voter file from Washington for BISG",
      "topics": [
        "wa_geocoded"
      ]
    },
    {
      "page": "washington",
      "title": "Example election data with BISG demographics from Washington 2020 General Presidential Election",
      "topics": [
        "washington"
      ]
    }
  ],
  "_rundeps": [
    "askpass",
    "bitops",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "curl",
    "DBI",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "generics",
    "ggmap",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "httr",
    "isoband",
    "jpeg",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_score": 1.3222192947339193,
  "_indexed": true,
  "_nocasepkg": "eiexpand",
  "_universes": [
    "rachel-carroll"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-10-12T12:10:01.000Z",
      "distro": "resolute",
      "commit": "ba7edfcf98409a2e5b446cafeaf3d370d1bfd51c",
      "fileid": "https://r2.ropensci.org/b9b1999ebab7e75032ff91582948c366677a392c44c0ad68581c65815bc10198",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rachel-carroll/actions/runs/38246590604"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-10-12T12:10:04.000Z",
      "distro": "resolute",
      "commit": "ba7edfcf98409a2e5b446cafeaf3d370d1bfd51c",
      "fileid": "https://r2.ropensci.org/d88384712371987a3b7aa70f1f1eff8089bcc40dfa60f59d65746dc768580765",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rachel-carroll/actions/runs/38246590604"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-10-12T12:10:35.000Z",
      "commit": "ba7edfcf98409a2e5b446cafeaf3d370d1bfd51c",
      "fileid": "https://r2.ropensci.org/6b2fcd3382dd498315d7798e7c2c0f5e9c182f0552e9270f99d9b8953a6f13fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rachel-carroll/actions/runs/38246590604"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-10-12T12:10:13.000Z",
      "commit": "ba7edfcf98409a2e5b446cafeaf3d370d1bfd51c",
      "fileid": "https://r2.ropensci.org/9cc9f0fab575a5d80976488dc65ff913537c2098ef0ded5cd38d6e23e8e1e798",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rachel-carroll/actions/runs/38246590604"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5",
      "date": "2026-10-12T12:09:51.000Z",
      "commit": "ba7edfcf98409a2e5b446cafeaf3d370d1bfd51c",
      "fileid": "https://r2.ropensci.org/a5b49a081981fd22e08aeee7362ed09b1097dffc67de7d26ef88c8f3ddaf7339",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rachel-carroll/actions/runs/38246590604"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-10-12T12:09:04.000Z",
      "commit": "ba7edfcf98409a2e5b446cafeaf3d370d1bfd51c",
      "fileid": "https://r2.ropensci.org/b136f36d75a5fb9d2f477c92078f052ad47964c5161b0495399268deaae55d7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rachel-carroll/actions/runs/38246590604"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-10-12T12:09:04.000Z",
      "commit": "ba7edfcf98409a2e5b446cafeaf3d370d1bfd51c",
      "fileid": "https://r2.ropensci.org/6e486930a2d286cf246b89a6acd66641152f8c33f93de306c1ba76647c29405f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rachel-carroll/actions/runs/38246590604"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-10-12T12:08:57.000Z",
      "commit": "ba7edfcf98409a2e5b446cafeaf3d370d1bfd51c",
      "fileid": "https://r2.ropensci.org/cd0c0d544f2ce41a7e1793c36f550247022025965f88862301f7a7a9b7e1f86e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rachel-carroll/actions/runs/38246590604"
    }
  ]
}