{
  "_id": "6a1f2555b401979e73421249",
  "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-05-16 06:11:48 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>)",
  "MD5sum": "b5d947ab597dd2a842b5017c27c4809b",
  "_user": "coletl",
  "_type": "src",
  "_file": "blocs_0.1.1.9000.tar.gz",
  "_fileid": "280686fa2ddeab0351547eca25e58ac763125a8ef7f38a8379a07e68d6a08eae",
  "_filesize": 410028,
  "_sha256": "280686fa2ddeab0351547eca25e58ac763125a8ef7f38a8379a07e68d6a08eae",
  "_created": "2026-05-16T06:11:48.000Z",
  "_published": "2026-06-02T18:47:49.940Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79146867898,
      "time": 206,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7031111973"
    },
    {
      "job": 79146867978,
      "time": 201,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7031111549"
    },
    {
      "job": 79146868145,
      "time": 318,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7031179562"
    },
    {
      "job": 79146867900,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7031165848"
    },
    {
      "job": 79146867634,
      "time": 229,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031090461"
    },
    {
      "job": 79146867302,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366880850"
    },
    {
      "job": 79146867654,
      "time": 138,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7031105308"
    },
    {
      "job": 79146868368,
      "time": 130,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7031104471"
    },
    {
      "job": 79146868072,
      "time": 142,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7031105825"
    }
  ],
  "_buildurl": "https://github.com/r-universe/coletl/actions/runs/25954615079",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 25174518,
    "orcid": "0000-0002-8656-571X"
  },
  "_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",
    "description": "PhD candidate in Political Science studying U.S. politics and political methodology."
  },
  "_downloads": {
    "count": 194,
    "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.0",
  "_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-05-16T06:14:34.000Z",
      "distro": "noble",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "37e3f417b9cd3fb7c4cac208cbc9d4f1327084c0879863c5d4244425a79bc89b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/25954615079"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-05-16T06:14:35.000Z",
      "distro": "noble",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "87dac078fd778fb5feca57716b488b2c632fc3c71d8b2b35f92cb6ac97efdd3f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/25954615079"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-05-16T06:25:54.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "8a8c1be1ba92d4b9a6b12ba195d889fc860264a0ee55d1dd507c53ffc5ab33b8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/25954615079"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-05-16T06:23:46.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "b2485f170596699172dcb9a1b10cf44a199864daaac0bb403d061e6cd8ffe588",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/25954615079"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-16T06:13:25.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "eca24415afc6c24e8b7bd77f7ff98d34fede8194c4eb92ffa7a6e1bd3e9d538b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/25954615079"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-16T06:13:21.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "950b5ade91058a63455c8a3ab20349f8a21f72efab29bcbe9bd91472c02ce673",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/25954615079"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-16T06:13:35.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "4ed7684121f3b7831af1d916f3232f0535f5b3e95bbad7bdcae12806c50990d9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/25954615079"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1.9000",
      "date": "2026-06-02T18:47:26.000Z",
      "commit": "e21463829c7c8ce5efb01918bd9297e4618411f0",
      "fileid": "2db356d9044eaa02f6e6da684fe2afac2615360fd5be84261a7ab45721516bc1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/coletl/actions/runs/25954615079"
    }
  ]
}