{
  "_id": "6a100aefacfb0bcc41c7f932",
  "Package": "icarus",
  "Title": "Calibrates and Reweights Units in Samples",
  "Description": "Provides user-friendly tools for calibration in survey\nsampling. The package is production-oriented, and its interface\nis inspired by the famous popular macro 'Calmar' for SAS, so\nthat 'Calmar' users can quickly get used to 'icarus'. In\naddition to calibration (with linear, raking and logit\nmethods), 'icarus' features functions for calibration on tight\nbounds and penalized calibration.",
  "Version": "0.3.3",
  "Authors@R": "c(person(\"Antoine Rebecq\", role=c(\"aut\"), email = \"antoine.rebecq@m4x.org\", comment = \"Creator\"),\nperson(\"Khaled\", \"Larbi\", role =  \"cre\", email = \"khaled.larbi@insee.fr\"),\nperson(\"Institut national de la statistique et des études économiques\", role = \"cph\"))",
  "Maintainer": "Khaled Larbi <khaled.larbi@insee.fr>",
  "License": "GPL-3",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Encoding": "UTF-8",
  "Repository": "https://khaledlarbi.r-universe.dev",
  "Date/Publication": "2025-09-05 13:43:17 UTC",
  "RemoteUrl": "https://github.com/khaledlarbi/icarus",
  "RemoteRef": "HEAD",
  "RemoteSha": "bc46716d34482e1cb84e083593c3b7d8aa951770",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 07:48:11 UTC",
    "User": "root"
  },
  "Author": "Antoine Rebecq [aut] (Creator),\nKhaled Larbi [cre],\nInstitut national de la statistique et des études économiques [cph]",
  "MD5sum": "d53498a4d1ef2f8df5d051a1af04aa9b",
  "_user": "khaledlarbi",
  "_type": "src",
  "_file": "icarus_0.3.3.tar.gz",
  "_fileid": "63e6d05fe2995be7eb31d9e5ffd818b4daed9e6d12aa80b01a9e8e34a9f5be53",
  "_filesize": 3698455,
  "_sha256": "63e6d05fe2995be7eb31d9e5ffd818b4daed9e6d12aa80b01a9e8e34a9f5be53",
  "_created": "2026-05-22T07:48:11.000Z",
  "_published": "2026-05-22T07:51:11.798Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77338325568,
      "time": 104,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7155479892"
    },
    {
      "job": 77338325552,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155484508"
    },
    {
      "job": 77338325544,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7155481465"
    },
    {
      "job": 77338325543,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155486188"
    },
    {
      "job": 77337886394,
      "time": 187,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155449395"
    },
    {
      "job": 77338325515,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155477087"
    },
    {
      "job": 77338325536,
      "time": 75,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7155472045"
    },
    {
      "job": 77338325601,
      "time": 70,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7155470482"
    },
    {
      "job": 77338325564,
      "time": 66,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155469319"
    }
  ],
  "_buildurl": "https://github.com/r-universe/khaledlarbi/actions/runs/26275253190",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/khaledlarbi/icarus",
  "_commit": {
    "id": "bc46716d34482e1cb84e083593c3b7d8aa951770",
    "author": "Khaled <45902413+khaledlarbi@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #15 from InseeFr/InseeFr_transfer\n\nTransfert to inseefr",
    "time": 1757079797
  },
  "_maintainer": {
    "name": "Khaled Larbi",
    "email": "khaled.larbi@insee.fr",
    "login": "khaledlarbi",
    "description": "Just another statistician.",
    "uuid": 45902413
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.1",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "Rglpk",
      "role": "Suggests"
    },
    {
      "package": "slam",
      "role": "Suggests"
    },
    {
      "package": "xtable",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    }
  ],
  "_owner": "khaledlarbi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-36",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "haroine",
      "count": 120,
      "uuid": 4923033
    },
    {
      "user": "khaledlarbi",
      "count": 12,
      "uuid": 45902413
    }
  ],
  "_userbio": {
    "uuid": 45902413,
    "type": "user",
    "name": "Khaled",
    "description": "Just another statistician."
  },
  "_downloads": {
    "count": 1021,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/icarus"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/khaledlarbi/icarus",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/icarus.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/khaledlarbi/icarus",
  "_realowner": "khaledlarbi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2016-03-01"
    },
    {
      "version": "0.2.1",
      "date": "2016-04-18"
    },
    {
      "version": "0.2.2",
      "date": "2016-10-27"
    },
    {
      "version": "0.3.0",
      "date": "2017-03-04"
    },
    {
      "version": "0.3.1",
      "date": "2019-08-20"
    },
    {
      "version": "0.3.2",
      "date": "2023-05-27"
    },
    {
      "version": "0.3.3",
      "date": "2025-09-09"
    }
  ],
  "_exports": [
    "addMargin",
    "calibration",
    "calibrationMarginStats",
    "colToDummies",
    "HTmean",
    "HTtotal",
    "marginStats",
    "newMarginMatrix",
    "regroupCalibrationModalities",
    "regroupModalities",
    "weightedMean",
    "weightedTotal"
  ],
  "_datasets": [
    {
      "name": "calWeights_movies",
      "title": "Calibration weights for 'data_employees'",
      "object": "data_employees",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "wLinear",
        "wRaking",
        "wLogit"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_employees",
      "title": "A small example sample for calibration with Icarus",
      "object": "data_employees",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "service",
        "categ",
        "sexe",
        "salaire",
        "cinema",
        "poids",
        "movies",
        "weight",
        "category",
        "sex",
        "department",
        "salary"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "dataPop",
      "title": "Test population for Icarus.",
      "object": "population_test",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ident",
        "Y1",
        "X",
        "Y2",
        "Y3",
        "Y4",
        "Y11",
        "Y12",
        "Y13",
        "Y41",
        "Y42",
        "Y43",
        "weight",
        "simul_nr",
        "responding",
        "qTest"
      ],
      "rows": 50000,
      "table": true,
      "tojson": true
    },
    {
      "name": "poptest_calmar",
      "title": "Calibration on population test - made on Calmar2",
      "object": "population_test",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ident",
        "weight_cal_lin",
        "weight_cal_raking",
        "weight_cal_logit",
        "weight_cal_lin_2",
        "weight_cal_raking_2",
        "weight_cal_logit_2",
        "weight_cal_lin_qtest"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "poptest_calmar_nr",
      "title": "Calibration with nonresponse on population test - made on Calmar2",
      "object": "population_test",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ident",
        "weight_cal_lin",
        "weight_cal_raking",
        "weight_cal_logit",
        "weight_cal_lin_2",
        "weight_cal_raking_2",
        "weight_cal_logit_2",
        "weight_cal_raking_2_qtest"
      ],
      "rows": 718,
      "table": true,
      "tojson": true
    },
    {
      "name": "table_margins_1",
      "title": "Margins for calibration of test population",
      "object": "population_test",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "var",
        "n",
        "mar1",
        "mar2",
        "mar3",
        "mar4",
        "mar5"
      ],
      "rows": 11,
      "table": true,
      "tojson": true
    },
    {
      "name": "table_margins_2",
      "title": "Margins for calibration of test population",
      "object": "population_test",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "var",
        "n",
        "mar1",
        "mar2",
        "mar3",
        "mar4",
        "mar5"
      ],
      "rows": 11,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "addMargin",
      "title": "Adds a margin to marginMatrix",
      "topics": [
        "addMargin"
      ]
    },
    {
      "page": "calibration",
      "title": "Calibration on margins",
      "topics": [
        "calibration"
      ]
    },
    {
      "page": "calibrationMarginStats",
      "title": "Stats for initial weights, calibrated weights, and margins.",
      "topics": [
        "calibrationMarginStats"
      ]
    },
    {
      "page": "calWeights_movies",
      "title": "Calibration weights for 'data_employees'",
      "topics": [
        "calWeights_movies"
      ]
    },
    {
      "page": "colToDummies",
      "title": "Changes a column containing multiple values to a matrix of columns containing the dummies corresponding to each value.",
      "topics": [
        "colToDummies"
      ]
    },
    {
      "page": "data_employees",
      "title": "A small example sample for calibration with Icarus",
      "topics": [
        "data_employees"
      ]
    },
    {
      "page": "dataPop",
      "title": "Test population for Icarus.",
      "topics": [
        "dataPop"
      ]
    },
    {
      "page": "HTmean",
      "title": "Weighted estimator for the mean",
      "topics": [
        "HTmean"
      ]
    },
    {
      "page": "HTtotal",
      "title": "Weighted estimator for total",
      "topics": [
        "HTtotal"
      ]
    },
    {
      "page": "marginStats",
      "title": "Stats for initial weights, calibrated weights, and margins.",
      "topics": [
        "marginStats"
      ]
    },
    {
      "page": "newMarginMatrix",
      "title": "Create empty margin matrix",
      "topics": [
        "newMarginMatrix"
      ]
    },
    {
      "page": "poptest_calmar",
      "title": "Calibration on population test - made on Calmar2",
      "topics": [
        "poptest_calmar"
      ]
    },
    {
      "page": "poptest_calmar_nr",
      "title": "Calibration with nonresponse on population test - made on Calmar2",
      "topics": [
        "poptest_calmar_nr"
      ]
    },
    {
      "page": "regroupCalibrationModalities",
      "title": "Regroup calibration modalities",
      "topics": [
        "regroupCalibrationModalities"
      ]
    },
    {
      "page": "regroupModalities",
      "title": "Regroup elements of a vector",
      "topics": [
        "regroupModalities"
      ]
    },
    {
      "page": "table_margins_1",
      "title": "Margins for calibration of test population",
      "topics": [
        "table_margins_1"
      ]
    },
    {
      "page": "table_margins_2",
      "title": "Margins for calibration of test population",
      "topics": [
        "table_margins_2"
      ]
    },
    {
      "page": "weightedMean",
      "title": "Weighted estimator for the mean",
      "topics": [
        "weightedMean"
      ]
    },
    {
      "page": "weightedTotal",
      "title": "Weighted estimator for total",
      "topics": [
        "weightedTotal"
      ]
    }
  ],
  "_readme": "https://github.com/khaledlarbi/icarus/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 2.707995746422929,
  "_indexed": true,
  "_nocasepkg": "icarus",
  "_universes": [
    "khaledlarbi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-05-22T07:49:59.000Z",
      "distro": "noble",
      "commit": "bc46716d34482e1cb84e083593c3b7d8aa951770",
      "fileid": "1a99ebca3caa0cf49c0903503eda63144a267dba48dbb7e125a69d2373c40258",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khaledlarbi/actions/runs/26275253190"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-05-22T07:50:15.000Z",
      "distro": "noble",
      "commit": "bc46716d34482e1cb84e083593c3b7d8aa951770",
      "fileid": "2e68e46e82c5dc5f52eece3fb27d0cd4e27e81100b2e6f0b451101e0094c7afa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khaledlarbi/actions/runs/26275253190"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-22T07:50:11.000Z",
      "commit": "bc46716d34482e1cb84e083593c3b7d8aa951770",
      "fileid": "11ca50bb2ad2899c80e8d0d44113a1a7f2afaa4d19db007978e834fc1f8da164",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khaledlarbi/actions/runs/26275253190"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-22T07:50:25.000Z",
      "commit": "bc46716d34482e1cb84e083593c3b7d8aa951770",
      "fileid": "a37246a8faec78f1e4efb1c85d8cd0c9829e9dfc754e7453e12c6f824da2585b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khaledlarbi/actions/runs/26275253190"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-05-22T07:50:03.000Z",
      "commit": "bc46716d34482e1cb84e083593c3b7d8aa951770",
      "fileid": "44e9bc8058f8e89e8f2b93d29304efe07d86e1d14db6f2378fa524cd5b1b448a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/khaledlarbi/actions/runs/26275253190"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-22T07:49:28.000Z",
      "commit": "bc46716d34482e1cb84e083593c3b7d8aa951770",
      "fileid": "b907015560d4b6594a6865a1abad2ce7dce582a0e88f86ec0a5eb91e089bf6b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khaledlarbi/actions/runs/26275253190"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-22T07:49:23.000Z",
      "commit": "bc46716d34482e1cb84e083593c3b7d8aa951770",
      "fileid": "90549822fd77fbe081491190aeaae3f28a54ec95e910bda7e613d31407b62432",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khaledlarbi/actions/runs/26275253190"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-22T07:49:18.000Z",
      "commit": "bc46716d34482e1cb84e083593c3b7d8aa951770",
      "fileid": "e1fc3362d0313dd5009263350855f4357d00c08ea0a363158bf8eb8026287839",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khaledlarbi/actions/runs/26275253190"
    }
  ]
}