{
  "_id": "6abe334599f7aa8c6aa539bc",
  "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-10-01 10:13:21 UTC",
    "User": "root"
  },
  "Author": "Ben Mainwaring [aut, cre]",
  "Maintainer": "Ben Mainwaring <mainwaringb@gmail.com>",
  "_user": "mainwaringb",
  "_type": "src",
  "_file": "svyweight_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/f8f8f51a526c72c0935772fd6b4b100906f9ddca6521eab4abfb2ebfddca85b9",
  "_filesize": 194511,
  "_sha256": "f8f8f51a526c72c0935772fd6b4b100906f9ddca6521eab4abfb2ebfddca85b9",
  "_expires": "2027-01-09T10:17:39.000Z",
  "_created": "2026-10-01T10:13:21.000Z",
  "_published": "2026-10-01T10:17:41.379Z",
  "_jobs": [
    {
      "job": 110322023859,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11154755533"
    },
    {
      "job": 110322024028,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11154351578"
    },
    {
      "job": 110322023717,
      "time": 164,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11153902649"
    },
    {
      "job": 110322023958,
      "time": 207,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11153674653"
    },
    {
      "job": 110320760073,
      "time": 212,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11154341157"
    },
    {
      "job": 110322023879,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11153659746"
    },
    {
      "job": 110322024025,
      "time": 93,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11153669493"
    },
    {
      "job": 110322024061,
      "time": 92,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11153569865"
    },
    {
      "job": 110322024070,
      "time": 87,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11153977466"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/36847312256",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 0,
    "description": "Statistics, data science, social research"
  },
  "_downloads": {
    "count": 426,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/svyweight"
  },
  "_devurl": "https://github.com/mainwaringb/svyweight",
  "_searchresults": 1,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/svyweight.html"
  ],
  "_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-10-01T10:15:38.000Z",
      "distro": "resolute",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "https://r2.ropensci.org/d5315d86664ded810c6d75b10457ee72e5b87ba18e9cd1421911293d02575012",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/36847312256"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-01T10:15:48.000Z",
      "distro": "resolute",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "https://r2.ropensci.org/2cb9f5eef3033bf65f5abacde07872da92ac8fb5b34edf16985ec3d9ce8dbe4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/36847312256"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-01T10:15:42.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "https://r2.ropensci.org/2db765b8198a0378c1662ff02f4981fd674cef87ea9b16fcdc0df828eff8648a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/36847312256"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-01T10:15:47.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "https://r2.ropensci.org/c170018b7935e6aba59e2bbe9df1a2f5d6a0e65d4befce0c31ce7b8a1adf4276",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/36847312256"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-01T10:15:38.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "https://r2.ropensci.org/d390b6e09b48cd26d5ebed580b108c44da80d780e71536906bae500dc42cbb73",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/36847312256"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-01T10:14:40.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "https://r2.ropensci.org/f3521bcf4713a48c631463d79a72a47089c0bd94a43b50e61e08106c478b22a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/36847312256"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-01T10:15:10.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "https://r2.ropensci.org/83379a3195e249d3ff87dc299f4619954f35aa3e4504f810df49fb71fe6f795f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/36847312256"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-01T10:14:35.000Z",
      "commit": "b1e04a06caf4e6fc052338d7f44a469d9e949eea",
      "fileid": "https://r2.ropensci.org/a2d7e258c45489599a8f69782b2c64d9375066362032312e6005893579777428",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mainwaringb/actions/runs/36847312256"
    }
  ]
}