{"id":38654512,"url":"https://github.com/openwashdata/glossarywho","last_synced_at":"2026-01-17T09:25:37.222Z","repository":{"id":274617272,"uuid":"923493862","full_name":"openwashdata/glossarywho","owner":"openwashdata","description":"Tidy data from the WHO Glossary (https://www.who.int/publications/i/item/9789240105485)","archived":false,"fork":false,"pushed_at":"2025-02-03T13:54:44.000Z","size":2841,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T22:16:36.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://openwashdata.github.io/glossarywho/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openwashdata.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-28T10:52:34.000Z","updated_at":"2025-02-03T13:54:47.000Z","dependencies_parsed_at":"2025-01-28T12:21:59.909Z","dependency_job_id":"667639c4-e646-4fd5-826e-eccb4473fc55","html_url":"https://github.com/openwashdata/glossarywho","commit_stats":null,"previous_names":["openwashdata/glossarywho"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/openwashdata/glossarywho","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwashdata%2Fglossarywho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwashdata%2Fglossarywho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwashdata%2Fglossarywho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwashdata%2Fglossarywho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openwashdata","download_url":"https://codeload.github.com/openwashdata/glossarywho/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwashdata%2Fglossarywho/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28505550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T09:25:37.019Z","updated_at":"2026-01-17T09:25:37.192Z","avatar_url":"https://github.com/openwashdata.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\nalways_allow_html: true\neditor_options: \n  markdown: \n    wrap: 72\n  chunk_output_type: console\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\",\n  message = FALSE,\n  warning = FALSE,\n  fig.retina = 2,\n  fig.align = 'center'\n)\n```\n\n# glossarywho\n\n\u003c!-- badges: start --\u003e\n\n[![License: CC BY\n4.0](https://img.shields.io/badge/License-CC_BY_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)\n\n\u003c!-- badges: end --\u003e\n\nThe goal of glossarywho is to provide data from the [WHO Glossary](https://www.who.int/publications/i/item/9789240105485) in a tidy format. Access definitions by themes [here](https://openwashdata.github.io/glossarywho/articles/Themes.html) or use the search bar at the top of the page.\n\n## Installation\n\nYou can install the development version of glossarywho from\n[GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"openwashdata/glossarywho\")\n```\n\n```{r}\n## Run the following code in console if you don't have the packages\n## install.packages(c(\"dplyr\", \"knitr\", \"readr\", \"stringr\", \"gt\", \"kableExtra\"))\nlibrary(dplyr)\nlibrary(knitr)\nlibrary(readr)\nlibrary(stringr)\nlibrary(gt)\nlibrary(kableExtra)\n```\n\nAlternatively, you can download the individual datasets as a CSV or XLSX\nfile from the table below.\n\n1.  Click Download CSV. A window opens that displays the CSV in\n    your browser.\n2.  Right-click anywhere inside the window and select \"Save Page As...\".\n3.  Save the file in a folder of your choice.\n\n```{r, echo=FALSE, message=FALSE, warning=FALSE}\n\nextdata_path \u003c- \"https://github.com/openwashdata/glossarywho/raw/main/inst/extdata/\"\n\nread_csv(\"data-raw/dictionary.csv\") |\u003e \n  distinct(file_name) |\u003e \n  dplyr::mutate(file_name = str_remove(file_name, \".rda\")) |\u003e \n  dplyr::rename(dataset = file_name) |\u003e \n  mutate(\n    CSV = paste0(\"[Download CSV](\", extdata_path, dataset, \".csv)\"),\n    XLSX = paste0(\"[Download XLSX](\", extdata_path, dataset, \".xlsx)\")\n  ) |\u003e \n  knitr::kable()\n\n```\n\n## Data\n\nThe package provides access to glossary terms, definitions and thematic areas from the WHO Glossary. The datasets are: themes and definitions.\n\n```{r}\nlibrary(glossarywho)\n```\n\n### definitions\n\nThe dataset `definitions` contains data about definitions from the WHO glossary It has\n`r nrow(definitions)` observations and `r ncol(definitions)`\nvariables\n\n```{r}\ndefinitions |\u003e \n  head(3) |\u003e \n  gt::gt() |\u003e\n  gt::as_raw_html()\n```\n\n### themes\n\nThe dataset `themes` contains data about thematic areas from the WHO glossary. It has\n`r nrow(themes)` observations and `r ncol(themes)`\nvariables\n\n```{r}\nthemes |\u003e \n  head(3) |\u003e \n  gt::gt() |\u003e\n  gt::as_raw_html()\n```\n\n\nFor an overview of the variable names, see the following table.\n\n```{r echo=FALSE, message=FALSE, warning=FALSE}\nreadr::read_csv(\"data-raw/dictionary.csv\") |\u003e\n  dplyr::filter(file_name == \"definitions.rda\") |\u003e\n  dplyr::select(variable_name:description) |\u003e \n  knitr::kable() |\u003e \n  kableExtra::kable_styling(\"striped\") |\u003e \n  kableExtra::scroll_box(height = \"200px\")\n```\n\n## Example\n\n```{r}\nlibrary(glossarywho)\nlibrary(ggplot2)\nlibrary(tidyverse)\n# Plot a bar chart of count of definitions by thematic areas \nthemes |\u003e \n  count(`Thematic Area`) |\u003e \n  ggplot2::ggplot(aes(x = fct_reorder(`Thematic Area`, n), y = n)) +\n  geom_col(fill = \"skyblue\") +\n  coord_flip() +\n  labs(title = \"Count of definitions by thematic areas\",\n       x = \"Count\",\n       y = \"Thematic area\") +\n  theme_minimal() +\n  theme(axis.text.y = element_text(size = 8)) +\n  theme(panel.grid.major.y = element_blank(),\n         panel.grid.minor.y = element_blank())\n\n```\n\n```{r}\n# Wordcloud of most common words from definitions\nlibrary(wordcloud)\nlibrary(tm)\n\n# Create a corpus\ncorpus \u003c- Corpus(VectorSource(definitions$Description))\n\n# Clean the corpus\ncorpus \u003c- tm_map(corpus, content_transformer(tolower))\ncorpus \u003c- tm_map(corpus, removePunctuation)\ncorpus \u003c- tm_map(corpus, removeNumbers)\ncorpus \u003c- tm_map(corpus, removeWords, stopwords(\"en\"))\ncorpus \u003c- tm_map(corpus, stripWhitespace)\n\n# Create a document term matrix\ndtm \u003c- DocumentTermMatrix(corpus)\n\n# Create a wordcloud\nwordcloud(words = names(sort(colSums(as.matrix(dtm)), decreasing = TRUE)),\n          freq = colSums(as.matrix(dtm)),\n          min.freq = 1,\n          max.words = 100,\n          random.order = FALSE,\n          colors = brewer.pal(8, \"Dark2\"))\n```\n\n\n## License\n\nData are available as\n[CC-BY](https://github.com/openwashdata/%7B%7B%7Bpackagename%7D%7D%7D/blob/main/LICENSE.md).\n\n## Citation\n\nPlease cite this package using:\n\n```{r}\ncitation(\"glossarywho\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenwashdata%2Fglossarywho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenwashdata%2Fglossarywho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenwashdata%2Fglossarywho/lists"}