{
  "_id": "6a103aa7acfb0bcc41c9b42a",
  "Package": "stepssurvey",
  "Title": "Analyse WHO STEPS Survey Data",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Abhijit\", \"Pakhare\", email = \"abhijit.cfm@aiimsbhopal.edu.in\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Ankur\", \"Joshi\", role = \"aut\"),\nperson(\"Lena\", \"Charlette\", role = \"aut\"),\nperson(\"WHO STEPS R Pipeline Contributors\", role = \"ctb\")\n)",
  "Description": "Provides a complete analysis pipeline for the WHO STEPwise\nApproach to NCD Risk Factor Surveillance (STEPS) as described\nin Riley et al. (2016) <doi:10.2105/AJPH.2015.302962>. Imports\nraw survey data ('CSV', 'Excel', 'Stata', 'SPSS'), applies\nWHO-standard cleaning and recoding, sets up complex survey\ndesigns, computes all standard NCD indicators (tobacco,\nalcohol, diet, physical activity, anthropometry, blood\npressure, biochemical), and generates publication-ready tables,\nvisualisations, and 'Word'/'HTML' reports (fact sheet, data\nbook, country report).",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/drpakhare/stepssurvey",
  "BugReports": "https://github.com/drpakhare/stepssurvey/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 22:14:19 UTC",
    "User": "root"
  },
  "Author": "Abhijit Pakhare [aut, cre], Ankur Joshi [aut], Lena Charlette\n[aut], WHO STEPS R Pipeline Contributors [ctb]",
  "Maintainer": "Abhijit Pakhare <abhijit.cfm@aiimsbhopal.edu.in>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-11 21:46:28 UTC",
  "RemoteUrl": "https://github.com/cran/stepssurvey",
  "RemoteRef": "HEAD",
  "RemoteSha": "38b82639a0ee8ed48464619115804e6ca55fe3cb",
  "MD5sum": "51ec8aa477638a4b8b7b6e40ba006fe6",
  "_user": "cran",
  "_type": "src",
  "_file": "stepssurvey_0.1.0.tar.gz",
  "_fileid": "7efd203bf5e4d70399be0a7f2a63a061de71eb59f7e94d4e4c03421da544eccb",
  "_filesize": 921974,
  "_sha256": "7efd203bf5e4d70399be0a7f2a63a061de71eb59f7e94d4e4c03421da544eccb",
  "_created": "2026-05-11T22:14:19.000Z",
  "_published": "2026-05-22T11:14:47.308Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77368389642,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6931160040"
    },
    {
      "job": 77368389725,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6931165540"
    },
    {
      "job": 77368388650,
      "time": 329,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6931116846"
    },
    {
      "job": 77368388913,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159151579"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25700212584",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/stepssurvey",
  "_commit": {
    "id": "38b82639a0ee8ed48464619115804e6ca55fe3cb",
    "author": "Abhijit Pakhare <abhijit.cfm@aiimsbhopal.edu.in>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1778535988
  },
  "_maintainer": {
    "name": "Abhijit Pakhare",
    "email": "abhijit.cfm@aiimsbhopal.edu.in",
    "login": "drpakhare",
    "twitter": "@drpakhare",
    "uuid": 73765074
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "bslib",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "DT",
      "role": "Imports"
    },
    {
      "package": "flextable",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "janitor",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "survey",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "remotes",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-05-11"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "drpakhare",
      "count": 1,
      "uuid": 73765074
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stepssurvey"
  },
  "_devurl": "https://github.com/drpakhare/stepssurvey",
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/stepssurvey.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-05-11"
    }
  ],
  "_exports": [
    "build_all_tables",
    "build_forest_plot",
    "build_radar_plot",
    "build_steps_plots",
    "build_steps_tables",
    "build_table",
    "clean_steps_data",
    "compute_alcohol_indicators",
    "compute_all_indicators",
    "compute_all_tables",
    "compute_anthropometry_indicators",
    "compute_biochemical_indicators",
    "compute_bp_indicators",
    "compute_diet_pa_indicators",
    "compute_table",
    "compute_tobacco_indicators",
    "detect_col",
    "detect_steps_columns",
    "generate_test_data",
    "get_registry_by_section",
    "get_registry_by_step",
    "import_steps_data",
    "list_registry_sections",
    "plot_completeness",
    "plot_digit_preference",
    "plot_weights",
    "read_column_mapping",
    "recode_yn",
    "render_country_report",
    "render_data_book",
    "render_fact_sheet",
    "run_app",
    "run_steps_pipeline",
    "save_steps_plots",
    "setup_survey_design",
    "steps_colors",
    "steps_config",
    "steps_data_quality",
    "steps_table_registry",
    "svymn",
    "svyprop",
    "theme_steps"
  ],
  "_help": [
    {
      "page": "stepssurvey-package",
      "title": "stepssurvey: Analyse WHO STEPS Survey Data",
      "topics": [
        "stepssurvey-package",
        "stepssurvey"
      ]
    },
    {
      "page": "build_all_tables",
      "title": "Build all tables from computed results",
      "topics": [
        "build_all_tables"
      ]
    },
    {
      "page": "build_forest_plot",
      "title": "Build forest plot of key indicators with 95% CIs",
      "topics": [
        "build_forest_plot"
      ]
    },
    {
      "page": "build_radar_plot",
      "title": "Build radar / spider chart of NCD risk factor profile",
      "topics": [
        "build_radar_plot"
      ]
    },
    {
      "page": "build_steps_plots",
      "title": "Build publication-ready STEPS visualizations",
      "topics": [
        "build_steps_plots"
      ]
    },
    {
      "page": "build_steps_tables",
      "title": "Build survey-weighted tables for STEPS indicators",
      "topics": [
        "build_steps_tables"
      ]
    },
    {
      "page": "build_table",
      "title": "Build a formatted table from a computed result",
      "topics": [
        "build_table"
      ]
    },
    {
      "page": "clean_steps_data",
      "title": "Clean and recode WHO STEPS data",
      "topics": [
        "clean_steps_data"
      ]
    },
    {
      "page": "compute_alcohol_indicators",
      "title": "Compute Alcohol Use Indicators",
      "topics": [
        "compute_alcohol_indicators"
      ]
    },
    {
      "page": "compute_all_indicators",
      "title": "Compute All STEPS Indicators",
      "topics": [
        "compute_all_indicators"
      ]
    },
    {
      "page": "compute_all_tables",
      "title": "Compute all tables from the registry",
      "topics": [
        "compute_all_tables"
      ]
    },
    {
      "page": "compute_anthropometry_indicators",
      "title": "Compute Anthropometry Indicators",
      "topics": [
        "compute_anthropometry_indicators"
      ]
    },
    {
      "page": "compute_biochemical_indicators",
      "title": "Compute Biochemical Indicators",
      "topics": [
        "compute_biochemical_indicators"
      ]
    },
    {
      "page": "compute_bp_indicators",
      "title": "Compute Blood Pressure Indicators",
      "topics": [
        "compute_bp_indicators"
      ]
    },
    {
      "page": "compute_diet_pa_indicators",
      "title": "Compute Diet and Physical Activity Indicators",
      "topics": [
        "compute_diet_pa_indicators"
      ]
    },
    {
      "page": "compute_engine",
      "title": "Generic Compute Engine for WHO STEPS Tables",
      "concept": [
        "compute"
      ],
      "topics": [
        "compute_engine"
      ]
    },
    {
      "page": "compute_table",
      "title": "Compute a single table from a registry entry",
      "topics": [
        "compute_table"
      ]
    },
    {
      "page": "compute_tobacco_indicators",
      "title": "Compute Tobacco Use Indicators",
      "topics": [
        "compute_tobacco_indicators"
      ]
    },
    {
      "page": "detect_col",
      "title": "Detect a STEPS column by alias",
      "topics": [
        "detect_col"
      ]
    },
    {
      "page": "detect_steps_columns",
      "title": "Auto-detect all standard STEPS columns",
      "topics": [
        "detect_steps_columns"
      ]
    },
    {
      "page": "generate_test_data",
      "title": "Generate simulated STEPS test data",
      "topics": [
        "generate_test_data"
      ]
    },
    {
      "page": "get_registry_by_section",
      "title": "Get table registry entries by section",
      "topics": [
        "get_registry_by_section"
      ]
    },
    {
      "page": "get_registry_by_step",
      "title": "Get table registry entries by step",
      "topics": [
        "get_registry_by_step"
      ]
    },
    {
      "page": "import_steps_data",
      "title": "Import raw STEPS survey data",
      "topics": [
        "import_steps_data"
      ]
    },
    {
      "page": "list_registry_sections",
      "title": "List all available sections in the registry",
      "topics": [
        "list_registry_sections"
      ]
    },
    {
      "page": "plot_completeness",
      "title": "Plot completeness heatmap across STEPS domains",
      "topics": [
        "plot_completeness"
      ]
    },
    {
      "page": "plot_digit_preference",
      "title": "Plot digit preference histogram for a physical measurement",
      "topics": [
        "plot_digit_preference"
      ]
    },
    {
      "page": "plot_weights",
      "title": "Plot sampling weight distribution",
      "topics": [
        "plot_weights"
      ]
    },
    {
      "page": "read_column_mapping",
      "title": "Read a column mapping file",
      "topics": [
        "read_column_mapping"
      ]
    },
    {
      "page": "render_country_report",
      "title": "Render STEPS Country Report",
      "topics": [
        "render_country_report"
      ]
    },
    {
      "page": "render_data_book",
      "title": "Render STEPS Data Book report",
      "topics": [
        "render_data_book"
      ]
    },
    {
      "page": "render_fact_sheet",
      "title": "Render STEPS Fact Sheet report",
      "topics": [
        "render_fact_sheet"
      ]
    },
    {
      "page": "run_app",
      "title": "Launch the stepssurvey Shiny Application",
      "topics": [
        "run_app"
      ]
    },
    {
      "page": "run_steps_pipeline",
      "title": "Run the complete STEPS analysis pipeline",
      "topics": [
        "run_steps_pipeline"
      ]
    },
    {
      "page": "save_steps_plots",
      "title": "Save STEPS plots to PNG files",
      "topics": [
        "save_steps_plots"
      ]
    },
    {
      "page": "setup_survey_design",
      "title": "Set up survey designs for STEPS data (one per Step)",
      "topics": [
        "setup_survey_design"
      ]
    },
    {
      "page": "steps_colors",
      "title": "WHO STEPS colour palette",
      "topics": [
        "steps_colors"
      ]
    },
    {
      "page": "steps_config",
      "title": "Create STEPS analysis configuration",
      "topics": [
        "steps_config"
      ]
    },
    {
      "page": "steps_data_quality",
      "title": "Data Quality Diagnostics for WHO STEPS Data",
      "topics": [
        "steps_data_quality"
      ]
    },
    {
      "page": "steps_table_registry",
      "title": "WHO STEPS Data Book Table Registry",
      "topics": [
        "steps_table_registry"
      ]
    },
    {
      "page": "svymn",
      "title": "Weighted mean estimation with 95% CI",
      "topics": [
        "svymn"
      ]
    },
    {
      "page": "svyprop",
      "title": "Weighted proportion estimation with 95% CI",
      "topics": [
        "svyprop"
      ]
    },
    {
      "page": "table_builder",
      "title": "Generic Table Builder for WHO STEPS Data Book",
      "concept": [
        "tables"
      ],
      "topics": [
        "table_builder"
      ]
    },
    {
      "page": "theme_steps",
      "title": "WHO STEPS ggplot2 theme",
      "topics": [
        "theme_steps"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/stepssurvey/raw/HEAD/man/figures/logo.png",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bit",
    "bit64",
    "bslib",
    "cachem",
    "cellranger",
    "cli",
    "clipr",
    "commonmark",
    "cpp11",
    "crayon",
    "crosstalk",
    "data.table",
    "DBI",
    "digest",
    "dplyr",
    "DT",
    "evaluate",
    "farver",
    "fastmap",
    "flextable",
    "fontawesome",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "forcats",
    "fs",
    "gdtools",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "haven",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "isoband",
    "janitor",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "lubridate",
    "magrittr",
    "Matrix",
    "memoise",
    "mime",
    "minqa",
    "mitools",
    "numDeriv",
    "officer",
    "openssl",
    "otel",
    "patchwork",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "promises",
    "purrr",
    "R6",
    "ragg",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "readr",
    "readxl",
    "rematch",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "shiny",
    "snakecase",
    "sourcetools",
    "stringi",
    "stringr",
    "survey",
    "survival",
    "sys",
    "systemfonts",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tinytex",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "xml2",
    "xtable",
    "yaml",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "stepssurvey-guide.Rmd",
      "filename": "stepssurvey-guide.html",
      "title": "Analysing WHO STEPS Survey Data with stepssurvey",
      "author": "Abhijit Pakhare",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "What this guide covers",
        "Installation",
        "The pipeline at a glance",
        "Step 1: Generate or import data",
        "Using the built-in test data generator",
        "Importing real STEPS data",
        "Step 2: Auto-detect STEPS variables",
        "Version 3.1 vs 3.2 variable codes",
        "Column mapping for non-standard datasets",
        "Step 3: Clean and derive indicators",
        "What the cleaning step does",
        "Configurable indicator thresholds",
        "Step 3b: Data quality diagnostics",
        "Step 4: Set up the survey design",
        "Step 5: Compute indicators",
        "All indicators at once",
        "Domain-specific functions",
        "Custom weighted estimates",
        "Step 6: Build publication-ready tables",
        "Summary tables (Both Sexes only)",
        "Detailed WHO 3-panel tables (Men | Women | Both Sexes)",
        "Step 7: Create visualisations",
        "Overview chart",
        "Sex-stratified dashboard",
        "Age-stratified trends",
        "Forest plot",
        "Risk profile radar chart",
        "Saving plots",
        "WHO STEPS colour palette and theme",
        "Step 8: Generate Word reports",
        "What each report contains",
        "One-command pipeline",
        "Working with real STEPS data",
        "Preparing your data file",
        "Handling custom variable names",
        "Adjusting age range",
        "Complete worked example",
        "Interactive Shiny app",
        "WHO standard definitions used",
        "FAQ",
        "Further resources",
        "Session info"
      ],
      "created": "2026-05-11 21:46:28",
      "modified": "2026-05-11 21:46:28",
      "commits": 1
    },
    {
      "source": "shiny-walkthrough.Rmd",
      "filename": "shiny-walkthrough.html",
      "title": "Interactive Analysis with the Shiny App",
      "author": "Abhijit Pakhare",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Launching the app",
        "Tab 1: Data & Settings",
        "Uploading a data file",
        "Using demo data",
        "Column overrides",
        "Survey settings",
        "Tab 2: Clean",
        "Tab 3: Design",
        "Tab 4: Indicators",
        "Tab 5: Visualise",
        "Available charts",
        "Tab 6: Reports",
        "What happens when you click Generate",
        "Two reports",
        "Summary Report",
        "Detailed Data Book",
        "Additional downloads",
        "Tips and troubleshooting",
        "The app shows an error on upload",
        "Charts don't display or show \"figure margins too large\"",
        "Physical Activity shows \"not available\"",
        "Some tables are empty in the Data Book",
        "Can I customise the report templates?",
        "Comparison: Shiny app vs R scripting"
      ],
      "created": "2026-05-11 21:46:28",
      "modified": "2026-05-11 21:46:28",
      "commits": 1
    },
    {
      "source": "data-preparation.Rmd",
      "filename": "data-preparation.html",
      "title": "Preparing STEPS Data for Analysis",
      "author": "Abhijit Pakhare",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Supported file formats",
        "Minimum required variables",
        "Essential (required)",
        "Strongly recommended",
        "Step 1: Behavioural risk factors",
        "Step 2: Physical measurements",
        "Step 3: Biochemical measurements",
        "Health history (H-codes)",
        "How auto-detection works",
        "Common data issues and solutions",
        "Issue: Sex coded as numeric without labels",
        "Issue: Yes/No variables coded inconsistently",
        "Issue: Glucose values in mg/dL instead of mmol/L",
        "Issue: Multiple datasets for different STEPS steps",
        "Issue: Missing sampling weights",
        "Issue: Variables detected as wrong type",
        "Pre-flight checklist",
        "Quick diagnostic script",
        "Further reading"
      ],
      "created": "2026-05-11 21:46:28",
      "modified": "2026-05-11 21:46:28",
      "commits": 1
    },
    {
      "source": "validation.Rmd",
      "filename": "validation.html",
      "title": "Validation Against WHO Official Fact Sheets",
      "author": "Abhijit Pakhare",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Acknowledgements",
        "Overview",
        "Validation criteria",
        "Indicators compared",
        "Results summary",
        "Detailed results by country",
        "Moldova 2021",
        "Mongolia 2019",
        "Georgia 2016",
        "Afghanistan 2018",
        "Algeria 2016",
        "Ukraine 2019",
        "Ecuador 2018",
        "Cabo Verde 2020",
        "Bahamas 2019",
        "Analysis of mismatches",
        "Key methodological alignments",
        "Running the validation yourself",
        "Reproducibility notes",
        "References"
      ],
      "created": "2026-05-11 21:46:28",
      "modified": "2026-05-11 21:46:28",
      "commits": 1
    }
  ],
  "_score": 2.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "stepssurvey",
  "_universes": [
    "cran",
    "drpakhare"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-11T22:16:34.000Z",
      "distro": "noble",
      "commit": "38b82639a0ee8ed48464619115804e6ca55fe3cb",
      "fileid": "202a5c63b4981082eb4e252b69a0f8937042a64751bc6a7621d94947bc79e06a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25700212584"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-11T22:16:55.000Z",
      "distro": "noble",
      "commit": "38b82639a0ee8ed48464619115804e6ca55fe3cb",
      "fileid": "e13a478397f536cefa86ef12177988057bf09953b674c73ecd4be6283d743d46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25700212584"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-22T11:14:18.000Z",
      "commit": "38b82639a0ee8ed48464619115804e6ca55fe3cb",
      "fileid": "bf1ef6241c424ec02c44dae4ff427b0021f4c8c51c5d22ca56b17955eeda1e60",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25700212584"
    }
  ]
}