{
  "_id": "6a4f430c21b18e15484ffd7d",
  "Package": "wru",
  "Title": "Who are You? Bayesian Prediction of Racial Category Using\nSurname, First Name, Middle Name, and Geolocation",
  "Version": "3.1.1",
  "Date": "2026-04-30",
  "Authors@R": "c(\nperson(\"Kabir\", \"Khanna\", , \"kabirkhanna@gmail.com\", role = \"aut\"),\nperson(\"Brandon\", \"Bertelsen\", , \"brandon@bertelsen.ca\", role = c(\"aut\", \"cre\")),\nperson(\"Santiago\", \"Olivella\", , \"olivella@unc.edu\", role = \"aut\"),\nperson(\"Evan\", \"Rosenman\", , \"etrrosenman@gmail.com\", role = \"aut\"),\nperson(\"Alexander\", \"Rossell Hayes\", , \"alexander@rossellhayes.com\", role = \"aut\"),\nperson(\"Kosuke\", \"Imai\", , \"imai@harvard.edu\", role = \"aut\"),\nperson(\"Noah\", \"Dasanaike\", , \"noahdasanaike@g.harvard.edu\", role = \"aut\")\n)",
  "Description": "Predicts individual race/ethnicity using surname, first\nname, middle name, geolocation, and other attributes, such as\ngender and age. The method utilizes Bayes' Rule (with optional\nmeasurement error correction) to compute the posterior\nprobability of each racial category for any given individual.\nThe package implements methods described in Imai and Khanna\n(2016) \"Improving Ecological Inference by Predicting Individual\nEthnicity from Voter Registration Records\" Political Analysis\n<DOI:10.1093/pan/mpw001> and Imai, Olivella, and Rosenman\n(2022) \"Addressing census data problems in race imputation via\nfully Bayesian Improved Surname Geocoding and name supplements\"\n<DOI:10.1126/sciadv.adc9824>.  The package also incorporates\nthe data described in Rosenman, Olivella, and Imai (2023) \"Race\nand ethnicity data for first, middle, and surnames\"\n<DOI:10.1038/s41597-023-02202-2>.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/kosukeimai/wru",
  "BugReports": "https://github.com/kosukeimai/wru/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "yes",
  "LazyDataCompression": "xz",
  "LazyLoad": "yes",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\ngit make libicu-dev libuv1-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev libx11-dev",
  "Repository": "https://kosukeimai.r-universe.dev",
  "Date/Publication": "2026-05-09 02:59:48 UTC",
  "RemoteUrl": "https://github.com/kosukeimai/wru",
  "RemoteRef": "HEAD",
  "RemoteSha": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-09 06:36:52 UTC",
    "User": "root"
  },
  "Author": "Kabir Khanna [aut],\nBrandon Bertelsen [aut, cre],\nSantiago Olivella [aut],\nEvan Rosenman [aut],\nAlexander Rossell Hayes [aut],\nKosuke Imai [aut],\nNoah Dasanaike [aut]",
  "Maintainer": "Brandon Bertelsen <brandon@bertelsen.ca>",
  "_user": "kosukeimai",
  "_type": "src",
  "_file": "wru_3.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/a9a28c96451ba58cd6ed7ae4fc881a3807ec74f3bc5d1a0f6761ace71c1537ed",
  "_filesize": 4717763,
  "_sha256": "a9a28c96451ba58cd6ed7ae4fc881a3807ec74f3bc5d1a0f6761ace71c1537ed",
  "_expires": "2026-10-17T06:43:22.000Z",
  "_created": "2026-07-09T06:36:52.000Z",
  "_published": "2026-07-09T06:43:23.942Z",
  "_jobs": [
    {
      "job": 86055474273,
      "time": 185,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8190940583"
    },
    {
      "job": 86055474290,
      "time": 190,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8190940904"
    },
    {
      "job": 86055474294,
      "time": 194,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8190942893"
    },
    {
      "job": 86055474302,
      "time": 193,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8190941909"
    },
    {
      "job": 86055474284,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8190917049"
    },
    {
      "job": 86055474276,
      "time": 322,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8190977749"
    },
    {
      "job": 86055474277,
      "time": 145,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8190928872"
    },
    {
      "job": 86055474250,
      "time": 246,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8190956634"
    },
    {
      "job": 86054899147,
      "time": 235,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8190888922"
    },
    {
      "job": 86055474206,
      "time": 181,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8190938681"
    },
    {
      "job": 86055474261,
      "time": 148,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8190929599"
    },
    {
      "job": 86055474247,
      "time": 155,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8190931545"
    },
    {
      "job": 86055474226,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8190928216"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236",
  "_status": "success",
  "_upstream": "https://github.com/kosukeimai/wru",
  "_commit": {
    "id": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
    "author": "Brandon Bertelsen <brandon@bertelsen.ca>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add entry for version 3.1.1 bugfix",
    "time": 1778295588
  },
  "_maintainer": {
    "name": "Brandon Bertelsen",
    "email": "brandon@bertelsen.ca",
    "login": "1beb",
    "description": "",
    "uuid": 421859
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "piggyback",
      "version": ">= 0.1.4",
      "role": "Imports"
    },
    {
      "package": "PL94171",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "reticulate",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidycensus",
      "role": "Suggests"
    }
  ],
  "_owner": "kosukeimai",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-19",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v3.1.0",
      "date": "2026-05-07"
    },
    {
      "name": "v3.1.1",
      "date": "2026-05-09"
    }
  ],
  "_stars": 141,
  "_contributors": [
    {
      "user": "1beb",
      "count": 111,
      "uuid": 421859
    },
    {
      "user": "kkprinceton",
      "count": 90,
      "uuid": 15332071
    },
    {
      "user": "rossellhayes",
      "count": 67,
      "uuid": 44556601
    },
    {
      "user": "hj08003",
      "count": 60,
      "uuid": 12300963
    },
    {
      "user": "solivella",
      "count": 49,
      "uuid": 13560956
    },
    {
      "user": "mdblocker",
      "count": 32,
      "uuid": 46643241
    },
    {
      "user": "xiyuy",
      "count": 19,
      "uuid": 90369889
    },
    {
      "user": "noahdasanaike",
      "count": 15,
      "uuid": 23142832
    },
    {
      "user": "kosukeimai",
      "count": 13,
      "uuid": 6608243
    },
    {
      "user": "etrrosenman",
      "count": 5,
      "uuid": 1414011
    },
    {
      "user": "avesh-krishna",
      "count": 4,
      "uuid": 29965675
    },
    {
      "user": "soodoku",
      "count": 3,
      "uuid": 721466
    },
    {
      "user": "corymccartan",
      "count": 1,
      "uuid": 2958471
    }
  ],
  "_userbio": {
    "uuid": 6608243,
    "type": "user",
    "name": "Kosuke Imai",
    "followers": 599
  },
  "_downloads": {
    "count": 551,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/wru"
  },
  "_devurl": "https://github.com/kosukeimai/wru",
  "_searchresults": 162,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/wru.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kosukeimai/wru",
  "_realowner": "kosukeimai",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0-1",
      "date": "2015-12-09"
    },
    {
      "version": "0.0-2",
      "date": "2016-03-11"
    },
    {
      "version": "0.1-1",
      "date": "2016-12-13"
    },
    {
      "version": "0.1-2",
      "date": "2017-03-05"
    },
    {
      "version": "0.1-3",
      "date": "2017-04-14"
    },
    {
      "version": "0.1-4",
      "date": "2017-05-05"
    },
    {
      "version": "0.1-5",
      "date": "2017-06-08"
    },
    {
      "version": "0.1-6",
      "date": "2017-08-17"
    },
    {
      "version": "0.1-7",
      "date": "2017-09-01"
    },
    {
      "version": "0.1-8",
      "date": "2019-02-13"
    },
    {
      "version": "0.1-9",
      "date": "2019-02-21"
    },
    {
      "version": "0.1-10",
      "date": "2020-10-22"
    },
    {
      "version": "0.1-11",
      "date": "2021-04-22"
    },
    {
      "version": "0.1-12",
      "date": "2021-05-17"
    },
    {
      "version": "1.0.0",
      "date": "2022-06-21"
    },
    {
      "version": "1.0.1",
      "date": "2022-10-21"
    },
    {
      "version": "3.0.0",
      "date": "2024-02-16"
    },
    {
      "version": "3.0.1",
      "date": "2024-02-28"
    },
    {
      "version": "3.0.2",
      "date": "2024-04-04"
    },
    {
      "version": "3.0.3",
      "date": "2024-05-24"
    },
    {
      "version": "3.1.0",
      "date": "2026-05-07"
    }
  ],
  "_exports": [
    "as_fips_code",
    "as_state_abbreviation",
    "format_legacy_data",
    "get_census_data",
    "predict_race",
    "setup_ebisg"
  ],
  "_datasets": [
    {
      "name": "state_fips",
      "title": "Dataset with FIPS codes for US states",
      "object": "state_fips",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "state",
        "state_code",
        "state_name"
      ],
      "rows": 57,
      "table": true,
      "tojson": true
    },
    {
      "name": "surnames2000",
      "title": "Census Surname List (2000).",
      "object": "surnames2000",
      "class": [
        "data.frame"
      ],
      "fields": [
        "surname",
        "p_whi",
        "p_bla",
        "p_his",
        "p_asi",
        "p_oth"
      ],
      "rows": 157728,
      "table": true,
      "tojson": true
    },
    {
      "name": "surnames2010",
      "title": "Census Surname List (2010).",
      "object": "surnames2010",
      "class": [
        "data.frame"
      ],
      "fields": [
        "surname",
        "p_whi",
        "p_bla",
        "p_his",
        "p_asi",
        "p_oth"
      ],
      "rows": 167613,
      "table": true,
      "tojson": true
    },
    {
      "name": "voters",
      "title": "Example voter file.",
      "object": "voters",
      "class": [
        "data.frame"
      ],
      "fields": [
        "VoterID",
        "surname",
        "state",
        "CD",
        "county",
        "tract",
        "block",
        "precinct",
        "age",
        "sex",
        "party",
        "PID",
        "place",
        "last",
        "first"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ebisg",
      "title": "Utilities for eBISG (embedding-supplemented BISG)",
      "topics": [
        "ebisg"
      ]
    },
    {
      "page": "format_legacy_data",
      "title": "Legacy data formatting function.",
      "topics": [
        "format_legacy_data"
      ]
    },
    {
      "page": "get_census_data",
      "title": "Multilevel Census data download function.",
      "topics": [
        "get_census_data"
      ]
    },
    {
      "page": "predict_race",
      "title": "Race prediction function.",
      "topics": [
        "predict_race"
      ]
    },
    {
      "page": "setup_ebisg",
      "title": "Set up Python environment for eBISG predictions",
      "topics": [
        "setup_ebisg"
      ]
    },
    {
      "page": "state_fips",
      "title": "Dataset with FIPS codes for US states",
      "topics": [
        "state_fips"
      ]
    },
    {
      "page": "surnames2000",
      "title": "Census Surname List (2000).",
      "topics": [
        "surnames2000"
      ]
    },
    {
      "page": "surnames2010",
      "title": "Census Surname List (2010).",
      "topics": [
        "surnames2010"
      ]
    },
    {
      "page": "voters",
      "title": "Example voter file.",
      "topics": [
        "voters"
      ]
    },
    {
      "page": "wru_data_preflight",
      "title": "Preflight for name data",
      "topics": [
        "wru_data_preflight"
      ]
    }
  ],
  "_pkglogo": "https://github.com/kosukeimai/wru/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/kosukeimai/wru/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "bit",
    "bit64",
    "cachem",
    "class",
    "classInt",
    "cli",
    "clipr",
    "codetools",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "digest",
    "dplyr",
    "e1071",
    "fastmap",
    "foreign",
    "fs",
    "furrr",
    "future",
    "generics",
    "gitcreds",
    "globals",
    "glue",
    "hms",
    "httr",
    "httr2",
    "ini",
    "jsonlite",
    "KernSmooth",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "openssl",
    "parallelly",
    "piggyback",
    "pillar",
    "pkgconfig",
    "PL94171",
    "prettyunits",
    "progress",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "Rcpp",
    "RcppArmadillo",
    "readr",
    "rlang",
    "s2",
    "sf",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tinytiger",
    "tzdb",
    "units",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 7.136885377581654,
  "_indexed": true,
  "_nocasepkg": "wru",
  "_universes": [
    "kosukeimai",
    "1beb"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.1",
      "date": "2026-07-09T06:39:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/97fb4d65c1106a70b88c626e3b306c5f87f9f4b3e69f08620dac589ab685d83f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.1",
      "date": "2026-07-09T06:39:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/c185a0e82df45f99aff9ac6d34740dfa7a08b69d0a3985108449043e1225f8da",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.1.1",
      "date": "2026-07-09T06:40:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/b72f01c00cd51cceb2ed470732f420cd113971db129d63b621e7a2538995bfbf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.1.1",
      "date": "2026-07-09T06:39:49.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/7d461e5aed5458cf25942012b6100403983723e57c8f8368e782e4f74873684c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.1.1",
      "date": "2026-07-09T06:38:34.000Z",
      "arch": "aarch64",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/06b13cd34122ff49eb37b0656b3425473764b63062c5d10aff24b23f92234422",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.1.1",
      "date": "2026-07-09T06:41:13.000Z",
      "arch": "x86_64",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/5e48dc0cb95cff3fbc82430727086e96d8b3d5fe8b9d7177d396c6f17ba4437d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "3.1.1",
      "date": "2026-07-09T06:38:54.000Z",
      "arch": "aarch64",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/2c3dee628bed4c76dc390ebad94ee16b753fa44be56a36e49582704fffd4cdce",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "3.1.1",
      "date": "2026-07-09T06:40:20.000Z",
      "arch": "x86_64",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/4f1a189485d9a645c5d26fa962a91b9a08b1d3fe10b5f92989ebaf220b472dbd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.1.1",
      "date": "2026-07-09T06:40:07.000Z",
      "arch": "emscripten",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/5a1ff3d34be7b30ddc418f6f84cc500d267701663a2c492632dbcdd03556a074",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.1.1",
      "date": "2026-07-09T06:38:30.000Z",
      "arch": "x86_64",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/993c50814e22e5fe0791ad27d5afd0a4c3ed792a3eeae6ffb61b90ba85f11f1b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.1.1",
      "date": "2026-07-09T06:38:39.000Z",
      "arch": "x86_64",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/2e9892017130f203739ffaa4c91b462435f139bb77bdd3449bfb351b46dafbf8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "3.1.1",
      "date": "2026-07-09T06:38:29.000Z",
      "arch": "x86_64",
      "commit": "96995a9aa1d768860b8504036bc3afeb8a9bc155",
      "fileid": "https://r2.ropensci.org/0cdeb6c62dde8cea5828ee4926701fca7819b509e54e9c2efc0aac41083824b1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kosukeimai/actions/runs/28998965236"
    }
  ]
}