{
  "_id": "6a1d39961d7bb097a0a3e77f",
  "Package": "pollster",
  "Type": "Package",
  "Title": "Calculate Crosstab and Topline Tables of Weighted Survey Data",
  "Version": "0.1.7",
  "Author": "John D. Johnson [aut, cre]",
  "Maintainer": "John D. Johnson <john.d.johnson@marquette.edu>",
  "Authors@R": "person(given = c(\"John\", \"D.\"),\nfamily = \"Johnson\",\nrole = c(\"aut\", \"cre\"),\nemail = \"john.d.johnson@marquette.edu\")",
  "Description": "Calculate common types of tables for weighted survey data.\nOptions include topline and (2-way and 3-way) crosstab tables\nof categorical or ordinal data as well as summary tables of\nweighted numeric variables. Optionally, include the margin of\nerror at selected confidence intervals including the design\neffect. The design effect is calculated as described by Kish\n(1965) <doi:10.1002/bimj.19680100122> beginning on page 257.\nOutput takes the form of tibbles (simple data frames). This\npackage conveniently handles labelled data, such as that\ncommonly used by 'Stata' and 'SPSS.' Complex survey design is\nnot supported at this time.",
  "License": "CC0",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://jdjohn215.r-universe.dev",
  "Date/Publication": "2026-01-29 20:42:06 UTC",
  "RemoteUrl": "https://github.com/jdjohn215/pollster",
  "RemoteRef": "HEAD",
  "RemoteSha": "9c1b0c77a55e9f967ef8c5031fdcdf1df2f1037f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 07:44:19 UTC",
    "User": "root"
  },
  "MD5sum": "c43d069cf82ddf5dba8e78abaf10b070",
  "_user": "jdjohn215",
  "_type": "src",
  "_file": "pollster_0.1.7.tar.gz",
  "_fileid": "625ec51db2c1545f71944a2c1007c53682b3776b33d16f8502246284f557b9f7",
  "_filesize": 738213,
  "_sha256": "625ec51db2c1545f71944a2c1007c53682b3776b33d16f8502246284f557b9f7",
  "_created": "2026-06-01T07:44:19.000Z",
  "_published": "2026-06-01T07:49:42.332Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78807826269,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7325981169"
    },
    {
      "job": 78807826350,
      "time": 124,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7325975679"
    },
    {
      "job": 78807826278,
      "time": 174,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7326018431"
    },
    {
      "job": 78807826260,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7325987188"
    },
    {
      "job": 78807402628,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325938040"
    },
    {
      "job": 78807826244,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325972719"
    },
    {
      "job": 78807826294,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7325965269"
    },
    {
      "job": 78807826285,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7325965549"
    },
    {
      "job": 78807826272,
      "time": 81,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7325963581"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jdjohn215/actions/runs/26741794425",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jdjohn215/pollster",
  "_commit": {
    "id": "9c1b0c77a55e9f967ef8c5031fdcdf1df2f1037f",
    "author": "jdjohn215 <jdjohn215@gmail.com>",
    "committer": "jdjohn215 <jdjohn215@gmail.com>",
    "message": "explain note\n",
    "time": 1769719326
  },
  "_maintainer": {
    "name": "John D. Johnson",
    "email": "john.d.johnson@marquette.edu",
    "login": "jdjohn215",
    "bluesky": "@jdjmke.bsky.social",
    "twitter": "@jdjmke",
    "description": "Research Fellow at the Marquette Law School's Lubar Center. Polling, demography, elections. Other stuff too. Mostly rstats.",
    "uuid": 25727441
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 0.8.0",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "labelled",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.5",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "jdjohn215",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 8
    }
  ],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "jdjohn215",
      "count": 192,
      "uuid": 25727441
    },
    {
      "user": "nathanj3",
      "count": 1,
      "uuid": 139487362
    },
    {
      "user": "ethansager",
      "count": 1,
      "uuid": 89609747
    }
  ],
  "_userbio": {
    "uuid": 25727441,
    "type": "user",
    "name": "John D. Johnson",
    "description": "Research Fellow at the Marquette Law School's Lubar Center. Polling, demography, elections. Other stuff too. Mostly rstats."
  },
  "_downloads": {
    "count": 465,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pollster"
  },
  "_devurl": "https://github.com/jdjohn215/pollster",
  "_searchresults": 56,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pollster.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jdjohn215/pollster",
  "_realowner": "jdjohn215",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-03-25"
    },
    {
      "version": "0.1.1",
      "date": "2020-04-08"
    },
    {
      "version": "0.1.2",
      "date": "2020-05-26"
    },
    {
      "version": "0.1.3",
      "date": "2020-08-25"
    },
    {
      "version": "0.1.4",
      "date": "2022-10-26"
    },
    {
      "version": "0.1.5",
      "date": "2023-04-25"
    },
    {
      "version": "0.1.6",
      "date": "2023-05-12"
    },
    {
      "version": "0.1.7",
      "date": "2026-01-29"
    }
  ],
  "_exports": [
    "crosstab",
    "crosstab_3way",
    "deff_calc",
    "moe_crosstab",
    "moe_crosstab_3way",
    "moe_topline",
    "moe_wave_crosstab",
    "moe_wave_crosstab_3way",
    "moedeff_calc",
    "summary_table",
    "topline",
    "wtd_mean"
  ],
  "_datasets": [
    {
      "name": "illinois",
      "title": "Illinois respondents to the Voting and Registration Supplement for the Current Population Survey",
      "object": "illinois",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "fips",
        "sex",
        "educ6",
        "raceethnic",
        "maritalstatus",
        "rv",
        "voter",
        "age",
        "weight"
      ],
      "rows": 36207,
      "table": true,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "crosstab",
      "title": "weighted crosstabs",
      "topics": [
        "crosstab"
      ]
    },
    {
      "page": "crosstab_3way",
      "title": "weighted 3-way crosstabs",
      "topics": [
        "crosstab_3way"
      ]
    },
    {
      "page": "deff_calc",
      "title": "Calculate the design effect of a sample",
      "topics": [
        "deff_calc"
      ]
    },
    {
      "page": "illinois",
      "title": "Illinois respondents to the Voting and Registration Supplement for the Current Population Survey",
      "topics": [
        "illinois"
      ]
    },
    {
      "page": "moe_crosstab",
      "title": "weighted crosstabs with margin of error",
      "topics": [
        "moe_crosstab"
      ]
    },
    {
      "page": "moe_crosstab_3way",
      "title": "weighted 3-way crosstabs with margin of error",
      "topics": [
        "moe_crosstab_3way"
      ]
    },
    {
      "page": "moe_topline",
      "title": "weighted topline with margin of error",
      "topics": [
        "moe_topline"
      ]
    },
    {
      "page": "moe_wave_crosstab",
      "title": "weighted crosstabs with margin of error, where the x-variable identifies different survey waves",
      "topics": [
        "moe_wave_crosstab"
      ]
    },
    {
      "page": "moe_wave_crosstab_3way",
      "title": "weighted 3-way crosstabs with margin of error, where the z-variable identifies different survey waves",
      "topics": [
        "moe_wave_crosstab_3way"
      ]
    },
    {
      "page": "moedeff_calc",
      "title": "Calculate the margin of error (including design effect) of a sample",
      "topics": [
        "moedeff_calc"
      ]
    },
    {
      "page": "summary_table",
      "title": "weighted summary table",
      "topics": [
        "summary_table"
      ]
    },
    {
      "page": "topline",
      "title": "weighted topline",
      "topics": [
        "topline"
      ]
    },
    {
      "page": "wtd_mean",
      "title": "weighted mean",
      "topics": [
        "wtd_mean"
      ]
    }
  ],
  "_readme": "https://github.com/jdjohn215/pollster/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "forcats",
    "generics",
    "glue",
    "haven",
    "hms",
    "labelled",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "crosstab3way.Rmd",
      "filename": "crosstab3way.html",
      "title": "3-way crosstabs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Special case, when the z-variable identifies survey waves"
      ],
      "created": "2020-03-10 18:08:28",
      "modified": "2026-01-29 18:50:19",
      "commits": 2
    },
    {
      "source": "crosstabs.Rmd",
      "filename": "crosstabs.html",
      "title": "crosstabs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Margin of error",
        "How the margin of error is calculated",
        "Special case, the x-variable identifies survey waves"
      ],
      "created": "2020-03-10 16:13:02",
      "modified": "2026-01-29 19:28:51",
      "commits": 5
    },
    {
      "source": "toplines.Rmd",
      "filename": "toplines.html",
      "title": "toplines",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Graphs",
        "Margin of error"
      ],
      "created": "2020-03-10 15:16:16",
      "modified": "2020-03-18 21:49:42",
      "commits": 4
    }
  ],
  "_score": 6.179551791165188,
  "_indexed": true,
  "_nocasepkg": "pollster",
  "_universes": [
    "jdjohn215"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.7",
      "date": "2026-06-01T07:46:34.000Z",
      "distro": "noble",
      "commit": "9c1b0c77a55e9f967ef8c5031fdcdf1df2f1037f",
      "fileid": "810cbeda06a8119ae03f64a7bd27ce350ecc86304acce19616a44b8b0d7f500a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jdjohn215/actions/runs/26741794425"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.7",
      "date": "2026-06-01T07:46:20.000Z",
      "distro": "noble",
      "commit": "9c1b0c77a55e9f967ef8c5031fdcdf1df2f1037f",
      "fileid": "3d2ae50127ba358543e86b0776c4d188cd2c24d1f01c52177e0d709139dc78ee",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jdjohn215/actions/runs/26741794425"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.7",
      "date": "2026-06-01T07:48:36.000Z",
      "commit": "9c1b0c77a55e9f967ef8c5031fdcdf1df2f1037f",
      "fileid": "679617602ded45ed7cfd3c96c46aa114f937300f8b50dd21feea7f042290b6fb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jdjohn215/actions/runs/26741794425"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.7",
      "date": "2026-06-01T07:47:05.000Z",
      "commit": "9c1b0c77a55e9f967ef8c5031fdcdf1df2f1037f",
      "fileid": "013caa3cdf38ccba862011a09ef101199a793f004992daf7fc840f5ce0c6e631",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jdjohn215/actions/runs/26741794425"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.7",
      "date": "2026-06-01T07:46:31.000Z",
      "commit": "9c1b0c77a55e9f967ef8c5031fdcdf1df2f1037f",
      "fileid": "32d8398865b4892ba55f37388a80055a8dc1e82a5438fdcb54bd3a59023ee6de",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jdjohn215/actions/runs/26741794425"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-06-01T07:45:39.000Z",
      "commit": "9c1b0c77a55e9f967ef8c5031fdcdf1df2f1037f",
      "fileid": "2f5ce071583e61ddce6a9ddc49a0c69a854e66fa3688552e7fca2435ab308870",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jdjohn215/actions/runs/26741794425"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-06-01T07:45:39.000Z",
      "commit": "9c1b0c77a55e9f967ef8c5031fdcdf1df2f1037f",
      "fileid": "7a6edb37d0a52fbbb1bce2d97a411057757974707751f1d9f49652774a5a305e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jdjohn215/actions/runs/26741794425"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-06-01T07:45:33.000Z",
      "commit": "9c1b0c77a55e9f967ef8c5031fdcdf1df2f1037f",
      "fileid": "9da0ada9ff4a650246df9e5100b51578cad26a2e5f782e713232749ec4b8ebf7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jdjohn215/actions/runs/26741794425"
    }
  ]
}