{
  "_id": "6a10163bacfb0bcc41c8452c",
  "Package": "regrake",
  "Type": "Package",
  "Title": "Regularized Survey Raking",
  "Version": "1.0.0",
  "Authors@R": "person(\"Andy\", \"Timm\",\nemail = \"timmandrew1@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Calibrates survey weights to known population targets\nusing regularized raking. Constraints are specified with a\nformula interface (for example, rr_exact(), rr_l2(),\nrr_range(), rr_mean(), rr_var(), and rr_quantile()). Supports\ncommon target formats including autumn-style proportions\ntables, raw or weighted population microdata, named-list\ntargets (as in 'anesrake'), and 'survey' package design\nobjects. Optimization follows Barratt et al. (2021)\n<https://web.stanford.edu/~boyd/papers/pdf/optimal_representative_sampling.pdf>\nand returns calibrated weights with balance and convergence\ndiagnostics.",
  "License": "Apache License (== 2.0) | file LICENSE",
  "Language": "en-US",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/andytimm/regrake",
  "BugReports": "https://github.com/andytimm/regrake/issues",
  "Config/pak/sysreqs": "make",
  "Repository": "https://andytimm.r-universe.dev",
  "Date/Publication": "2026-03-15 17:30:05 UTC",
  "RemoteUrl": "https://github.com/andytimm/regrake",
  "RemoteRef": "HEAD",
  "RemoteSha": "ba8be4d3546e09c87bf75626e2ef5ed2b578a76c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 09:05:03 UTC",
    "User": "root"
  },
  "Author": "Andy Timm [aut, cre, cph]",
  "Maintainer": "Andy Timm <timmandrew1@gmail.com>",
  "MD5sum": "660fe8ff058cdc817663c3f0383bcd39",
  "_user": "andytimm",
  "_type": "src",
  "_file": "regrake_1.0.0.tar.gz",
  "_fileid": "b5340deefcebeb3a8494bb2df8a3239cc7c57737ef38d81609ecb0d6fc6a45e0",
  "_filesize": 247728,
  "_sha256": "b5340deefcebeb3a8494bb2df8a3239cc7c57737ef38d81609ecb0d6fc6a45e0",
  "_created": "2026-05-14T09:05:03.000Z",
  "_published": "2026-05-22T08:39:23.391Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77345349708,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990974260"
    },
    {
      "job": 77345349608,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990973614"
    },
    {
      "job": 77345349593,
      "time": 104,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6990957913"
    },
    {
      "job": 77345349751,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7010912917"
    },
    {
      "job": 77345349268,
      "time": 192,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990926654"
    },
    {
      "job": 77345349195,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156345219"
    },
    {
      "job": 77345349683,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990955227"
    },
    {
      "job": 77345349674,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6990954991"
    },
    {
      "job": 77345349631,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990952617"
    }
  ],
  "_buildurl": "https://github.com/r-universe/andytimm/actions/runs/25851475905",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/andytimm/regrake",
  "_commit": {
    "id": "ba8be4d3546e09c87bf75626e2ef5ed2b578a76c",
    "author": "Andrew Timm <timmandrew1@gmail.com>",
    "committer": "Andrew Timm <timmandrew1@gmail.com>",
    "message": "r-universe notes\n",
    "time": 1773595805
  },
  "_maintainer": {
    "name": "Andy Timm",
    "email": "timmandrew1@gmail.com",
    "login": "andytimm",
    "uuid": 12973310
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lamW",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "survey",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "CVXR",
      "role": "Suggests"
    },
    {
      "package": "RhpcBLASctl",
      "role": "Suggests"
    }
  ],
  "_owner": "andytimm",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 35
    },
    {
      "week": "2026-05",
      "n": 14
    },
    {
      "week": "2026-06",
      "n": 53
    },
    {
      "week": "2026-08",
      "n": 4
    },
    {
      "week": "2026-10",
      "n": 8
    },
    {
      "week": "2026-11",
      "n": 6
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "andytimm",
      "count": 144,
      "uuid": 12973310
    }
  ],
  "_userbio": {
    "uuid": 12973310,
    "type": "user",
    "name": "Andrew Timm",
    "description": "Senior Data Scientist at Grow Progress, building our platform for efficient message testing at scale. Former campaign field/data staff."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/regrake"
  },
  "_devurl": "https://github.com/andytimm/regrake",
  "_searchresults": 4,
  "_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/readme.html",
    "extra/readme.md",
    "extra/regrake.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "regrake",
    "rr_between",
    "rr_exact",
    "rr_kl",
    "rr_l2",
    "rr_mean",
    "rr_quantile",
    "rr_range",
    "rr_var"
  ],
  "_help": [
    {
      "page": "print.raking_formula",
      "title": "Print method for raking_formula objects",
      "topics": [
        "print.raking_formula"
      ]
    },
    {
      "page": "print.regrake",
      "title": "Print method for regrake objects",
      "topics": [
        "print.regrake"
      ]
    },
    {
      "page": "prox_boolean_reg",
      "title": "Proximal operator for boolean regularizer",
      "topics": [
        "prox_boolean_reg"
      ]
    },
    {
      "page": "prox_equality",
      "title": "Proximal operator for equality constraints",
      "topics": [
        "prox_equality"
      ]
    },
    {
      "page": "prox_equality_reg",
      "title": "Proximal operator for equality regularizer",
      "topics": [
        "prox_equality_reg"
      ]
    },
    {
      "page": "prox_inequality",
      "title": "Proximal operator for inequality constraints",
      "topics": [
        "prox_inequality"
      ]
    },
    {
      "page": "prox_kl",
      "title": "Proximal operator for KL divergence loss",
      "topics": [
        "prox_kl"
      ]
    },
    {
      "page": "prox_kl_reg",
      "title": "Proximal operator for KL regularizer",
      "topics": [
        "prox_kl_reg"
      ]
    },
    {
      "page": "prox_least_squares",
      "title": "Proximal operator for least squares loss",
      "topics": [
        "prox_least_squares"
      ]
    },
    {
      "page": "prox_sum_squares_reg",
      "title": "Proximal operator for sum squares regularizer",
      "topics": [
        "prox_sum_squares_reg"
      ]
    },
    {
      "page": "regrake",
      "title": "Optimal representative sample weighting",
      "topics": [
        "regrake"
      ]
    },
    {
      "page": "rr_constraints",
      "title": "Raking Constraint Functions",
      "topics": [
        "rr_between",
        "rr_constraints",
        "rr_exact",
        "rr_kl",
        "rr_l2",
        "rr_mean",
        "rr_quantile",
        "rr_range",
        "rr_var"
      ]
    },
    {
      "page": "summary.regrake",
      "title": "Summary method for regrake objects",
      "topics": [
        "summary.regrake"
      ]
    }
  ],
  "_readme": "https://github.com/andytimm/regrake/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "digest",
    "glue",
    "lamW",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "Rcpp",
    "RcppParallel",
    "rlang",
    "tibble",
    "utf8",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to regrake",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is regrake?",
        "Setup",
        "Basic raking with exact constraints",
        "Adding complexity: mixed constraints",
        "Checking balance",
        "When is regrake worth the complexity?",
        "Feature reference"
      ],
      "created": "2026-02-08 19:50:07",
      "modified": "2026-03-08 23:03:42",
      "commits": 8
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "regrake",
  "_universes": [
    "andytimm"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-14T09:07:30.000Z",
      "distro": "noble",
      "commit": "ba8be4d3546e09c87bf75626e2ef5ed2b578a76c",
      "fileid": "3db6dec0d2c33eb7c9162cce78089d7c02d6d5a7138ac0d8f15fd95e37565c0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/25851475905"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-14T09:07:30.000Z",
      "distro": "noble",
      "commit": "ba8be4d3546e09c87bf75626e2ef5ed2b578a76c",
      "fileid": "2fa0842fc03e25ab51858fca42bad6281b4269a59c20971da9405f3b0ac2567d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/25851475905"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-14T09:06:47.000Z",
      "commit": "ba8be4d3546e09c87bf75626e2ef5ed2b578a76c",
      "fileid": "fe5fd5962d202ee4f0a68275003ad2d390af949169ae907b339459e64217b697",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/25851475905"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-15T05:47:56.000Z",
      "commit": "ba8be4d3546e09c87bf75626e2ef5ed2b578a76c",
      "fileid": "c3617d31b56d31c48237a0af28e5038c938301d2d7faa79e7a9833b0d80dde1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/25851475905"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-14T09:06:21.000Z",
      "commit": "ba8be4d3546e09c87bf75626e2ef5ed2b578a76c",
      "fileid": "23d7279f865108970b7859bc462ff5ef3ea357670ef912958ef92266ae8c0c5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/25851475905"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-14T09:06:20.000Z",
      "commit": "ba8be4d3546e09c87bf75626e2ef5ed2b578a76c",
      "fileid": "df940697c6e12b0da972e26f0347a9f7494639c2936b667ce479f163640435fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/25851475905"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-14T09:06:13.000Z",
      "commit": "ba8be4d3546e09c87bf75626e2ef5ed2b578a76c",
      "fileid": "611fd1a1b08bdccd5abca77506d2c07784320be6e46bfaa7130f17afb85d2b77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/25851475905"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-22T08:39:08.000Z",
      "commit": "ba8be4d3546e09c87bf75626e2ef5ed2b578a76c",
      "fileid": "b802e67eea787a100b99c5a42170d29496a8f4a376f5b7ed0be7c75a2704fd6c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/andytimm/actions/runs/25851475905"
    }
  ]
}