{
  "_id": "6a573ac1ff0138dec5d6f67c",
  "Package": "blocs",
  "Type": "Package",
  "Title": "Estimate and Visualize Voting Blocs' Partisan Contributions",
  "Version": "0.1.1.9000",
  "Authors@R": "c(\nperson(\"Justin\", \"Grimmer\",\nemail = \"jgrimmer@stanford.edu\",\nrole = \"aut\"\n),\nperson(\"Will\", \"Marble\",\nemail = \"wmarble@princeton.edu\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-9352-5540\")\n),\nperson(\"Cole\", \"Tanigawa-Lau\",\nemail = \"coletl@stanford.edu\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-8656-571X\")\n)\n)",
  "Maintainer": "Cole Tanigawa-Lau <coletl@stanford.edu>",
  "Description": "Functions to combine data on voting blocs' size, turnout,\nand vote choice to estimate each bloc's vote contributions to\nthe Democratic and Republican parties. The package also\nincludes functions for uncertainty estimation and plotting.\nUsers may define voting blocs along a discrete or continuous\nvariable. The package implements methods described in Grimmer,\nMarble, and Tanigawa-Lau (2022) <doi:10.31235/osf.io/c9fkg>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.2.0",
  "URL": "https://coletl.github.io/blocs/",
  "Repository": "https://coletl.r-universe.dev",
  "Date/Publication": "2023-10-22 21:45:33 UTC",
  "RemoteUrl": "https://github.com/coletl/blocs",
  "RemoteRef": "HEAD",
  "RemoteSha": "e21463829c7c8ce5efb01918bd9297e4618411f0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-15 07:41:37 UTC",
    "User": "root"
  },
  "Author": "Justin Grimmer [aut],\nWill Marble [aut] (ORCID: <https://orcid.org/0000-0001-9352-5540>),\nCole Tanigawa-Lau [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8656-571X>)",
  "_user": "coletl",
  "_type": "src",
  "_file": "blocs_0.1.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/f434e35a5d9f4f8f77e95ab81ac477b3c406d3073209fe9d365296637e9b4b8d",
  "_filesize": 410997,
  "_sha256": "f434e35a5d9f4f8f77e95ab81ac477b3c406d3073209fe9d365296637e9b4b8d",
  "_expires": "2026-10-23T07:46:07.000Z",
  "_created": "2026-07-15T07:41:37.000Z",
  "_published": "2026-07-15T07:46:09.446Z",
  "_jobs": [
    {
      "job": 87296468132,
      "time": 212,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8336045536"
    },
    {
      "job": 87296468134,
      "time": 228,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8336051917"
    },
    {
      "job": 87296468130,
      "time": 171,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8336023265"
    },
    {
      "job": 87296468119,
      "time": 235,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8336041100"
    },
    {
      "job": 87295741892,
      "time": 241,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8335968124"
    },
    {
      "job": 87296468108,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8336024219"
    },
    {
      "job": 87296468126,
      "time": 147,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8336023206"
    },
    {
      "job": 87296468118,
      "time": 217,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8336047781"
    },
    {
      "job": 87296468177,
      "time": 193,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8336040446"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/coletl/actions/runs/29397963737",
  "_status": "success",
  "_upstream": "https://github.com/coletl/blocs",
  "_commit": {
    "id": "e21463829c7c8ce5efb01918bd9297e4618411f0",
    "author": "Cole Tanigawa-Lau <ctanigawa-lau@aclu.org>",
    "committer": "Cole Tanigawa-Lau <ctanigawa-lau@aclu.org>",
    "message": "Create package website\n",
    "time": 1698011133
  },
  "_maintainer": {
    "name": "Cole Tanigawa-Lau",
    "email": "coletl@stanford.edu",
    "login": "coletl",
    "description": "PhD candidate in Political Science studying U.S. politics and political methodology.",
    "uuid": 25174518,
    "orcid": "0000-0002-8656-571X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "collapse",
      "version": ">= 1.7.6",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.2.0",
      "role": "Imports"
    },
    {
      "package": "ks",
      "version": ">= 1.13.4",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "version": ">= 1.8.39",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "devtools",
      "version": ">= 2.4.3",
      "role": "Suggests"
    },
    {
      "package": "questionr",
      "version": ">= 0.7.7",
      "role": "Suggests"
    },
    {
      "package": "reldist",
      "version": ">= 1.7.0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.3",
      "role": "Suggests"
    }
  ],
  "_owner": "coletl",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "coletl",
      "count": 99,
      "uuid": 25174518
    }
  ],
  "_userbio": {
    "uuid": 25174518,
    "type": "user",
    "name": "Cole Tanigawa-Lau",
    "followers": 5,
    "description": "PhD candidate in Political Science studying U.S. politics and political methodology."
  },
  "_downloads": {
    "count": 287,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/blocs"
  },
  "_devurl": "https://github.com/coletl/blocs",
  "_pkgdown": "https://coletl.github.io/blocs/",
  "_searchresults": 10,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/blocs.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/coletl/blocs",
  "_realowner": "coletl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-11-23"
    },
    {
      "version": "0.1.1",
      "date": "2023-04-02"
    }
  ],
  "_exports": [
    "vb_continuous",
    "vb_difference",
    "vb_discrete",
    "vb_plot",
    "vb_summary",
    "vb_uncertainty",
    "vbdf",
    "wtd_table"
  ],
  "_datasets": [
    {
      "name": "anes",
      "title": "Sample of 2020 ANES cumulative data file",
      "object": "anes",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "respid",
        "weight",
        "race",
        "gender",
        "educ",
        "age",
        "vote_pres",
        "voted",
        "vote_pres_dem",
        "vote_pres_rep",
        "vote_pres3"
      ],
      "rows": 46838,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "anes",
      "title": "Sample of 2020 ANES cumulative data file",
      "topics": [
        "anes"
      ]
    },
    {
      "page": "check_vbdf",
      "title": "Validator for class vbdf",
      "topics": [
        "check_vbdf"
      ]
    },
    {
      "page": "estimate_density",
      "title": "Estimate density",
      "topics": [
        "estimate_density"
      ]
    },
    {
      "page": "new_vbdf",
      "title": "Constructor for class vbdf",
      "topics": [
        "new_vbdf"
      ]
    },
    {
      "page": "new_vbsum",
      "title": "Constructor for vbdf summaries",
      "topics": [
        "new_vbsum"
      ]
    },
    {
      "page": "vb_continuous",
      "title": "Continuous voting bloc analysis",
      "topics": [
        "vb_continuous"
      ]
    },
    {
      "page": "vb_difference",
      "title": "Calculate differences in bloc contributions",
      "topics": [
        "vb_difference"
      ]
    },
    {
      "page": "vb_discrete",
      "title": "Discrete voting bloc analysis",
      "topics": [
        "vb_discrete"
      ]
    },
    {
      "page": "vb_plot",
      "title": "Plot the summary of a voting bloc analysis",
      "topics": [
        "vb_plot"
      ]
    },
    {
      "page": "vb_summary",
      "title": "Summarize uncertainty for a vbdf objects",
      "topics": [
        "vb_summary",
        "vb_uncertainty"
      ]
    },
    {
      "page": "vbdf",
      "title": "Create a vbdf object",
      "topics": [
        "vbdf"
      ]
    },
    {
      "page": "wtd_table",
      "title": "Weighted frequency table or proportions",
      "topics": [
        "wtd_table"
      ]
    }
  ],
  "_readme": "https://github.com/coletl/blocs/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "collapse",
    "cpp11",
    "dplyr",
    "farver",
    "FNN",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "kernlab",
    "KernSmooth",
    "ks",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mclust",
    "mgcv",
    "multicool",
    "mvtnorm",
    "nlme",
    "pillar",
    "pkgconfig",
    "pracma",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "blocs",
  "_universes": [
    "coletl"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:44:33.000Z",
      "distro": "resolute",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "https://r2.ropensci.org/15d10d5507230d436e1e67be3fdb6168ed152645767b2e806705847ef820c30e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/29397963737"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:44:48.000Z",
      "distro": "resolute",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "https://r2.ropensci.org/92df1c42fe9b6b10fc4193ccb3d4e8b36502c8079a24d709a39ba93a7d5540c7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/29397963737"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:43:49.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "https://r2.ropensci.org/a11deae66b2e63331d809f4e6a7b7fe48ee4f96394a59d72c07391e84577277a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/29397963737"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:44:17.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "https://r2.ropensci.org/8c83221e2ece228cb64989ad1ea8e0462ed5b60b5084723784126ae57efe472e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/29397963737"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:44:25.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "https://r2.ropensci.org/78f2a0bfead5f696f623e382cb4afb52fb816fb12fb03b6d4af33810b857cb6e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/29397963737"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:43:28.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "https://r2.ropensci.org/17d8537ab5234309ffc161ce3e7579489c4c176590a8e8719584a4e31905f71b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/29397963737"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:44:41.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "https://r2.ropensci.org/6cb442167e1c8b9cd50c97be35cdfc72c8aa30b336fa9d8a256c70ec969141dd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/29397963737"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:44:19.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "https://r2.ropensci.org/1acf40c395e4caae58b34f14d5b6b3ee491a93be1e9656943b0f05d7a9031494",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/29397963737"
    }
  ]
}