{
  "_id": "6a2841cd732311cd875824c7",
  "Package": "chmsflow",
  "Type": "Package",
  "Title": "Transforming and Harmonizing CHMS Variables",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Rafidul\", \"Islam\", email = \"raislam@ohri.ca\", role = c(\"aut\", \"cre\", \"cph\"), comment = c(ORCID = \"0009-0008-3072-5623\")),\nperson(\"Douglas\", \"Manuel\", email = \"dmanuel@ohri.ca\", role = c(\"aut\", \"cph\"), comment = c(ORCID = \"0000-0003-0912-0845\")),\nperson(\"Therese\", \"Chan\", email = \"TChan@bruyere.org\", role = c(\"ctb\"), comment = c(ORCID = \"0009-0002-2291-7218\")),\nperson(\"The Ottawa Hospital Research Institute\", role = c(\"cph\")))",
  "Description": "Harmonizes variables from the Canadian Health Measures\nSurvey (CHMS) across cycles 1-6 (2007-2019), producing\nconsistent, analysis-ready variables for use with CHMS data.\nRecoding is data-driven through metadata tables and applied\nwith recodeflow::rec_with_table() from the 'recodeflow'\npackage. The recoding approach builds on sjmisc::rec() from the\n'sjmisc' package (Ludecke 2018) <doi:10.21105/joss.00754>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/Big-Life-Lab/chmsflow,\nhttps://big-life-lab.github.io/chmsflow/",
  "BugReports": "https://github.com/Big-Life-Lab/chmsflow/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "quarto",
  "Config/build/clean-inst-doc": "FALSE",
  "LazyData": "true",
  "Repository": "https://big-life-lab.r-universe.dev",
  "Date/Publication": "2026-06-09 15:30:08 UTC",
  "RemoteUrl": "https://github.com/big-life-lab/chmsflow",
  "RemoteRef": "HEAD",
  "RemoteSha": "55550b80885b223e70ee618b02731f5a98b3d548",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 16:35:22 UTC",
    "User": "root"
  },
  "Author": "Rafidul Islam [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0008-3072-5623>),\nDouglas Manuel [aut, cph] (ORCID:\n<https://orcid.org/0000-0003-0912-0845>),\nTherese Chan [ctb] (ORCID: <https://orcid.org/0009-0002-2291-7218>),\nThe Ottawa Hospital Research Institute [cph]",
  "Maintainer": "Rafidul Islam <raislam@ohri.ca>",
  "MD5sum": "29e771ff379605fd2b70e4123722ecf5",
  "_user": "big-life-lab",
  "_type": "src",
  "_file": "chmsflow_0.1.0.tar.gz",
  "_fileid": "d5daca735213b34ece4d77905793a0a7670d909569b65a58ed264dca1289cf11",
  "_filesize": 3205824,
  "_sha256": "d5daca735213b34ece4d77905793a0a7670d909569b65a58ed264dca1289cf11",
  "_created": "2026-06-09T16:35:22.000Z",
  "_published": "2026-06-09T16:39:41.804Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80375435311,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7514055261"
    },
    {
      "job": 80375435059,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7514052501"
    },
    {
      "job": 80375435294,
      "time": 198,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7514081587"
    },
    {
      "job": 80375435000,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7514065535"
    },
    {
      "job": 80374731786,
      "time": 209,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7514000511"
    },
    {
      "job": 80375434985,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7514050233"
    },
    {
      "job": 80375434988,
      "time": 127,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7514052998"
    },
    {
      "job": 80375434996,
      "time": 218,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7514089347"
    },
    {
      "job": 80375435017,
      "time": 149,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7514061452"
    }
  ],
  "_buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/27220767477",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/big-life-lab/chmsflow",
  "_commit": {
    "id": "55550b80885b223e70ee618b02731f5a98b3d548",
    "author": "Rafidul Islam <raislam@ohri.ca>",
    "committer": "Rafidul Islam <raislam@ohri.ca>",
    "message": "Announced CRAN release date on NEWS.md and deleted cran-comments.md\n",
    "time": 1781019008
  },
  "_maintainer": {
    "name": "Rafidul Islam",
    "email": "raislam@ohri.ca",
    "login": "rafdoodle",
    "description": "",
    "uuid": 134554829
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "recodeflow",
      "role": "Imports"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "big-life-lab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 10
    },
    {
      "week": "2025-32",
      "n": 2
    },
    {
      "week": "2025-38",
      "n": 12
    },
    {
      "week": "2025-39",
      "n": 3
    },
    {
      "week": "2026-21",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-05-22"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "rafdoodle",
      "count": 111,
      "uuid": 134554829
    },
    {
      "user": "dougmanuel",
      "count": 15,
      "uuid": 13246138
    }
  ],
  "_userbio": {
    "uuid": 43787310,
    "type": "organization",
    "name": "Big Life Lab",
    "description": "https://projectbiglife.ca"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chmsflow"
  },
  "_devurl": "https://github.com/big-life-lab/chmsflow",
  "_pkgdown": "https://big-life-lab.github.io/chmsflow/",
  "_searchresults": 8,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/chmsflow.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"
  ],
  "_homeurl": "https://github.com/big-life-lab/chmsflow",
  "_realowner": "big-life-lab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-06-08"
    }
  ],
  "_exports": [
    "adjust_dbp",
    "adjust_sbp",
    "aggregate_meds_by_person",
    "calculate_exercise_daily_avg",
    "calculate_exercise_weekly",
    "calculate_fv_daily_cycles1to2",
    "calculate_fv_daily_cycles3to6",
    "calculate_gfr",
    "calculate_household_income",
    "calculate_nonhdl",
    "calculate_pack_years",
    "calculate_waist_height_ratio",
    "categorize_ckd",
    "categorize_diet_quality",
    "categorize_exercise",
    "categorize_income_quintile",
    "categorize_nonhdl",
    "derive_alcohol_risk",
    "derive_alcohol_risk_detailed",
    "derive_cvd_family_history",
    "derive_cvd_personal_history",
    "derive_diabetes_status",
    "derive_hypertension",
    "derive_hypertension_adj",
    "derive_hypertension_control",
    "derive_hypertension_control_adj",
    "is_ace_inhibitor",
    "is_ace_med_cycles1to2",
    "is_any_antihtn_med",
    "is_any_htn_med_cycles1to2",
    "is_bb_med_cycles1to2",
    "is_beta_blocker",
    "is_calcium_channel_blocker",
    "is_ccb_med_cycles1to2",
    "is_diab_med_cycles1to2",
    "is_diabetes_med",
    "is_diur_med_cycles1to2",
    "is_diuretic",
    "is_lowest_income_quintile",
    "is_misc_htn_med_cycles1to2",
    "is_nsaid",
    "is_nsaid_med_cycles1to2",
    "is_other_antihtn_med",
    "recode_after_meds",
    "recode_meds_cycles1to2",
    "recode_meds_cycles3to6"
  ],
  "_datasets": [
    {
      "name": "cycle1",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 1",
      "object": "cycle1",
      "class": [
        "data.frame"
      ],
      "fields": [
        "clinicid",
        "alc_11",
        "alc_17",
        "alc_18",
        "alcdwky",
        "amsdmva1",
        "amsdmva2",
        "amsdmva3",
        "amsdmva4",
        "amsdmva5",
        "amsdmva6",
        "amsdmva7",
        "bir_14",
        "bpmdpbpd",
        "bpmdpbps",
        "ccc_32",
        "ccc_51",
        "ccc_61",
        "ccc_63",
        "ccc_81",
        "clc_age",
        "clc_sex",
        "dhh_ms",
        "dhhdhsz",
        "edudr04",
        "fmh_11",
        "fmh_12",
        "fmh_13",
        "fmh_14",
        "fmh_15",
        "gendhdi",
        "gendmhi",
        "gen_15",
        "gen_18",
        "gen_20",
        "gfvd17y",
        "gfvd18y",
        "gfvd19y",
        "gfvd20y",
        "gfvd22y",
        "gfvd23y",
        "hwm_11cm",
        "hwm_13kg",
        "hwm_14cm",
        "hwmdbmi",
        "inc_21",
        "incfimp4",
        "lab_alkp",
        "lab_alt",
        "lab_bcre",
        "lab_bpb",
        "lab_ca",
        "lab_chol",
        "lab_ggt",
        "lab_hba1",
        "lab_hdl",
        "lab_vitd",
        "lbf_soc",
        "lbfdwsl",
        "lbfdhpw",
        "mdcd11y",
        "phc_11",
        "sdcdcgt",
        "sdcfimm",
        "slp_11",
        "slp_12",
        "smk_11",
        "smk_21",
        "smk_31",
        "smk_41",
        "smk_42",
        "smk_52",
        "smk_53",
        "smk_54",
        "smkdsty",
        "wgt_full",
        "wsdd14y"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "cycle1_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 1 Medications",
      "object": "cycle1_meds",
      "class": [
        "data.frame"
      ],
      "fields": [
        "CLINICID",
        "ATC_101A",
        "ATC_102A",
        "ATC_103A",
        "ATC_104A",
        "ATC_105A",
        "ATC_106A",
        "ATC_107A",
        "ATC_108A",
        "ATC_109A",
        "ATC_110A",
        "ATC_111A",
        "ATC_112A",
        "ATC_113A",
        "ATC_114A",
        "ATC_115A",
        "ATC_201A",
        "ATC_202A",
        "ATC_203A",
        "ATC_204A",
        "ATC_205A",
        "ATC_206A",
        "ATC_207A",
        "ATC_208A",
        "ATC_209A",
        "ATC_210A",
        "ATC_211A",
        "ATC_212A",
        "ATC_213A",
        "ATC_214A",
        "ATC_215A",
        "ATC_131A",
        "ATC_132A",
        "ATC_133A",
        "ATC_134A",
        "ATC_135A",
        "ATC_231A",
        "ATC_232A",
        "ATC_233A",
        "ATC_234A",
        "ATC_235A",
        "MHR_101B",
        "MHR_102B",
        "MHR_103B",
        "MHR_104B",
        "MHR_105B",
        "MHR_106B",
        "MHR_107B",
        "MHR_108B",
        "MHR_109B",
        "MHR_110B",
        "MHR_111B",
        "MHR_112B",
        "MHR_113B",
        "MHR_114B",
        "MHR_115B",
        "MHR_131B",
        "MHR_132B",
        "MHR_133B",
        "MHR_134B",
        "MHR_135B",
        "MHR_201B",
        "MHR_202B",
        "MHR_203B",
        "MHR_204B",
        "MHR_205B",
        "MHR_206B",
        "MHR_207B",
        "MHR_208B",
        "MHR_209B",
        "MHR_210B",
        "MHR_211B",
        "MHR_212B",
        "MHR_213B",
        "MHR_214B",
        "MHR_215B",
        "MHR_231B",
        "MHR_232B",
        "MHR_233B",
        "MHR_234B",
        "MHR_235B"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "cycle2",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 2",
      "object": "cycle2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "clinicid",
        "alc_11",
        "alc_17",
        "alc_18",
        "alcdwky",
        "ammdmva1",
        "ammdmva2",
        "ammdmva3",
        "ammdmva4",
        "ammdmva5",
        "ammdmva6",
        "ammdmva7",
        "bir_14",
        "bpmdpbpd",
        "bpmdpbps",
        "ccc_32",
        "ccc_51",
        "ccc_61",
        "ccc_63",
        "ccc_81",
        "clc_age",
        "clc_sex",
        "dhh_ms",
        "dhhdhsz",
        "edudr04",
        "fmh_11",
        "fmh_12",
        "fmh_13",
        "fmh_14",
        "fmh_15",
        "gendhdi",
        "gendmhi",
        "gen_15",
        "gen_18",
        "gen_20",
        "gfvd17y",
        "gfvd18y",
        "gfvd19y",
        "gfvd20y",
        "gfvd22y",
        "gfvd23y",
        "hwm_11cm",
        "hwm_13kg",
        "hwm_14cx",
        "hwmdbmi",
        "inc_21",
        "incfimp4",
        "lab_alkp",
        "lab_alt",
        "lab_bcre",
        "lab_bpb",
        "lab_ca",
        "lab_chol",
        "lab_ggt",
        "lab_hba1",
        "lab_hdl",
        "lab_vitd",
        "lbf_soc",
        "lbfdwsl",
        "lbfdhpw",
        "mdcd11y",
        "phc_11",
        "sdcdcgt",
        "sdcfimm",
        "slp_11",
        "slp_12",
        "smk_11",
        "smk_21",
        "smk_31",
        "smk_41",
        "smk_42",
        "smk_52",
        "smk_53",
        "smk_54",
        "smkdsty",
        "wgt_full",
        "wsdd14y"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "cycle2_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 2 Medications",
      "object": "cycle2_meds",
      "class": [
        "data.frame"
      ],
      "fields": [
        "clinicid",
        "atc_101a",
        "atc_102a",
        "atc_103a",
        "atc_104a",
        "atc_105a",
        "atc_106a",
        "atc_107a",
        "atc_108a",
        "atc_109a",
        "atc_110a",
        "atc_111a",
        "atc_112a",
        "atc_113a",
        "atc_114a",
        "atc_115a",
        "atc_201a",
        "atc_202a",
        "atc_203a",
        "atc_204a",
        "atc_205a",
        "atc_206a",
        "atc_207a",
        "atc_208a",
        "atc_209a",
        "atc_210a",
        "atc_211a",
        "atc_212a",
        "atc_213a",
        "atc_214a",
        "atc_215a",
        "atc_131a",
        "atc_132a",
        "atc_133a",
        "atc_134a",
        "atc_135a",
        "atc_231a",
        "atc_232a",
        "atc_233a",
        "atc_234a",
        "atc_235a",
        "mhr_101b",
        "mhr_102b",
        "mhr_103b",
        "mhr_104b",
        "mhr_105b",
        "mhr_106b",
        "mhr_107b",
        "mhr_108b",
        "mhr_109b",
        "mhr_110b",
        "mhr_111b",
        "mhr_112b",
        "mhr_113b",
        "mhr_114b",
        "mhr_115b",
        "mhr_131b",
        "mhr_132b",
        "mhr_133b",
        "mhr_134b",
        "mhr_135b",
        "mhr_201b",
        "mhr_202b",
        "mhr_203b",
        "mhr_204b",
        "mhr_205b",
        "mhr_206b",
        "mhr_207b",
        "mhr_208b",
        "mhr_209b",
        "mhr_210b",
        "mhr_211b",
        "mhr_212b",
        "mhr_213b",
        "mhr_214b",
        "mhr_215b",
        "mhr_231b",
        "mhr_232b",
        "mhr_233b",
        "mhr_234b",
        "mhr_235b"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "cycle3",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 3",
      "object": "cycle3",
      "class": [
        "data.frame"
      ],
      "fields": [
        "clinicid",
        "alc_11",
        "alc_17",
        "alc_18",
        "alcdwky",
        "ammdmva1",
        "ammdmva2",
        "ammdmva3",
        "ammdmva4",
        "ammdmva5",
        "ammdmva6",
        "ammdmva7",
        "bir_14",
        "bpmdpbpd",
        "bpmdpbps",
        "ccc_32",
        "ccc_51",
        "ccc_61",
        "ccc_63",
        "ccc_81",
        "clc_age",
        "clc_sex",
        "dhh_ms",
        "dhhdhsz",
        "edudr04",
        "fmh_11",
        "fmh_12",
        "fmh_13",
        "fmh_14",
        "fmh_15",
        "gendhdi",
        "gendmhi",
        "gen_15",
        "gen_18",
        "gen_20",
        "gfvd17ay",
        "gfvd17by",
        "gfvd17cy",
        "gfvd17dy",
        "gfvd18y",
        "gfvd19y",
        "gfvd20y",
        "gfvd22y",
        "gfvd23y",
        "hwm_11cm",
        "hwm_13kg",
        "hwm_14cx",
        "hwmdbmi",
        "imm_03",
        "ipadttpa",
        "lab_alkp",
        "lab_bcre",
        "lab_bpb",
        "lab_ca",
        "lab_chol",
        "lab_ggt",
        "lab_hba1",
        "lab_hdl",
        "lab_vids",
        "lafcso01",
        "lafdwsl",
        "lfh_16",
        "mdcd04y",
        "pgdcgt",
        "phc_11",
        "slp_11",
        "slp_12",
        "smk_11",
        "smk_21",
        "smk_31",
        "smk_41",
        "smk_42",
        "smk_52",
        "smk_53",
        "smk_54",
        "smkdsty",
        "thi_01",
        "thifimp4",
        "wgt_full",
        "wsdd34y",
        "wsdd35y"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "cycle3_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 3 Medications",
      "object": "cycle3_meds",
      "class": [
        "data.frame"
      ],
      "fields": [
        "clinicid",
        "meucatc",
        "npi_25b"
      ],
      "rows": 4000,
      "table": true,
      "tojson": true
    },
    {
      "name": "cycle4",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 4",
      "object": "cycle4",
      "class": [
        "data.frame"
      ],
      "fields": [
        "alc_11",
        "alc_17",
        "alc_18",
        "alcdwky",
        "ammdmva1",
        "ammdmva2",
        "ammdmva3",
        "ammdmva4",
        "ammdmva5",
        "ammdmva6",
        "ammdmva7",
        "bir_14",
        "bpmdpbpd",
        "bpmdpbps",
        "ccc_32",
        "ccc_51",
        "ccc_61",
        "ccc_63",
        "ccc_81",
        "clc_age",
        "clc_sex",
        "clinicid",
        "dhh_ms",
        "dhhdhsz",
        "edudr04",
        "fmh_11",
        "fmh_12",
        "fmh_13",
        "fmh_14",
        "fmh_15",
        "gen_15",
        "gen_18",
        "gen_20",
        "gendhdi",
        "gendmhi",
        "gfvd17ay",
        "gfvd17by",
        "gfvd17cy",
        "gfvd17dy",
        "gfvd18y",
        "gfvd19y",
        "gfvd20y",
        "gfvd22y",
        "gfvd23y",
        "hwm_11cm",
        "hwm_13kg",
        "hwm_14cx",
        "hwmdbmi",
        "imm_03",
        "lab_alkp",
        "lab_alt",
        "lab_bcre",
        "lab_bpb",
        "lab_ca",
        "lab_chol",
        "lab_ggt",
        "lab_hba1",
        "lab_hdl",
        "lab_vids",
        "lafcoc11",
        "lafdwsl",
        "lfh_16",
        "mdcd04y",
        "paadtot",
        "pgdcgt",
        "phc_11",
        "slp_11",
        "slp_12",
        "smk_11",
        "smk_21",
        "smk_31",
        "smk_41",
        "smk_42",
        "smk_52",
        "smk_53",
        "smk_54",
        "smkdsty",
        "thi_01",
        "thifimp4",
        "wgt_full",
        "wsdd34y",
        "wsdd35y"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "cycle4_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 4 Medications",
      "object": "cycle4_meds",
      "class": [
        "data.frame"
      ],
      "fields": [
        "CLINICID",
        "MEUCATC",
        "NPI_25B"
      ],
      "rows": 4050,
      "table": true,
      "tojson": true
    },
    {
      "name": "cycle5",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 5",
      "object": "cycle5",
      "class": [
        "data.frame"
      ],
      "fields": [
        "alc_11",
        "alc_17",
        "alc_18",
        "alcdwky",
        "ammdmva1",
        "ammdmva2",
        "ammdmva3",
        "ammdmva4",
        "ammdmva5",
        "ammdmva6",
        "ammdmva7",
        "bir_14",
        "bpmdpbpd",
        "bpmdpbps",
        "ccc_32",
        "ccc_51",
        "ccc_59",
        "ccc_61",
        "ccc_63",
        "ccc_81",
        "clc_age",
        "clc_sex",
        "clinicid",
        "dhh_ms",
        "dhhdhsz",
        "edudr04",
        "gen_025",
        "gen_045",
        "gen_055",
        "gendhdi",
        "gendmhi",
        "gfvd17ay",
        "gfvd17by",
        "gfvd17cy",
        "gfvd17dy",
        "gfvd18y",
        "gfvd19y",
        "gfvd20y",
        "gfvd22y",
        "gfvd23y",
        "hwm_11cm",
        "hwm_13kg",
        "hwm_14cx",
        "hwmdbmi",
        "img_03",
        "inc_hhld",
        "incfhhld",
        "lab_alkp",
        "lab_bcre",
        "lab_bpb",
        "lab_ca",
        "lab_chol",
        "lab_ggt",
        "lab_hba1",
        "lab_hdl",
        "lab_una",
        "lab_vids",
        "lafcoc16",
        "lafdwsl",
        "lmh_016",
        "mdcd04y",
        "paadtot",
        "pgdcgt",
        "prs_11",
        "smk_11",
        "smk_21",
        "smk_31",
        "smk_41",
        "smk_42",
        "smk_52",
        "smk_53",
        "smk_54",
        "smkdsty",
        "spa_020",
        "wgt_full",
        "wsdd34y",
        "wsdd35y"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "cycle5_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 5 Medications",
      "object": "cycle5_meds",
      "class": [
        "data.frame"
      ],
      "fields": [
        "clinicid",
        "meucatc",
        "npi_25b"
      ],
      "rows": 3800,
      "table": true,
      "tojson": true
    },
    {
      "name": "cycle6",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 6",
      "object": "cycle6",
      "class": [
        "data.frame"
      ],
      "fields": [
        "CLINICID",
        "ALC_11",
        "ALC_17",
        "ALC_18",
        "ALCDWKY",
        "AMMDMVA1",
        "AMMDMVA2",
        "AMMDMVA3",
        "AMMDMVA4",
        "AMMDMVA5",
        "AMMDMVA6",
        "AMMDMVA7",
        "BIR_14",
        "BPMDPBPD",
        "BPMDPBPS",
        "CCC_32",
        "CCC_51",
        "CCC_59",
        "CCC_61",
        "CCC_63",
        "CCC_81",
        "CLC_AGE",
        "CLC_SEX",
        "DHH_MS",
        "DHHDHSZ",
        "EDUDR04",
        "GEN_025",
        "GEN_045",
        "GEN_055",
        "GENDHDI",
        "GENDMHI",
        "GFVD17AY",
        "GFVD17BY",
        "GFVD17CY",
        "GFVD17DY",
        "GFVD18Y",
        "GFVD19Y",
        "GFVD20Y",
        "GFVD22Y",
        "GFVD23Y",
        "HWM_11CM",
        "HWM_13KG",
        "HWM_14CX",
        "HWMDBMI",
        "IMG_03",
        "LAB_ALKP",
        "LAB_ALT",
        "LAB_BCRE",
        "LAB_BPB",
        "LAB_CA",
        "LAB_CHOL",
        "LAB_GGT",
        "LAB_HBA1",
        "LAB_HDL",
        "LAB_UNA",
        "LAB_VIDS",
        "LAFCOC16",
        "LAFDWSL",
        "LMH_016",
        "MDCD04Y",
        "PAADTOT",
        "PGDCGT",
        "PRS_11",
        "SMK_11",
        "SMK_21",
        "SMK_31",
        "SMK_41",
        "SMK_42",
        "SMK_52",
        "SMK_53",
        "SMK_54",
        "SMKDSTY",
        "SPA_020",
        "THI_01",
        "THIFIMP4",
        "WGT_FULL",
        "WSDD34Y",
        "WSDD35Y"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "cycle6_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 6 Medications",
      "object": "cycle6_meds",
      "class": [
        "data.frame"
      ],
      "fields": [
        "CLINICID",
        "MEUCATC",
        "NPI_25B"
      ],
      "rows": 3850,
      "table": true,
      "tojson": true
    },
    {
      "name": "variable_details",
      "title": "variable-details.csv",
      "object": "variable_details",
      "class": [
        "data.frame"
      ],
      "fields": [
        "variable",
        "dummyVariable",
        "typeEnd",
        "databaseStart",
        "variableStart",
        "typeStart",
        "recEnd",
        "numValidCat",
        "catLabel",
        "catLabelLong",
        "units",
        "recStart",
        "catStartLabel",
        "variableStartShortLabel",
        "variableStartLabel",
        "notes",
        "X"
      ],
      "rows": 1111,
      "table": true,
      "tojson": true
    },
    {
      "name": "variables",
      "title": "variables.csv",
      "object": "variables",
      "class": [
        "data.frame"
      ],
      "fields": [
        "variable",
        "label",
        "labelLong",
        "section",
        "subject",
        "variableType",
        "units",
        "databaseStart",
        "variableStart"
      ],
      "rows": 211,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adjust_dbp",
      "title": "Adjusted diastolic blood pressure",
      "topics": [
        "adjust_dbp"
      ]
    },
    {
      "page": "adjust_sbp",
      "title": "Adjusted systolic blood pressure",
      "topics": [
        "adjust_sbp"
      ]
    },
    {
      "page": "aggregate_meds_by_person",
      "title": "Aggregate medication variables to one row per person",
      "topics": [
        "aggregate_meds_by_person"
      ]
    },
    {
      "page": "calculate_exercise_daily_avg",
      "title": "Average daily minutes of moderate-to-vigorous physical activity (MVPA) from accelerometer data",
      "topics": [
        "calculate_exercise_daily_avg"
      ]
    },
    {
      "page": "calculate_exercise_weekly",
      "title": "Weekly minutes of moderate-to-vigorous physical activity (MVPA) from daily average",
      "topics": [
        "calculate_exercise_weekly"
      ]
    },
    {
      "page": "calculate_fv_daily_cycles1to2",
      "title": "Daily fruit and vegetable consumption in a year - cycles 1-2",
      "topics": [
        "calculate_fv_daily_cycles1to2"
      ]
    },
    {
      "page": "calculate_fv_daily_cycles3to6",
      "title": "Daily fruit and vegetable consumption in a year - cycles 3-6",
      "topics": [
        "calculate_fv_daily_cycles3to6"
      ]
    },
    {
      "page": "calculate_gfr",
      "title": "Estimated glomerular filtration rate (GFR)",
      "topics": [
        "calculate_gfr"
      ]
    },
    {
      "page": "calculate_household_income",
      "title": "Adjusted total household income",
      "topics": [
        "calculate_household_income"
      ]
    },
    {
      "page": "calculate_nonhdl",
      "title": "Non-HDL cholesterol level",
      "topics": [
        "calculate_nonhdl"
      ]
    },
    {
      "page": "calculate_pack_years",
      "title": "Smoking pack-years",
      "topics": [
        "calculate_pack_years"
      ]
    },
    {
      "page": "calculate_waist_height_ratio",
      "title": "Waist-to-height ratio (WHtR)",
      "topics": [
        "calculate_waist_height_ratio"
      ]
    },
    {
      "page": "categorize_ckd",
      "title": "Chronic kidney disease (CKD) derived variable",
      "topics": [
        "categorize_ckd"
      ]
    },
    {
      "page": "categorize_diet_quality",
      "title": "Categorical diet indicator",
      "topics": [
        "categorize_diet_quality"
      ]
    },
    {
      "page": "categorize_exercise",
      "title": "Categorical weekly moderate-to-vigorous physical activity (MVPA) indicator",
      "topics": [
        "categorize_exercise"
      ]
    },
    {
      "page": "categorize_income_quintile",
      "title": "Categorical adjusted household income",
      "topics": [
        "categorize_income_quintile"
      ]
    },
    {
      "page": "categorize_nonhdl",
      "title": "Categorical non-HDL cholesterol level",
      "topics": [
        "categorize_nonhdl"
      ]
    },
    {
      "page": "cycle1",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 1",
      "topics": [
        "cycle1"
      ]
    },
    {
      "page": "cycle1_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 1 Medications",
      "topics": [
        "cycle1_meds"
      ]
    },
    {
      "page": "cycle2",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 2",
      "topics": [
        "cycle2"
      ]
    },
    {
      "page": "cycle2_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 2 Medications",
      "topics": [
        "cycle2_meds"
      ]
    },
    {
      "page": "cycle3",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 3",
      "topics": [
        "cycle3"
      ]
    },
    {
      "page": "cycle3_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 3 Medications",
      "topics": [
        "cycle3_meds"
      ]
    },
    {
      "page": "cycle4",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 4",
      "topics": [
        "cycle4"
      ]
    },
    {
      "page": "cycle4_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 4 Medications",
      "topics": [
        "cycle4_meds"
      ]
    },
    {
      "page": "cycle5",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 5",
      "topics": [
        "cycle5"
      ]
    },
    {
      "page": "cycle5_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 5 Medications",
      "topics": [
        "cycle5_meds"
      ]
    },
    {
      "page": "cycle6",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 6",
      "topics": [
        "cycle6"
      ]
    },
    {
      "page": "cycle6_meds",
      "title": "Canadian Health Measures Survey (CHMS) Cycle 6 Medications",
      "topics": [
        "cycle6_meds"
      ]
    },
    {
      "page": "derive_alcohol_risk",
      "title": "Low risk drinking score",
      "topics": [
        "derive_alcohol_risk"
      ]
    },
    {
      "page": "derive_alcohol_risk_detailed",
      "title": "Low risk drinking score - former/never categories",
      "topics": [
        "derive_alcohol_risk_detailed"
      ]
    },
    {
      "page": "derive_cvd_family_history",
      "title": "Cardiovascular Disease (CVD) family history",
      "topics": [
        "derive_cvd_family_history"
      ]
    },
    {
      "page": "derive_cvd_personal_history",
      "title": "Cardiovascular disease (CVD) personal history",
      "topics": [
        "derive_cvd_personal_history"
      ]
    },
    {
      "page": "derive_diabetes_status",
      "title": "Diabetes derived variable",
      "topics": [
        "derive_diabetes_status"
      ]
    },
    {
      "page": "derive_hypertension",
      "title": "Hypertension derived variable",
      "topics": [
        "derive_hypertension"
      ]
    },
    {
      "page": "derive_hypertension_adj",
      "title": "Hypertension derived variable with adjusted blood pressures",
      "topics": [
        "derive_hypertension_adj"
      ]
    },
    {
      "page": "derive_hypertension_control",
      "title": "Controlled hypertension derived variable",
      "topics": [
        "derive_hypertension_control"
      ]
    },
    {
      "page": "derive_hypertension_control_adj",
      "title": "Controlled hypertension derived variable with adjusted blood pressures",
      "topics": [
        "derive_hypertension_control_adj"
      ]
    },
    {
      "page": "is_ace_inhibitor",
      "title": "ACE inhibitors",
      "topics": [
        "is_ace_inhibitor"
      ]
    },
    {
      "page": "is_ace_med_cycles1to2",
      "title": "ACE inhibitors - cycles 1-2",
      "topics": [
        "is_ace_med_cycles1to2"
      ]
    },
    {
      "page": "is_any_antihtn_med",
      "title": "Any anti-hypertensive medications",
      "topics": [
        "is_any_antihtn_med"
      ]
    },
    {
      "page": "is_any_htn_med_cycles1to2",
      "title": "Any anti-hypertensive medications - cycles 1-2",
      "topics": [
        "is_any_htn_med_cycles1to2"
      ]
    },
    {
      "page": "is_bb_med_cycles1to2",
      "title": "Beta blockers - cycles 1-2",
      "topics": [
        "is_bb_med_cycles1to2"
      ]
    },
    {
      "page": "is_beta_blocker",
      "title": "Beta blockers",
      "topics": [
        "is_beta_blocker"
      ]
    },
    {
      "page": "is_calcium_channel_blocker",
      "title": "Calcium channel blockers",
      "topics": [
        "is_calcium_channel_blocker"
      ]
    },
    {
      "page": "is_ccb_med_cycles1to2",
      "title": "Calcium channel blockers - cycles 1-2",
      "topics": [
        "is_ccb_med_cycles1to2"
      ]
    },
    {
      "page": "is_diab_med_cycles1to2",
      "title": "Diabetes medications - cycles 1-2",
      "topics": [
        "is_diab_med_cycles1to2"
      ]
    },
    {
      "page": "is_diabetes_med",
      "title": "Diabetes medications",
      "topics": [
        "is_diabetes_med"
      ]
    },
    {
      "page": "is_diur_med_cycles1to2",
      "title": "Diuretics - cycles 1-2",
      "topics": [
        "is_diur_med_cycles1to2"
      ]
    },
    {
      "page": "is_diuretic",
      "title": "Diuretics",
      "topics": [
        "is_diuretic"
      ]
    },
    {
      "page": "is_lowest_income_quintile",
      "title": "Lowest income quintile indicator",
      "topics": [
        "is_lowest_income_quintile"
      ]
    },
    {
      "page": "is_misc_htn_med_cycles1to2",
      "title": "Other anti-hypertensive medications - cycles 1-2",
      "topics": [
        "is_misc_htn_med_cycles1to2"
      ]
    },
    {
      "page": "is_nsaid",
      "title": "Non-steroidal anti-inflammatory drugs (NSAIDs)",
      "topics": [
        "is_nsaid"
      ]
    },
    {
      "page": "is_nsaid_med_cycles1to2",
      "title": "Non-steroidal anti-inflammatory drugs (NSAIDs) - cycles 1-2",
      "topics": [
        "is_nsaid_med_cycles1to2"
      ]
    },
    {
      "page": "is_other_antihtn_med",
      "title": "Other anti-hypertensive medications",
      "topics": [
        "is_other_antihtn_med"
      ]
    },
    {
      "page": "recode_after_meds",
      "title": "Recode variables that depend on derived medication variable inputs",
      "topics": [
        "recode_after_meds"
      ]
    },
    {
      "page": "recode_meds_cycles1to2",
      "title": "Recode medication variables for cycles 1-2 (wide format)",
      "topics": [
        "recode_meds_cycles1to2"
      ]
    },
    {
      "page": "recode_meds_cycles3to6",
      "title": "Recode medication variables for cycles 3-6 (long format)",
      "topics": [
        "recode_meds_cycles3to6"
      ]
    },
    {
      "page": "variable_details",
      "title": "variable-details.csv",
      "topics": [
        "variable_details"
      ]
    },
    {
      "page": "variables",
      "title": "variables.csv",
      "topics": [
        "variables"
      ]
    }
  ],
  "_pkglogo": "https://github.com/big-life-lab/chmsflow/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/big-life-lab/chmsflow/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "datawizard",
    "dplyr",
    "forcats",
    "generics",
    "glue",
    "haven",
    "hms",
    "insight",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "recodeflow",
    "rlang",
    "sjlabelled",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "chmsflow",
  "_universes": [
    "big-life-lab",
    "rafdoodle"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-09T16:37:35.000Z",
      "distro": "noble",
      "commit": "55550b80885b223e70ee618b02731f5a98b3d548",
      "fileid": "5d1716a2b77d412cbf95c2a98b6e224ebca1da90ca220cf16d3b48ec25c399c3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/27220767477"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-09T16:37:32.000Z",
      "distro": "noble",
      "commit": "55550b80885b223e70ee618b02731f5a98b3d548",
      "fileid": "5eb448173ac3eefac434c0a47b6e104bfdf9b8c6f9686c9597d3dd125defbf72",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/27220767477"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-09T16:38:45.000Z",
      "commit": "55550b80885b223e70ee618b02731f5a98b3d548",
      "fileid": "acecba5e9bff6f39158a97676c25353850cc27dacdfac3fb8f8088fca753afd9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/27220767477"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-09T16:38:08.000Z",
      "commit": "55550b80885b223e70ee618b02731f5a98b3d548",
      "fileid": "b70d0ca073042db2f796131f93eb931696f845269abeed827b825b679123894e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/27220767477"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-09T16:37:43.000Z",
      "commit": "55550b80885b223e70ee618b02731f5a98b3d548",
      "fileid": "4c1e730e4fbc8545e244f15ff8784b0ec559e8324dd809026f4dedacb96e54d8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/27220767477"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-09T16:37:20.000Z",
      "commit": "55550b80885b223e70ee618b02731f5a98b3d548",
      "fileid": "aa98726b252b7bbac98cc543b30c1182d195a33be632f4f4f6e1e95a31d20054",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/27220767477"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-09T16:38:48.000Z",
      "commit": "55550b80885b223e70ee618b02731f5a98b3d548",
      "fileid": "28a35408addeac9e9a46c2b4457aa5b0f93df4dd9227830c0bc274896a4902fc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/27220767477"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-09T16:37:43.000Z",
      "commit": "55550b80885b223e70ee618b02731f5a98b3d548",
      "fileid": "9523b949b4bff312c4e4853dd12167030ee8a54819027ca5d1855b54ab9452da",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/big-life-lab/actions/runs/27220767477"
    }
  ]
}