{
  "_id": "6a4823aee06c18f0a652e038",
  "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-07-03 21:00:08 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>",
  "_user": "swissstatsr",
  "_type": "src",
  "_file": "chensus_2.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/0c944aad14db06f226fc2bc2a73c5c56ad447ef2d4ef5c5f755efe7417c981b2",
  "_filesize": 453824,
  "_sha256": "0c944aad14db06f226fc2bc2a73c5c56ad447ef2d4ef5c5f755efe7417c981b2",
  "_expires": "2026-10-11T21:03:40.000Z",
  "_created": "2026-07-03T21:00:08.000Z",
  "_published": "2026-07-03T21:03:42.591Z",
  "_jobs": [
    {
      "job": 85070669240,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8074724595"
    },
    {
      "job": 85070669226,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8074730726"
    },
    {
      "job": 85070669269,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8074718623"
    },
    {
      "job": 85070669232,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8074719669"
    },
    {
      "job": 85070361332,
      "time": 183,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8074696327"
    },
    {
      "job": 85070669239,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8074721844"
    },
    {
      "job": 85070669256,
      "time": 91,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8074714484"
    },
    {
      "job": 85070669261,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8074715848"
    },
    {
      "job": 85070669267,
      "time": 104,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8074716902"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/28683054547",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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-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",
    "followers": 16,
    "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.1",
  "_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.176091259055681,
  "_indexed": false,
  "_nocasepkg": "chensus",
  "_universes": [
    "swissstatsr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-07-03T21:02:21.000Z",
      "distro": "resolute",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "https://r2.ropensci.org/50cab08b78505620d3be544e22a8af328f130a1ef04dc5993e48fb0059c2487e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/28683054547"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-07-03T21:02:50.000Z",
      "distro": "resolute",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "https://r2.ropensci.org/7a807abc55e9f7c25bd051426f3bb55be6c1c5c45f30160efb0e53f9661580da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/28683054547"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-07-03T21:01:51.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "https://r2.ropensci.org/a013817b5b28dac27a579628454d3b4ee6235494e8c80af09caee07146b696d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/28683054547"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-07-03T21:01:59.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "https://r2.ropensci.org/086398497af80401ad89a26535d3b40ef2f0465e37f0acc6480a274818d72934",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/28683054547"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0",
      "date": "2026-07-03T21:02:34.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "https://r2.ropensci.org/17e38afd23e343cb1123a84b06abab45a1c0429cb8003542dffb0d09016d04b5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/28683054547"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-07-03T21:01:19.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "https://r2.ropensci.org/bd13ba1a38a26411b414f6e27efef2f77295ca9f7d923cafae62c439b3f00aa9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/28683054547"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-07-03T21:01:26.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "https://r2.ropensci.org/c6e24d5d0632c6e4def1d377316ef753a1b0e14cdb959a118a1c91e521fb7d13",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/28683054547"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-07-03T21:01:31.000Z",
      "commit": "468ab0e0008276895bdcd0ff0d476d1a732c1f50",
      "fileid": "https://r2.ropensci.org/bb4f08a2ec66472898233b84d35a2e6f185a9476698d25dfd9a806668edd7fa8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissstatsr/actions/runs/28683054547"
    }
  ]
}