{
  "_id": "6a478dc36527f6f71fa0ec67",
  "Type": "Package",
  "Package": "mlfit",
  "Title": "Iterative Proportional Fitting Algorithms for Nested Structures",
  "Version": "0.6.1.9029",
  "Date": "2026-07-02",
  "Authors@R": "c(\nperson(\ngiven = \"Kirill\",\nfamily = \"Müller\",\nrole = c(\"aut\", \"cph\"),\ncomment = \"Creator of the package\"\n),\nperson(\ngiven = \"Kay W.\",\nfamily = \"Axhausen\",\nrole = \"ths\",\ncomment = \"Advisor of Kirill Müller\"\n),\nperson(\ngiven = \"Amarin\",\nfamily = \"Siripanich\",\nrole = c(\"aut\", \"cre\"),\nemail = \"amarin.siri@gmail.com\",\ncomment = \"Contributed `ml_replicate()`\"\n),\nperson(\ngiven = \"Taha H.\",\nfamily = \"Rashidi\",\nrole = \"ths\",\ncomment = \"Advisor of Amarin Siripanich\"\n)\n)",
  "Description": "The Iterative Proportional Fitting (IPF) algorithm\noperates on count data. This package offers implementations for\nseveral algorithms that extend this to nested structures:\n'parent' and 'child' items for both of which constraints can be\nprovided. The fitting algorithms include Iterative Proportional\nUpdating <https://trid.trb.org/view/881554>, Hierarchical IPF\n<doi:10.3929/ethz-a-006620748>, Entropy Optimization\n<https://trid.trb.org/view/881144>, and Generalized Raking\n<doi:10.2307/2290793>. Additionally, a number of replication\nmethods is also provided such as 'Truncate, replicate, sample'\n<doi:10.1016/j.compenvurbsys.2013.03.004>.",
  "License": "GPL (>= 3)",
  "URL": "https://mlfit.github.io/mlfit/, https://github.com/mlfit/mlfit",
  "BugReports": "https://github.com/mlfit/mlfit/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0.9000",
  "Repository": "https://mlfit.r-universe.dev",
  "Date/Publication": "2026-07-02 04:40:32 UTC",
  "RemoteUrl": "https://github.com/mlfit/mlfit",
  "RemoteRef": "HEAD",
  "RemoteSha": "eea7312947e9eb0ee64a44dd1fed53c22d2b1d71",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-02 06:47:02 UTC",
    "User": "root"
  },
  "Author": "Kirill Müller [aut, cph] (Creator of the package),\nKay W. Axhausen [ths] (Advisor of Kirill Müller),\nAmarin Siripanich [aut, cre] (Contributed `ml_replicate()`),\nTaha H. Rashidi [ths] (Advisor of Amarin Siripanich)",
  "Maintainer": "Amarin Siripanich <amarin.siri@gmail.com>",
  "_user": "mlfit",
  "_type": "src",
  "_file": "mlfit_0.6.1.9029.tar.gz",
  "_fileid": "https://r2.ropensci.org/5083a817ee546ba7a77de4c62eb9233d92852dad3f4b1abb8fc63b3d04042b6d",
  "_filesize": 285295,
  "_sha256": "5083a817ee546ba7a77de4c62eb9233d92852dad3f4b1abb8fc63b3d04042b6d",
  "_expires": "2026-10-11T10:24:02.000Z",
  "_created": "2026-07-02T06:47:02.000Z",
  "_published": "2026-07-03T10:24:03.373Z",
  "_jobs": [
    {
      "job": 84979983812,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8031025251"
    },
    {
      "job": 84979983890,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8031024010"
    },
    {
      "job": 84979983762,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8031153281"
    },
    {
      "job": 84979983783,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8031164038"
    },
    {
      "job": 84979983325,
      "time": 156,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8030976268"
    },
    {
      "job": 84979983945,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8031017802"
    },
    {
      "job": 84979983581,
      "time": 107,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8031008773"
    },
    {
      "job": 84979983867,
      "time": 109,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8031009830"
    },
    {
      "job": 84979983918,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8031009649"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mlfit/actions/runs/28570926806",
  "_status": "success",
  "_upstream": "https://github.com/mlfit/mlfit",
  "_commit": {
    "id": "eea7312947e9eb0ee64a44dd1fed53c22d2b1d71",
    "author": "krlmlr <krlmlr@users.noreply.github.com>",
    "committer": "krlmlr <krlmlr@users.noreply.github.com>",
    "message": "fledge: Bump version to 0.6.1.9029\n",
    "time": 1782967232
  },
  "_maintainer": {
    "name": "Amarin Siripanich",
    "email": "amarin.siri@gmail.com",
    "login": "asiripanich",
    "description": "",
    "uuid": 17020181
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "BB",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "hms",
      "role": "Imports"
    },
    {
      "package": "kimisc",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "wrswoR",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "sampling",
      "role": "Suggests"
    },
    {
      "package": "waldo",
      "role": "Suggests"
    }
  ],
  "_owner": "mlfit",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 2
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 4
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 4
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-12",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 11
    },
    {
      "week": "2026-20",
      "n": 8
    },
    {
      "week": "2026-21",
      "n": 2
    },
    {
      "week": "2026-27",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.6.1.9016",
      "date": "2025-11-10"
    },
    {
      "name": "v0.6.1.9017",
      "date": "2025-11-12"
    },
    {
      "name": "v0.6.1.9018",
      "date": "2025-11-17"
    },
    {
      "name": "v0.6.1.9019",
      "date": "2026-01-14"
    },
    {
      "name": "v0.6.1.9020",
      "date": "2026-03-08"
    },
    {
      "name": "v0.6.1.9021",
      "date": "2026-03-22"
    },
    {
      "name": "v0.6.1.9022",
      "date": "2026-05-04"
    },
    {
      "name": "v0.6.1.9023",
      "date": "2026-05-06"
    },
    {
      "name": "v0.6.1.9024",
      "date": "2026-05-10"
    },
    {
      "name": "v0.6.1.9025",
      "date": "2026-05-10"
    },
    {
      "name": "v0.6.1.9026",
      "date": "2026-05-13"
    },
    {
      "name": "v0.6.1.9027",
      "date": "2026-05-16"
    },
    {
      "name": "v0.6.1.9028",
      "date": "2026-05-24"
    },
    {
      "name": "v0.6.1.9029",
      "date": "2026-07-02"
    }
  ],
  "_stars": 14,
  "_contributors": [
    {
      "user": "krlmlr",
      "count": 286,
      "uuid": 1741643
    },
    {
      "user": "asiripanich",
      "count": 154,
      "uuid": 17020181
    },
    {
      "user": "indrajeetpatil",
      "count": 8,
      "uuid": 11330453
    }
  ],
  "_userbio": {
    "uuid": 84219224,
    "type": "organization",
    "name": "mlfit",
    "followers": 1
  },
  "_downloads": {
    "count": 313,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mlfit"
  },
  "_devurl": "https://github.com/mlfit/mlfit",
  "_pkgdown": "https://mlfit.github.io/mlfit/",
  "_searchresults": 20,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mlfit.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mlfit/mlfit",
  "_realowner": "mlfit",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.2",
      "date": "2021-07-02"
    },
    {
      "version": "0.5.3",
      "date": "2021-10-08"
    }
  ],
  "_exports": [
    "as_flat_ml_fit_problem",
    "compute_margins",
    "dss",
    "fitting_problem",
    "flatten_ml_fit_problem",
    "gginv",
    "is_ml_fit",
    "is_ml_problem",
    "margin_to_df",
    "ml_fit",
    "ml_fit_dss",
    "ml_fit_entropy_o",
    "ml_fit_hipf",
    "ml_fit_ipu",
    "ml_problem",
    "ml_replicate",
    "special_field_names",
    "toy_example"
  ],
  "_help": [
    {
      "page": "mlfit-package",
      "title": "mlfit: Iterative Proportional Fitting Algorithms for Nested Structures",
      "topics": [
        "mlfit-package",
        "mlfit"
      ]
    },
    {
      "page": "compute_margins",
      "title": "Compute margins for a weighting of a multi-level fitting problem",
      "topics": [
        "compute_margins",
        "margin_to_df"
      ]
    },
    {
      "page": "dss",
      "title": "Calibrate sample weights",
      "topics": [
        "dss"
      ]
    },
    {
      "page": "flatten_ml_fit_problem",
      "title": "Return a flattened representation of a multi-level fitting problem instance",
      "topics": [
        "as_flat_ml_fit_problem",
        "flatten_ml_fit_problem"
      ]
    },
    {
      "page": "gginv",
      "title": "Generalized Inverse of a Matrix using a custom tolerance or SVD implementation",
      "topics": [
        "gginv"
      ]
    },
    {
      "page": "ml_fit",
      "title": "Estimate weights for a fitting problem",
      "topics": [
        "format.ml_fit",
        "is_ml_fit",
        "ml_fit",
        "ml_fit_dss",
        "ml_fit_entropy_o",
        "ml_fit_hipf",
        "ml_fit_ipu",
        "print.ml_fit"
      ]
    },
    {
      "page": "ml_problem",
      "title": "Create an instance of a fitting problem",
      "topics": [
        "format.ml_problem",
        "is_ml_problem",
        "ml_problem",
        "print.ml_problem",
        "special_field_names"
      ]
    },
    {
      "page": "ml_replicate",
      "title": "Replicate records in a reference sample based on its fitted weights",
      "topics": [
        "ml_replicate"
      ]
    },
    {
      "page": "toy_example",
      "title": "Access to toy examples bundled in this package",
      "topics": [
        "toy_example"
      ]
    }
  ],
  "_readme": "https://github.com/mlfit/mlfit/raw/HEAD/README.md",
  "_rundeps": [
    "BB",
    "cachem",
    "cli",
    "dplyr",
    "fastmap",
    "forcats",
    "generics",
    "glue",
    "hms",
    "kimisc",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "memoise",
    "pillar",
    "pkgconfig",
    "plyr",
    "quadprog",
    "R6",
    "Rcpp",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "wrswoR"
  ],
  "_score": 5.593286067020458,
  "_indexed": true,
  "_nocasepkg": "mlfit",
  "_universes": [
    "mlfit",
    "asiripanich"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.1.9029",
      "date": "2026-07-02T06:49:14.000Z",
      "distro": "resolute",
      "commit": "eea7312947e9eb0ee64a44dd1fed53c22d2b1d71",
      "fileid": "https://r2.ropensci.org/95f258c03a6246f0540ff8bb4784cc466601dc312c1762651337c654a6362661",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/28570926806"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.1.9029",
      "date": "2026-07-02T06:49:09.000Z",
      "distro": "resolute",
      "commit": "eea7312947e9eb0ee64a44dd1fed53c22d2b1d71",
      "fileid": "https://r2.ropensci.org/e8bc6048288de20af7b87024e34aed0e27af163606eb65fd4aca9fc2a86b3670",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/28570926806"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.1.9029",
      "date": "2026-07-02T06:56:33.000Z",
      "commit": "eea7312947e9eb0ee64a44dd1fed53c22d2b1d71",
      "fileid": "https://r2.ropensci.org/31bbbd41a3af2c1648ffb8c0b6399027a6c97800aad40cce034a60f91348ebff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/28570926806"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.1.9029",
      "date": "2026-07-02T06:57:13.000Z",
      "commit": "eea7312947e9eb0ee64a44dd1fed53c22d2b1d71",
      "fileid": "https://r2.ropensci.org/d71e147b3a908a5cf82de4e7be1eaa94ec7809cc44691eefe1fa8205b4bcbb15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/28570926806"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.1.9029",
      "date": "2026-07-02T06:49:37.000Z",
      "commit": "eea7312947e9eb0ee64a44dd1fed53c22d2b1d71",
      "fileid": "https://r2.ropensci.org/01cd81bc49349bdc09748e5a9b7042c7b242ff6ba5bf991e18e12532f3675bbb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/28570926806"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.1.9029",
      "date": "2026-07-02T06:48:11.000Z",
      "commit": "eea7312947e9eb0ee64a44dd1fed53c22d2b1d71",
      "fileid": "https://r2.ropensci.org/3c1c23764f879df7b59cdaad4e7ba25fdd691db399687fbf608eff21bf599f2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/28570926806"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.1.9029",
      "date": "2026-07-02T06:48:11.000Z",
      "commit": "eea7312947e9eb0ee64a44dd1fed53c22d2b1d71",
      "fileid": "https://r2.ropensci.org/1838afb7acbe9d634ae099a5a877efb84082da22d496efd395049e8db6b7f1df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/28570926806"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.1.9029",
      "date": "2026-07-02T06:48:09.000Z",
      "commit": "eea7312947e9eb0ee64a44dd1fed53c22d2b1d71",
      "fileid": "https://r2.ropensci.org/68d388031befe2813aa5c94be703e08f62cde1e3904882a0a550165a90adb368",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/28570926806"
    }
  ]
}