{
  "_id": "6a17e609acfb0bcc41da1297",
  "Package": "svyweight",
  "Title": "Quick and Flexible Survey Weighting",
  "Version": "0.1.1",
  "Authors@R": "person(given = \"Ben\",\nfamily = \"Mainwaring\",\nrole = c(\"aut\", \"cre\"),\nemail = \"mainwaringb@gmail.com\")",
  "Description": "Quickly and flexibly calculates weights for survey data,\nin order to correct for survey non-response or other sampling\nissues. Uses rake weighting, a common technique also know as\nrim weighting or iterative proportional fitting.  This\ntechnique allows for weighting on multiple variables, even when\nthe interlocked distribution of the two variables is not known.\nInteracts with Thomas Lumley's 'survey' package, as described\nin Lumley, Thomas (2011, ISBN:978-1-118-21093-2). Adds\nadditional functionality, more adaptable syntax, and\nerror-checking to the base weighting functionality in 'survey.'",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "make",
  "Repository": "https://mainwaringb.r-universe.dev",
  "Date/Publication": "2026-03-29 19:44:11 UTC",
  "RemoteUrl": "https://github.com/mainwaringb/svyweight",
  "RemoteRef": "HEAD",
  "RemoteSha": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 06:46:25 UTC",
    "User": "root"
  },
  "Author": "Ben Mainwaring [aut, cre]",
  "Maintainer": "Ben Mainwaring <mainwaringb@gmail.com>",
  "MD5sum": "e444601cd75e87e0526ca2ee8cb4634a",
  "_user": "mainwaringb",
  "_type": "src",
  "_file": "svyweight_0.1.1.tar.gz",
  "_fileid": "f748b8d18ac766dd30ca09561ea9b8ae17500cf813be4acbaecfaffb0781eff1",
  "_filesize": 193879,
  "_sha256": "f748b8d18ac766dd30ca09561ea9b8ae17500cf813be4acbaecfaffb0781eff1",
  "_created": "2026-05-28T06:46:25.000Z",
  "_published": "2026-05-28T06:51:53.309Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78238324875,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7259437350"
    },
    {
      "job": 78238324892,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259437193"
    },
    {
      "job": 78238324879,
      "time": 188,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7259463416"
    },
    {
      "job": 78238324886,
      "time": 180,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259444301"
    },
    {
      "job": 78237867447,
      "time": 220,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259400631"
    },
    {
      "job": 78238324881,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259430345"
    },
    {
      "job": 78238324878,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7259428245"
    },
    {
      "job": 78238324882,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7259423080"
    },
    {
      "job": 78238324884,
      "time": 105,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259426872"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/26559195339",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mainwaringb/svyweight",
  "_commit": {
    "id": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
    "author": "Apparatchiq <apparatchiq@mac.mynetworksettings.com>",
    "committer": "Apparatchiq <apparatchiq@mac.mynetworksettings.com>",
    "message": "Updates to fix package build issues after minor revisions\n",
    "time": 1774813451
  },
  "_maintainer": {
    "name": "Ben Mainwaring",
    "email": "mainwaringb@gmail.com",
    "login": "mainwaringb",
    "description": "Statistics, data science, social research",
    "uuid": 11147012
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.00",
      "role": "Depends"
    },
    {
      "package": "survey",
      "role": "Imports"
    },
    {
      "package": "gdata",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "srvyr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "mice",
      "role": "Suggests"
    }
  ],
  "_owner": "mainwaringb",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "rake",
    "sampling",
    "survey",
    "weighting"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "mainwaringb",
      "count": 137,
      "uuid": 11147012
    }
  ],
  "_userbio": {
    "uuid": 11147012,
    "type": "user",
    "name": "Ben Mainwaring",
    "description": "Statistics, data science, social research"
  },
  "_downloads": {
    "count": 481,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/svyweight"
  },
  "_devurl": "https://github.com/mainwaringb/svyweight",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/svyweight.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mainwaringb/svyweight",
  "_realowner": "mainwaringb",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-05-03"
    },
    {
      "version": "0.1.1",
      "date": "2026-03-29"
    }
  ],
  "_exports": [
    "as.w8margin",
    "eff_n",
    "impute_w8margin",
    "rakesvy",
    "rakew8",
    "w8margin_matched",
    "weight_eff"
  ],
  "_datasets": [
    {
      "name": "gles17",
      "title": "Partial Data from the 2017 German Election Survey",
      "object": "gles17",
      "class": [
        "data.frame"
      ],
      "fields": [
        "gender",
        "educ",
        "gender_educ",
        "birthyear",
        "votingage",
        "agecat",
        "state",
        "eastwest",
        "vote2013",
        "turnout2013",
        "votecurrent",
        "intnum",
        "vpoint",
        "hhsize",
        "dweight"
      ],
      "rows": 2179,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as.w8margin",
      "title": "Weight Margin Objects",
      "topics": [
        "as.w8margin",
        "as.w8margin.data.frame",
        "as.w8margin.matrix",
        "as.w8margin.numeric",
        "w8margin"
      ]
    },
    {
      "page": "eff_n",
      "title": "Effective Sample Size and Weighting Efficiency",
      "topics": [
        "eff_n",
        "weight_eff"
      ]
    },
    {
      "page": "gles17",
      "title": "Partial Data from the 2017 German Election Survey",
      "topics": [
        "gles17"
      ]
    },
    {
      "page": "impute_w8margin",
      "title": "Impute NAs in w8margin Object",
      "topics": [
        "impute_w8margin"
      ]
    },
    {
      "page": "rakesvy",
      "title": "Flexibly Calculate Rake Weights",
      "topics": [
        "rakesvy",
        "rakew8"
      ]
    },
    {
      "page": "svyweight",
      "title": "svyweight: Quick and Flexible Rake Weighting",
      "topics": [
        "svyweight-package",
        "svyweight"
      ]
    },
    {
      "page": "w8margin_matched",
      "title": "Check if w8margin Matches Observed Data",
      "topics": [
        "w8margin_matched"
      ]
    }
  ],
  "_readme": "https://github.com/mainwaringb/svyweight/raw/HEAD/README.md",
  "_rundeps": [
    "DBI",
    "gdata",
    "gtools",
    "lattice",
    "Matrix",
    "minqa",
    "mitools",
    "numDeriv",
    "Rcpp",
    "RcppArmadillo",
    "survey",
    "survival"
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "svyweight",
  "_universes": [
    "mainwaringb"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-28T06:48:41.000Z",
      "distro": "noble",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "d52eb0daac83cc4bb4aaa1dc7db83398f295192c26356e0e2f7850857c8f61c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/26559195339"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-28T06:48:39.000Z",
      "distro": "noble",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "bbd8117bde8ea4cbaf0a7ffe931b45fe1714c5f22e80ba4ea2adf8bba151eeae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/26559195339"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-28T06:50:32.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "e246f93c7632d0e3962346b7d6d256d1c3168ad1574ed4558a692a55a0757413",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/26559195339"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-28T06:49:17.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "2b793b2ca551431c2c10ee49e5840ed0db02d7cf173d87cac9be0930fe47b241",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/26559195339"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-05-28T06:48:42.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "7d5c5de8e3f6a7c8b2b3b56e3ceb8bd2b202aca0f28b5d5199e41b296a1bf760",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/26559195339"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-28T06:47:57.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "31d36fd13093e981d2b3c9577d3badd64d5c6b709e1771ab7153402340faf8c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/26559195339"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-28T06:47:38.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "438e2e77b5a995813da420c117d93884d0b7257414921d8cad00bc3996fa0999",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/26559195339"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-28T06:47:50.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "ff1b8e2e1be8d61c74019bda7140425935fd3ee3c8cd0875bf7fa6a2c2100e75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/26559195339"
    }
  ]
}