{
  "_id": "6ae5b2bf3d0f299392dd4684",
  "Package": "presentresults",
  "Title": "Helpers to present results into table or graphs",
  "Version": "0.0.0.9002",
  "Authors@R": "c(\nperson(\"Mehedi\", \"Khan\", email= \"mh.khan@reach-initiative.org\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-4276-4485\")),\nperson(\"Yann\", \"Say\", \"\", email = \"yann.say@impact-initiatives.org\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7390-4209\"))\n)",
  "Description": "The package provides wrappers to turn results from a long\nformat into wide or graphics. For results in a long format, it\nwill work with an analysis key which have the following format\nanalysis_type @/@ dependent_variable %/%\ndependent_variable_value @/@ independent_variable %/%\nindependent_variable_value.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Remotes": [
    "impact-initiatives/analysistools"
  ],
  "LazyData": "true",
  "URL": "https://impact-initiatives.github.io/presentresults/",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev\nlibnode-dev",
  "Repository": "https://humanitarian-user-group.r-universe.dev",
  "Date/Publication": "2024-10-28 13:24:07 UTC",
  "RemoteUrl": "https://github.com/impact-initiatives/presentresults",
  "RemoteRef": "HEAD",
  "RemoteSha": "6219392a2983db6c90b5e7cb557db5e052b76fed",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-31 08:54:53 UTC",
    "User": "root"
  },
  "Author": "Mehedi Khan [aut] (ORCID: <https://orcid.org/0000-0002-4276-4485>),\nYann Say [aut, cre] (ORCID: <https://orcid.org/0000-0002-7390-4209>)",
  "Maintainer": "Yann Say <yann.say@impact-initiatives.org>",
  "_user": "humanitarian-user-group",
  "_type": "src",
  "_file": "presentresults_0.0.0.9002.tar.gz",
  "_fileid": "https://r2.ropensci.org/0830538497ffdb80d450fb6e528f0d5889e254b1fcee17971657d92e9f8589e1",
  "_filesize": 1998647,
  "_sha256": "0830538497ffdb80d450fb6e528f0d5889e254b1fcee17971657d92e9f8589e1",
  "_expires": "2027-02-08T09:19:57.000Z",
  "_created": "2026-10-31T08:54:53.000Z",
  "_published": "2026-10-31T09:19:58.984Z",
  "_upstream": "https://github.com/impact-initiatives/presentresults",
  "_status": "success",
  "_maintainer": {
    "name": "Yann Say",
    "email": "yann.say@impact-initiatives.org",
    "login": "yannsay-impact",
    "description": "",
    "uuid": 79831444,
    "orcid": "0000-0002-7390-4209"
  },
  "_jobs": [
    {
      "job": 124494489161,
      "time": 215,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13035859985"
    },
    {
      "job": 124494489159,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13035894703"
    },
    {
      "job": 124494489152,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13037661586"
    },
    {
      "job": 124494489130,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13037677658"
    },
    {
      "job": 124493808348,
      "time": 214,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13036089250"
    },
    {
      "job": 124494489110,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13035964526"
    },
    {
      "job": 124494489114,
      "time": 155,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13037305835"
    },
    {
      "job": 124494489136,
      "time": 152,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13036369090"
    },
    {
      "job": 124494489178,
      "time": 142,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13036324274"
    }
  ],
  "_buildurl": "https://github.com/r-universe/humanitarian-user-group/actions/runs/41186282361",
  "_commit": {
    "id": "6219392a2983db6c90b5e7cb557db5e052b76fed",
    "author": "yannsay-impact <79831444+yannsay-impact@users.noreply.github.com>",
    "committer": "yannsay-impact <79831444+yannsay-impact@users.noreply.github.com>",
    "message": "regenerating codecov token\n",
    "time": 1730121847
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "analysistools",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "openxlsx",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "impact-initiatives",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "yannsay-impact",
      "count": 88,
      "uuid": 79831444
    },
    {
      "user": "mhkhan27",
      "count": 3,
      "uuid": 54301198
    },
    {
      "user": "geocrunchy",
      "count": 3,
      "uuid": 121319689
    },
    {
      "user": "abrahamaz",
      "count": 2,
      "uuid": 73339994
    }
  ],
  "_userbio": {
    "uuid": 29010300,
    "type": "organization",
    "name": "HumanitaRian-useR-group",
    "followers": 8
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/presentresults"
  },
  "_devurl": "https://github.com/impact-initiatives/presentresults",
  "_pkgdown": "https://impact-initiatives.github.io/presentresults/",
  "_searchresults": 56,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/presentresults.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "add_label_analysis_key",
    "add_label_columns",
    "add_label_columns_to_results_table",
    "create_group_clusters",
    "create_ipc_table",
    "create_label_dictionary",
    "create_ordered_ipc_table",
    "create_table_for_map",
    "create_table_group_x_variable",
    "create_table_variable_x_group",
    "create_xlsx_group_x_variable",
    "create_xlsx_variable_x_group",
    "review_ipc_results",
    "review_kobo_labels",
    "theme_barplot",
    "theme_impact",
    "unite_labels",
    "verify_grep_AinB",
    "verify_numbers_values"
  ],
  "_datasets": [
    {
      "name": "impact_colors",
      "title": "IMPACT colors hex code",
      "object": "impact_colors",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "impact_palettes",
      "title": "IMPACT palettes",
      "object": "impact_palettes",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "presentresults_MSNA_template_data",
      "title": "MSNA dataset generated by xslxform",
      "object": "presentresults_MSNA_template_data",
      "class": [
        "data.frame"
      ],
      "fields": [],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "presentresults_MSNA2024_dictionary",
      "title": "MSNA2024 dictionary",
      "object": "presentresults_MSNA2024_dictionary",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "presentresults_MSNA2024_kobotool_fixed",
      "title": "results table example",
      "object": "presentresults_MSNA2024_kobotool_fixed",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "presentresults_MSNA2024_kobotool_template",
      "title": "KOBO template for MSNA 2024 with composite indicators information",
      "object": "presentresults_MSNA2024_kobotool_template",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "presentresults_MSNA2024_labelled_results_table",
      "title": "MSNA 2024 results table with labels.",
      "object": "presentresults_MSNA2024_labelled_results_table",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "analysis_type",
        "analysis_var",
        "analysis_var_value",
        "group_var",
        "group_var_value",
        "stat",
        "stat_low",
        "stat_upp",
        "n",
        "n_total",
        "n_w",
        "n_w_total",
        "analysis_key",
        "theme",
        "module",
        "indicator",
        "label_analysis_var",
        "label_analysis_var_value",
        "label_group_var",
        "label_group_var_value",
        "label_analysis_type",
        "label_analysis_key"
      ],
      "rows": 5145,
      "table": true,
      "tojson": true
    },
    {
      "name": "presentresults_MSNA2024_results_table",
      "title": "results table example for MSNA 2024 tools",
      "object": "presentresults_MSNA2024_results_table",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "analysis_type",
        "analysis_var",
        "analysis_var_value",
        "group_var",
        "group_var_value",
        "stat",
        "stat_low",
        "stat_upp",
        "n",
        "n_total",
        "n_w",
        "n_w_total",
        "analysis_key",
        "theme",
        "module",
        "indicator"
      ],
      "rows": 5145,
      "table": true,
      "tojson": true
    },
    {
      "name": "presentresults_resultstable",
      "title": "results table example",
      "object": "presentresults_resultstable",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "analysis_type",
        "analysis_var",
        "analysis_var_value",
        "group_var",
        "group_var_value",
        "stat",
        "stat_low",
        "stat_upp",
        "n",
        "n_total",
        "n_w",
        "n_w_total",
        "analysis_key"
      ],
      "rows": 893,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_label_analysis_key",
      "title": "Helper to add the label analysis key",
      "topics": [
        "add_label_analysis_key"
      ]
    },
    {
      "page": "add_label_columns",
      "title": "Helper to add label columns",
      "topics": [
        "add_label_columns"
      ]
    },
    {
      "page": "add_label_columns_to_results_table",
      "title": "Add labels to the result table",
      "topics": [
        "add_label_columns_to_results_table"
      ]
    },
    {
      "page": "create_group_clusters",
      "title": "Create number of cluster and number of hh surveyed per group/strata",
      "topics": [
        "create_group_clusters"
      ]
    },
    {
      "page": "create_ipc_table",
      "title": "Creates a table for the IPC",
      "topics": [
        "create_ipc_table"
      ]
    },
    {
      "page": "create_label_dictionary",
      "title": "Create a dictionary for the labeling results",
      "topics": [
        "create_label_dictionary"
      ]
    },
    {
      "page": "create_table_for_map",
      "title": "Create a table for MSNA Indicator Maps 1.2 tool",
      "topics": [
        "create_table_for_map"
      ]
    },
    {
      "page": "create_table_group_x_variable",
      "title": "Create a wide table with indicators in the columns",
      "topics": [
        "create_table_group_x_variable"
      ]
    },
    {
      "page": "create_table_variable_x_group",
      "title": "Turns a long format table into a wide format",
      "topics": [
        "create_table_variable_x_group"
      ]
    },
    {
      "page": "create_xlsx_group_x_variable",
      "title": "Write a table group by variable into Excel",
      "topics": [
        "create_xlsx_group_x_variable"
      ]
    },
    {
      "page": "create_xlsx_variable_x_group",
      "title": "Write a table variable by group into Excel",
      "topics": [
        "create_xlsx_variable_x_group"
      ]
    },
    {
      "page": "impact_colors",
      "title": "IMPACT colors hex code",
      "topics": [
        "impact_colors"
      ]
    },
    {
      "page": "impact_palettes",
      "title": "IMPACT palettes",
      "topics": [
        "impact_palettes"
      ]
    },
    {
      "page": "presentresults_MSNA_template_data",
      "title": "MSNA dataset generated by xslxform",
      "topics": [
        "presentresults_MSNA_template_data"
      ]
    },
    {
      "page": "presentresults_MSNA2024_dictionary",
      "title": "MSNA2024 dictionary",
      "topics": [
        "presentresults_MSNA2024_dictionary"
      ]
    },
    {
      "page": "presentresults_MSNA2024_kobotool_fixed",
      "title": "results table example",
      "topics": [
        "presentresults_MSNA2024_kobotool_fixed"
      ]
    },
    {
      "page": "presentresults_MSNA2024_kobotool_template",
      "title": "KOBO template for MSNA 2024 with composite indicators information",
      "topics": [
        "presentresults_MSNA2024_kobotool_template"
      ]
    },
    {
      "page": "presentresults_MSNA2024_labelled_results_table",
      "title": "MSNA 2024 results table with labels.",
      "topics": [
        "presentresults_MSNA2024_labelled_results_table"
      ]
    },
    {
      "page": "presentresults_MSNA2024_results_table",
      "title": "results table example for MSNA 2024 tools",
      "topics": [
        "presentresults_MSNA2024_results_table"
      ]
    },
    {
      "page": "presentresults_resultstable",
      "title": "results table example",
      "topics": [
        "presentresults_resultstable"
      ]
    },
    {
      "page": "review_kobo_labels",
      "title": "Review if there are duplication of kobo name and labels in the kobo tools",
      "topics": [
        "review_kobo_labels"
      ]
    },
    {
      "page": "theme_barplot",
      "title": "Barplot theme",
      "topics": [
        "theme_barplot"
      ]
    },
    {
      "page": "theme_impact",
      "title": "Theme for IMPACT Initiative",
      "topics": [
        "theme_impact"
      ]
    },
    {
      "page": "unite_labels",
      "title": "Unite labels columns",
      "topics": [
        "unite_labels"
      ]
    },
    {
      "page": "verify_grep_AinB",
      "title": "Verify that which value of a vector is present in another vector",
      "topics": [
        "verify_grep_AinB"
      ]
    },
    {
      "page": "verify_numbers_values",
      "title": "Verify that a given variable set as the expected number of values.",
      "topics": [
        "verify_numbers_values"
      ]
    }
  ],
  "_readme": "https://github.com/impact-initiatives/presentresults/raw/HEAD/README.md",
  "_rundeps": [
    "analysistools",
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "openxlsx",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "add-label-to-results-table.Rmd",
      "filename": "add-label-to-results-table.html",
      "title": "Add labels to results table",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-07-17 14:12:15",
      "modified": "2024-07-17 14:12:15",
      "commits": 1
    },
    {
      "source": "create-table-for-map.Rmd",
      "filename": "create-table-for-map.html",
      "title": "Create table for map",
      "engine": "knitr::rmarkdown",
      "headings": [
        "create_table_for_map",
        "5 classes",
        "6 classes",
        "Troubleshooting"
      ],
      "created": "2024-08-22 14:25:08",
      "modified": "2024-08-27 08:00:34",
      "commits": 2
    },
    {
      "source": "IMPACT_ggplot2_theme.Rmd",
      "filename": "IMPACT_ggplot2_theme.html",
      "title": "IMPACT ggplot2 theme",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Barplot without formating",
        "theme_barplot",
        "Other palettes",
        "Errors and number of colors"
      ],
      "created": "2024-09-16 06:57:50",
      "modified": "2024-09-16 06:57:50",
      "commits": 1
    }
  ],
  "_score": 4.878521795501206,
  "_indexed": false,
  "_nocasepkg": "presentresults",
  "_universes": [
    "humanitarian-user-group"
  ],
  "_indexurl": "https://impact-initiatives.r-universe.dev/presentresults",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.9002",
      "date": "2026-10-31T08:58:22.000Z",
      "distro": "resolute",
      "commit": "6219392a2983db6c90b5e7cb557db5e052b76fed",
      "fileid": "https://r2.ropensci.org/284515eb69b2a9c6cb6acbfb2451998bec2d7b3c62272051ec3ffd46a26f9c92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/humanitarian-user-group/actions/runs/41186282361"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.0.9002",
      "date": "2026-10-31T08:57:31.000Z",
      "distro": "resolute",
      "commit": "6219392a2983db6c90b5e7cb557db5e052b76fed",
      "fileid": "https://r2.ropensci.org/958bdaaea142500c13251d6abedefb5da2456e86b52fae8bb20c7a7fc070b462",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/humanitarian-user-group/actions/runs/41186282361"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9002",
      "date": "2026-10-31T09:19:18.000Z",
      "commit": "6219392a2983db6c90b5e7cb557db5e052b76fed",
      "fileid": "https://r2.ropensci.org/ed2d46b58d92143d3ad2a054f067462bc4470f1a7d7412818731179cd4ca246d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/humanitarian-user-group/actions/runs/41186282361"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.0.0.9002",
      "date": "2026-10-31T09:18:19.000Z",
      "commit": "6219392a2983db6c90b5e7cb557db5e052b76fed",
      "fileid": "https://r2.ropensci.org/eb819428f1284d3197511ebd86476bd592565b5c1efa82e917c78ed71bf96a3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/humanitarian-user-group/actions/runs/41186282361"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9002",
      "date": "2026-10-31T08:57:10.000Z",
      "commit": "6219392a2983db6c90b5e7cb557db5e052b76fed",
      "fileid": "https://r2.ropensci.org/364ca12262b4c2d40e59398b6a934f3cd9872a826e5b40f609484566a4bc1790",
      "status": "success",
      "buildurl": "https://github.com/r-universe/humanitarian-user-group/actions/runs/41186282361"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9002",
      "date": "2026-10-31T08:56:56.000Z",
      "commit": "6219392a2983db6c90b5e7cb557db5e052b76fed",
      "fileid": "https://r2.ropensci.org/959d2d3c51a5622bceadcf6880e230eebbc232d4f6cc3b057d24ddf5d5dc94df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/humanitarian-user-group/actions/runs/41186282361"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9002",
      "date": "2026-10-31T08:56:55.000Z",
      "commit": "6219392a2983db6c90b5e7cb557db5e052b76fed",
      "fileid": "https://r2.ropensci.org/c2a6c2eba67cfbef85c927d0f005d1bc8d7f58f7c11e5e36c107a80b0a52815b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/humanitarian-user-group/actions/runs/41186282361"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.0.0.9002",
      "date": "2026-10-31T08:56:49.000Z",
      "commit": "6219392a2983db6c90b5e7cb557db5e052b76fed",
      "fileid": "https://r2.ropensci.org/7d742dc96af34eef868d6af24b4b16d484213a5e7f48be850e01af482050b46c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/humanitarian-user-group/actions/runs/41186282361"
    }
  ]
}