{
  "_id": "6a197bcaacfb0bcc41df603a",
  "Type": "Package",
  "Package": "chensus",
  "Title": "Estimate Totals, Means, Proportions and Confidence Intervals of\nthe Swiss Federal Statistic Office's Surveys",
  "Version": "2.1.0",
  "Authors@R": "c(\nperson(\"Souad\", \"Guemghar\", , \"souad.guemghar@bl.ch\", role = c(\"aut\", \"cre\")),\nperson(\"Amt für Daten und Statistik, Basel-Landschaft\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Estimates population totals, means, proportions and\nconfidence intervals from the Federal Statistic Office's (FSO)\nstructural and mobility surveys. Give it data from\n\"Strukturerhebung\" / \"relevé structurel\" or from \"Mikrozensus\nfür Mobilität und Verkehr\" / \"Microrecensement mobilité et\ntransports\", and obtain estimates of totals, means, proportions\nand confidence intervals.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/afds-bl/chensus",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://swissstatsr.r-universe.dev",
  "Date/Publication": "2025-09-01 13:23:51 UTC",
  "RemoteUrl": "https://github.com/afds-bl/chensus",
  "RemoteRef": "HEAD",
  "RemoteSha": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-29 10:28:31 UTC",
    "User": "root"
  },
  "Author": "Souad Guemghar [aut, cre],\nAmt für Daten und Statistik, Basel-Landschaft [cph, fnd]",
  "Maintainer": "Souad Guemghar <souad.guemghar@bl.ch>",
  "MD5sum": "45e806ff2dd05e150935eb209f8bf108",
  "_user": "swissstatsr",
  "_type": "src",
  "_file": "chensus_2.1.0.tar.gz",
  "_fileid": "2b4973e55336f2079a792125472065d8d093851d62fd16355f024916c1b300d9",
  "_filesize": 451313,
  "_sha256": "2b4973e55336f2079a792125472065d8d093851d62fd16355f024916c1b300d9",
  "_created": "2026-05-29T10:28:31.000Z",
  "_published": "2026-05-29T11:43:06.093Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78483427958,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7288622461"
    },
    {
      "job": 78483427990,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288621754"
    },
    {
      "job": 78483427972,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7289803388"
    },
    {
      "job": 78483427995,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289835019"
    },
    {
      "job": 78483017785,
      "time": 170,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288580539"
    },
    {
      "job": 78483427966,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288616253"
    },
    {
      "job": 78483427976,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7288609215"
    },
    {
      "job": 78483427981,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7288609086"
    },
    {
      "job": 78483427998,
      "time": 119,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288616351"
    }
  ],
  "_buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/26632019462",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/afds-bl/chensus",
  "_commit": {
    "id": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
    "author": "Guemghar, Souad FKD <souad.guemghar@bl.ch>",
    "committer": "Guemghar, Souad FKD <souad.guemghar@bl.ch>",
    "message": "Save logo as eps\n",
    "time": 1756733031
  },
  "_maintainer": {
    "name": "Souad Guemghar",
    "email": "souad.guemghar@bl.ch",
    "login": "souadg",
    "description": "",
    "uuid": 74303561
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "fastDummies",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "afds-bl",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 28
    },
    {
      "week": "2025-24",
      "n": 9
    },
    {
      "week": "2025-25",
      "n": 48
    },
    {
      "week": "2025-26",
      "n": 24
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "census",
    "confidence-intervals",
    "official-statistics",
    "public-administration",
    "public-data",
    "survey-analysis",
    "switzerland"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "souadg",
      "count": 332,
      "uuid": 74303561
    },
    {
      "user": "lgnbhl",
      "count": 1,
      "uuid": 29467632
    }
  ],
  "_userbio": {
    "uuid": 156070198,
    "type": "organization",
    "name": "Swiss Stats R",
    "description": "Swiss Stats R"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chensus"
  },
  "_devurl": "https://github.com/afds-bl/chensus",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/chensus.html",
    "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",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "fso_flag_mask",
    "mzmv_estimate_mean",
    "mzmv_estimate_mean_map",
    "mzmv_mean",
    "mzmv_mean_map",
    "se_combn",
    "se_dummy",
    "se_estimate_mean",
    "se_estimate_total",
    "se_mean",
    "se_mean_ogd",
    "se_prop",
    "se_prop_ogd",
    "se_summarise",
    "se_total",
    "se_total_map",
    "se_total_ogd",
    "se_total_prop",
    "se_total_prop_ogd"
  ],
  "_datasets": [
    {
      "name": "nhanes",
      "title": "National Health and Nutrition Examination Survey (NHANES)",
      "object": "nhanes",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "PSU",
        "weights",
        "strata",
        "gender",
        "age",
        "birth_country",
        "marital_status",
        "interview_lang",
        "edu_level",
        "household_size",
        "family_size",
        "annual_household_income",
        "annual_family_income"
      ],
      "rows": 9971,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "fso_flag_mask",
      "title": "Classify Estimate Reliability and Apply Confidentiality Masking",
      "topics": [
        "fso_flag_mask"
      ]
    },
    {
      "page": "mzmv_mean",
      "title": "Estimate Means of Mobility Survey",
      "topics": [
        "mzmv_mean"
      ]
    },
    {
      "page": "mzmv_mean_map",
      "title": "Estimate Means in Parallel for Multiple Grouping Variables in Mobility Survey",
      "topics": [
        "mzmv_mean_map"
      ]
    },
    {
      "page": "nhanes",
      "title": "National Health and Nutrition Examination Survey (NHANES)",
      "topics": [
        "nhanes"
      ]
    },
    {
      "page": "se_mean",
      "title": "Estimate Means of Numeric Variables in Structural Survey",
      "topics": [
        "se_mean"
      ]
    },
    {
      "page": "se_mean_ogd",
      "title": "Estimate Means for All Combinations of Grouping Variables (OGD Format) in Structural Survey",
      "topics": [
        "se_mean_ogd"
      ]
    },
    {
      "page": "se_ogd_wrapper",
      "title": "OGD Wrapper for Structural Survey Estimation Functions",
      "topics": [
        "se_ogd_wrapper"
      ]
    },
    {
      "page": "se_prop",
      "title": "Estimate Proportions of Categorical Variables in Structural Survey",
      "topics": [
        "se_prop"
      ]
    },
    {
      "page": "se_prop_ogd",
      "title": "Estimate Proportions for All Combinations of Grouping Variables (OGD Format) in Structural Survey",
      "topics": [
        "se_prop_ogd"
      ]
    },
    {
      "page": "se_total",
      "title": "Estimate Totals of Structural Survey",
      "topics": [
        "se_total"
      ]
    },
    {
      "page": "se_total_map",
      "title": "Estimate Totals in Parallel for Multiple Grouping Variables in Structural Survey",
      "topics": [
        "se_total_map"
      ]
    },
    {
      "page": "se_total_ogd",
      "title": "Estimate Totals for All Combinations of Grouping Variables (OGD Format) in Structural Survey",
      "topics": [
        "se_total_ogd"
      ]
    },
    {
      "page": "se_total_prop",
      "title": "Create a Table with Total and Proportion Estimates for Categorical Variables in Structural Survey",
      "topics": [
        "se_total_prop"
      ]
    },
    {
      "page": "se_total_prop_ogd",
      "title": "Estimate Totals and Proportions for All Combinations of Grouping Variables (OGD Format) in Structural Survey",
      "topics": [
        "se_total_prop_ogd"
      ]
    }
  ],
  "_pkglogo": "https://github.com/afds-bl/chensus/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/afds-bl/chensus/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "data.table",
    "dplyr",
    "fastDummies",
    "forcats",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "chensus.Rmd",
      "filename": "chensus.html",
      "title": "chensus",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Structural Survey",
        "Total Estimates",
        "Proportion Estimates",
        "Mean Estimates",
        "Mobility Survey",
        "Flagging Estimate Reliability"
      ],
      "created": "2025-05-23 15:24:45",
      "modified": "2025-06-26 16:18:39",
      "commits": 16
    },
    {
      "source": "Method.Rmd",
      "filename": "Method.html",
      "title": "Mathematical Method",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Structural survey",
        "Population Estimator",
        "Variance Estimator",
        "Simplification of Variance Estimates",
        "Total of Categorical Variable",
        "Mean of a Continuous Variable",
        "Mobility and Transport Survey",
        "Means",
        "Proportions",
        "Confidence Interval - Definition"
      ],
      "created": "2025-05-23 12:46:12",
      "modified": "2025-07-14 10:06:17",
      "commits": 12
    },
    {
      "source": "nhanes.Rmd",
      "filename": "nhanes.html",
      "title": "NHANES Survey Data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data Preparation",
        "Data Structure",
        "Example Usage",
        "Best Practices and References",
        "Further Information"
      ],
      "created": "2025-06-17 07:59:08",
      "modified": "2025-06-26 16:18:39",
      "commits": 4
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": false,
  "_nocasepkg": "chensus",
  "_universes": [
    "swissstatsr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-05-29T10:30:40.000Z",
      "distro": "noble",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "a23e990e4a2ac8f43e1a2b23ec76a33baf78dd1ed96906f2b96e71c1d40df138",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/26632019462"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-05-29T10:30:39.000Z",
      "distro": "noble",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "241b4b14ab48a3648ab30efad1d2caed1e07bd614e9ec7645f89979b40d64668",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/26632019462"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-05-29T11:40:29.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "50587ab1ea98e75b43119224776bcbe1ae0d63d0f411a5395ed1d8c2cfb9249c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/26632019462"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-05-29T11:42:13.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "0b295013c85981e49694bf239c4277ac870ad5c900a571170739232dfce069df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/26632019462"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0",
      "date": "2026-05-29T10:30:46.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "e34317f2d68b876a9bbbf7b240dd89a1c6d7803517eda63272f17bac0c9b2c53",
      "status": "success",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/26632019462"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-05-29T10:29:47.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "c47a0af7db63db2aa92ceb34ceae9dba1db6581eb31be61110cca544fd308ed8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/26632019462"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-05-29T10:29:45.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "8b6ff9598b277132991f127d3d3fb75f961868ea97bf5306af0d3cc4bee38931",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/26632019462"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-05-29T10:30:19.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "7fb515abb9aa3b21c1d601ecf656af5abec3071d86108a727ec883346d354d7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/26632019462"
    }
  ]
}