{
  "_id": "6ac8c8fbde46216d5edd72e6",
  "Package": "analysistools",
  "Title": "Tools to perform some analysis on survey data collected with ODK",
  "Version": "0.0.0.903",
  "Authors@R": "c(\nperson(\"Yann\", \"Say\", , \"yann.say@impact-initiatives.org\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7390-4209\")),\nperson(\"Mehedi\", \"Khan\", , \"mh.khan@reach-initiative.org\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-4276-4485\"))\n)",
  "Description": "The package provides a couple of wrappers around srvyr and\ntidyverse to perform some analysis primarly based on dataset\ncollected throught ODK format.",
  "License": "MIT + file LICENSE",
  "Remotes": [
    "impact-initiatives/addindicators",
    "impact-initiatives/cleaningtools"
  ],
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://impact-initiatives.github.io/analysistools/",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev\nlibnode-dev",
  "Repository": "https://impact-initiatives.r-universe.dev",
  "Date/Publication": "2024-11-27 13:28:20 UTC",
  "RemoteUrl": "https://github.com/impact-initiatives/analysistools",
  "RemoteRef": "HEAD",
  "RemoteSha": "d748f320c41eeaa5619be45457414ffb4f53e78a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-09 10:17:42 UTC",
    "User": "root"
  },
  "Author": "Yann Say [aut, cre] (ORCID: <https://orcid.org/0000-0002-7390-4209>),\nMehedi Khan [aut] (ORCID: <https://orcid.org/0000-0002-4276-4485>)",
  "Maintainer": "Yann Say <yann.say@impact-initiatives.org>",
  "_user": "impact-initiatives",
  "_type": "src",
  "_file": "analysistools_0.0.0.903.tar.gz",
  "_fileid": "https://r2.ropensci.org/d2ed8eddbc71c7439d7294153e92029a37a89204278d4a7993220fb59ee31424",
  "_filesize": 750905,
  "_sha256": "d2ed8eddbc71c7439d7294153e92029a37a89204278d4a7993220fb59ee31424",
  "_expires": "2027-01-17T10:59:05.000Z",
  "_created": "2026-10-09T10:17:42.000Z",
  "_published": "2026-10-09T10:59:07.799Z",
  "_buildurl": "https://github.com/r-universe/impact-initiatives/actions/runs/37916348243",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113774675799,
      "time": 198,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11610670268"
    },
    {
      "job": 113774675669,
      "time": 195,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11610840136"
    },
    {
      "job": 113774675662,
      "time": 218,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11611397780"
    },
    {
      "job": 113774675594,
      "time": 168,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11611831691"
    },
    {
      "job": 113773509094,
      "time": 201,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11610080070"
    },
    {
      "job": 113774676281,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11610535051"
    },
    {
      "job": 113774675694,
      "time": 181,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11610660250"
    },
    {
      "job": 113774675762,
      "time": 136,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11610220259"
    },
    {
      "job": 113774675770,
      "time": 147,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11610120349"
    }
  ],
  "_upstream": "https://github.com/impact-initiatives/analysistools",
  "_commit": {
    "id": "d748f320c41eeaa5619be45457414ffb4f53e78a",
    "author": "yannsay-impact <79831444+yannsay-impact@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #38 from yannsay-impact/update_create_analysis_median\n\nfixing create_analysis_median",
    "time": 1732714100
  },
  "_maintainer": {
    "name": "Yann Say",
    "email": "yann.say@impact-initiatives.org",
    "login": "yannsay-impact",
    "description": "",
    "uuid": 79831444,
    "orcid": "0000-0002-7390-4209"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "addindicators",
      "role": "Imports"
    },
    {
      "package": "cleaningtools",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "srvyr",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "survey",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "impact-initiatives",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "yannsay-impact",
      "count": 41,
      "uuid": 79831444
    },
    {
      "user": "mhkhan27",
      "count": 6,
      "uuid": 54301198
    },
    {
      "user": "abrahamaz",
      "count": 3,
      "uuid": 73339994
    },
    {
      "user": "geocrunchy",
      "count": 1,
      "uuid": 121319689
    }
  ],
  "_userbio": {
    "uuid": 16704185,
    "type": "organization",
    "name": "IMPACT Initiatives",
    "followers": 75,
    "description": "A leading think-and-do-tank supporting humanitarian action. Initiatives include REACH and Agora."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/analysistools"
  },
  "_devurl": "https://github.com/impact-initiatives/analysistools",
  "_pkgdown": "https://impact-initiatives.github.io/analysistools/",
  "_searchresults": 71,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/analysistools.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "add_weights",
    "adding_analysis_key",
    "adding_analysis_key_ratio",
    "adding_group_var_value",
    "arranging_results_columns",
    "char_to_vector",
    "check_loa",
    "correct_nan_analysis_var_variable_is_na",
    "correct_nan_total_is_0",
    "create_analysis",
    "create_analysis_key_table",
    "create_analysis_mean",
    "create_analysis_median",
    "create_analysis_prop_select_multiple",
    "create_analysis_prop_select_one",
    "create_analysis_ratio",
    "create_group_var",
    "create_loa",
    "create_loa_from_results",
    "review_analysis",
    "unite_variables",
    "verify_analysis_key",
    "verify_if_AinB"
  ],
  "_datasets": [
    {
      "name": "analysistools_MSNA_template_choices",
      "title": "MSNA template kobo choices (example)",
      "object": "analysistools_MSNA_template_choices",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "list_name",
        "name",
        "label::english"
      ],
      "rows": 329,
      "table": true,
      "tojson": true
    },
    {
      "name": "analysistools_MSNA_template_data",
      "title": "MSNA template dataset (example)",
      "object": "analysistools_MSNA_template_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "analysistools_MSNA_template_loa",
      "title": "Example of list of analysis",
      "object": "analysistools_MSNA_template_loa",
      "class": [
        "data.frame"
      ],
      "fields": [
        "analysis_type",
        "analysis_var",
        "group_var",
        "level"
      ],
      "rows": 13,
      "table": true,
      "tojson": true
    },
    {
      "name": "analysistools_MSNA_template_loa_with_ratio",
      "title": "Example of list of analysis with ratio",
      "object": "analysistools_MSNA_template_loa_with_ratio",
      "class": [
        "data.frame"
      ],
      "fields": [
        "analysis_type",
        "analysis_var",
        "group_var",
        "level",
        "analysis_var_numerator",
        "analysis_var_denominator",
        "numerator_NA_to_0",
        "filter_denominator_0"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "analysistools_MSNA_template_no_ratio_results_table",
      "title": "Analysis results example (no ratio)",
      "object": "analysistools_MSNA_template_no_ratio_results_table",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "analysistools_MSNA_template_survey",
      "title": "MSNA template kobo survey (example)",
      "object": "analysistools_MSNA_template_survey",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Sector",
        "HH Indicator",
        "name",
        "type",
        "label::english",
        "hint",
        "constraint",
        "relevant",
        "repeat_count",
        "calculation",
        "appearance",
        "required",
        "parameters"
      ],
      "rows": 333,
      "table": true,
      "tojson": true
    },
    {
      "name": "analysistools_MSNA_template_with_ratio_results_table",
      "title": "Analysis results example (with ratio)",
      "object": "analysistools_MSNA_template_with_ratio_results_table",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_weights",
      "title": "Add a weight variable using the sample frame",
      "topics": [
        "add_weights"
      ]
    },
    {
      "page": "analysistools_MSNA_template_choices",
      "title": "MSNA template kobo choices (example)",
      "topics": [
        "analysistools_MSNA_template_choices"
      ]
    },
    {
      "page": "analysistools_MSNA_template_data",
      "title": "MSNA template dataset (example)",
      "topics": [
        "analysistools_MSNA_template_data"
      ]
    },
    {
      "page": "analysistools_MSNA_template_loa",
      "title": "Example of list of analysis",
      "topics": [
        "analysistools_MSNA_template_loa"
      ]
    },
    {
      "page": "analysistools_MSNA_template_loa_with_ratio",
      "title": "Example of list of analysis with ratio",
      "topics": [
        "analysistools_MSNA_template_loa_with_ratio"
      ]
    },
    {
      "page": "analysistools_MSNA_template_no_ratio_results_table",
      "title": "Analysis results example (no ratio)",
      "topics": [
        "analysistools_MSNA_template_no_ratio_results_table"
      ]
    },
    {
      "page": "analysistools_MSNA_template_survey",
      "title": "MSNA template kobo survey (example)",
      "topics": [
        "analysistools_MSNA_template_survey"
      ]
    },
    {
      "page": "analysistools_MSNA_template_with_ratio_results_table",
      "title": "Analysis results example (with ratio)",
      "topics": [
        "analysistools_MSNA_template_with_ratio_results_table"
      ]
    },
    {
      "page": "check_loa",
      "title": "Helper to check the list of analysis format",
      "topics": [
        "check_loa"
      ]
    },
    {
      "page": "create_analysis",
      "title": "Create analysis from a design",
      "topics": [
        "create_analysis"
      ]
    },
    {
      "page": "create_analysis_key_table",
      "title": "Create a table from the analysis_key and results object",
      "topics": [
        "create_analysis_key_table"
      ]
    },
    {
      "page": "create_analysis_mean",
      "title": "Calculate a mean from a survey",
      "topics": [
        "create_analysis_mean"
      ]
    },
    {
      "page": "create_analysis_median",
      "title": "Calculate a median from a survey",
      "topics": [
        "create_analysis_median"
      ]
    },
    {
      "page": "create_analysis_prop_select_multiple",
      "title": "Calculate proportion from a survey design",
      "topics": [
        "create_analysis_prop_select_multiple"
      ]
    },
    {
      "page": "create_analysis_prop_select_one",
      "title": "Calculate proportion from a survey",
      "topics": [
        "create_analysis_prop_select_one"
      ]
    },
    {
      "page": "create_analysis_ratio",
      "title": "Calculate a ratio from a survey",
      "topics": [
        "create_analysis_ratio"
      ]
    },
    {
      "page": "create_loa",
      "title": "Create a list of analysis from design and a grouping variable",
      "topics": [
        "create_loa"
      ]
    },
    {
      "page": "create_loa_from_results",
      "title": "Create a list of analysis from a results table",
      "topics": [
        "create_loa_from_results"
      ]
    },
    {
      "page": "review_analysis",
      "title": "Review columns comparing it to another set of columns and spots differences",
      "topics": [
        "review_analysis"
      ]
    },
    {
      "page": "unite_variables",
      "title": "Unite variable from the key_table",
      "topics": [
        "unite_variables"
      ]
    },
    {
      "page": "verify_analysis_key",
      "title": "Helper to check the format of the analysis key",
      "topics": [
        "verify_analysis_key"
      ]
    }
  ],
  "_readme": "https://github.com/impact-initiatives/analysistools/raw/HEAD/README.md",
  "_rundeps": [
    "addindicators",
    "assertthat",
    "cleaningtools",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "curl",
    "data.table",
    "DBI",
    "dplyr",
    "farver",
    "fs",
    "generics",
    "glue",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "minqa",
    "mitools",
    "numDeriv",
    "openxlsx",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "randomcoloR",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "Rtsne",
    "scales",
    "snakecase",
    "srvyr",
    "stringi",
    "stringr",
    "survey",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "withr",
    "zip"
  ],
  "_score": 4.349568902508676,
  "_indexed": true,
  "_nocasepkg": "analysistools",
  "_universes": [
    "impact-initiatives",
    "yannsay-impact"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.903",
      "date": "2026-10-09T10:20:16.000Z",
      "distro": "resolute",
      "commit": "d748f320c41eeaa5619be45457414ffb4f53e78a",
      "fileid": "https://r2.ropensci.org/149b6ddc4e131b2b3fb447bbd526e5fba5ff05f5bb966dadfd02e4f3c9933967",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/impact-initiatives/actions/runs/37916348243"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.0.903",
      "date": "2026-10-09T10:20:05.000Z",
      "distro": "resolute",
      "commit": "d748f320c41eeaa5619be45457414ffb4f53e78a",
      "fileid": "https://r2.ropensci.org/7ce019384fbe98cc915c9b9c7ef8fa125075561df6a75c644d2012ad7e4b4f35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/impact-initiatives/actions/runs/37916348243"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.903",
      "date": "2026-10-09T10:54:47.000Z",
      "commit": "d748f320c41eeaa5619be45457414ffb4f53e78a",
      "fileid": "https://r2.ropensci.org/7bc5ac9fdf4e0091a9088e86651c7200bb7c9cb4c294b834d1c6aa67fefc29d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/impact-initiatives/actions/runs/37916348243"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.0.903",
      "date": "2026-10-09T10:57:38.000Z",
      "commit": "d748f320c41eeaa5619be45457414ffb4f53e78a",
      "fileid": "https://r2.ropensci.org/6852ed41c8c627e6d945dc3127004d2a37fb85f502bca6f07b9075c67f7906f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/impact-initiatives/actions/runs/37916348243"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.903",
      "date": "2026-10-09T10:19:51.000Z",
      "commit": "d748f320c41eeaa5619be45457414ffb4f53e78a",
      "fileid": "https://r2.ropensci.org/8e86ae464b54530e98c092af005be10b4e8ed50b810b77498c4791e925db0824",
      "status": "success",
      "buildurl": "https://github.com/r-universe/impact-initiatives/actions/runs/37916348243"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.903",
      "date": "2026-10-09T10:19:28.000Z",
      "commit": "d748f320c41eeaa5619be45457414ffb4f53e78a",
      "fileid": "https://r2.ropensci.org/59ed65737b94aa4615e64fda9ab072f11428602186c95454d86b56afc0636e43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/impact-initiatives/actions/runs/37916348243"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.903",
      "date": "2026-10-09T10:19:12.000Z",
      "commit": "d748f320c41eeaa5619be45457414ffb4f53e78a",
      "fileid": "https://r2.ropensci.org/df2da0dcd9f265207d55dd1079145d45093fb7e53aafbf33fd0cf1d662a80b1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/impact-initiatives/actions/runs/37916348243"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.0.903",
      "date": "2026-10-09T10:19:13.000Z",
      "commit": "d748f320c41eeaa5619be45457414ffb4f53e78a",
      "fileid": "https://r2.ropensci.org/eb154bf740709b2ebaf413299933ca0e33d163cdfbd053a8280ab689998fe0f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/impact-initiatives/actions/runs/37916348243"
    }
  ]
}