{"id":38654441,"url":"https://github.com/openwashdata/glaas","last_synced_at":"2026-01-17T09:25:35.873Z","repository":{"id":293443486,"uuid":"974063399","full_name":"openwashdata/glaas","owner":"openwashdata","description":"UN-Water Global Analysis and Assessment of Sanitation and Drinking-water","archived":false,"fork":false,"pushed_at":"2025-07-03T09:44:27.000Z","size":4443,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-15T10:12:59.848Z","etag":null,"topics":["glaas","r","rpackage","wash"],"latest_commit_sha":null,"homepage":"https://openwashdata.github.io/glaas/","language":"R","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":".zenodo.json"}},"created_at":"2025-04-28T07:47:29.000Z","updated_at":"2025-07-03T12:30:47.000Z","dependencies_parsed_at":"2025-05-16T08:31:53.209Z","dependency_job_id":null,"html_url":"https://github.com/openwashdata/glaas","commit_stats":null,"previous_names":["openwashdata/glaas"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/openwashdata/glaas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwashdata%2Fglaas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwashdata%2Fglaas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwashdata%2Fglaas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwashdata%2Fglaas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openwashdata","download_url":"https://codeload.github.com/openwashdata/glaas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwashdata%2Fglaas/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":["glaas","r","rpackage","wash"],"created_at":"2026-01-17T09:25:33.876Z","updated_at":"2026-01-17T09:25:35.838Z","avatar_url":"https://github.com/openwashdata.png","language":"R","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\nlibrary(desc)\nlibrary(dplyr)\nlibrary(readr)\nlibrary(gt)\nlibrary(kableExtra)\nlibrary(fontawesome)\n\npackage \u003c- desc::desc_get_field(\"Package\")\norganisation \u003c- desc::desc_get_field(\"Organisation\") # Assuming you have an 'Organisation' field in DESCRIPTION\norganisation_package \u003c- paste0(organisation, \"/\", package)\nbrowser_favicon_colour \u003c- \"lightblue\"\n\n# Conditionally install and load the package\nif (!requireNamespace(package, quietly = TRUE)) {\n  devtools::install_github(organisation_package, dependencies = TRUE, upgrade = \"never\")\n}\nlibrary(package, character.only = TRUE)\n\n# Assuming main dataset is also named after the package\ndata(list = package, package = package)\n\n```\n\n# `r desc::desc_get_field(\"Package\")`\n***`r desc::desc_get_field(\"Title\")`***\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[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.15497462.svg)](https://zenodo.org/doi/10.5281/zenodo.15497462)\n\n\u003c!-- badges: end --\u003e\n\n`r desc::desc_get_field(\"Description\")`\n\n-----\n\n## Installation\n\nYou can install the development version of ``r desc::desc_get_field(\"Package\")`` from GitHub `r fontawesome::fa(\"github\")` with:\n\n``` r\ndevtools::install_github(\"`r organisation_package`\", dependencies = TRUE)\n```\n\n-----\n\n### Download as CSV Files\n\nIf you prefer to work with the data outside of R, you can download individual datasets as CSV files.\n\n1.  **Right-click** on the \"Download CSV\" link for the dataset you want.\n2.  Select **\"Save Link As\"**  [`r fontawesome::fa(\"chrome\", fill = browser_favicon_colour)`](https://www.google.com/chrome/) [`r fontawesome::fa(\"edge\", fill = browser_favicon_colour)`](https://www.microsoft.com/edge/) [`r fontawesome::fa(\"firefox\", fill = browser_favicon_colour)`](https://www.mozilla.org/firefox/) or **\"Download Linked File\"** [`r fontawesome::fa(\"safari\", fill = browser_favicon_colour)`](https://www.apple.com/safari/).\n3.  Choose where you'd like to save the file on your computer.\n\n\u003c/center\u003e\\n \n\n```{r, echo=FALSE, message=FALSE, warning=FALSE}\nextdata_path \u003c- c(paste0(desc::desc_get_field(\"URL\"), \"/raw/main/inst/extdata/\"))\n\nreadr::read_csv(\"data-raw/dictionary.csv\") |\u003e\n  dplyr::distinct(file_name) |\u003e\n  dplyr::mutate(file_name = stringr::str_remove(file_name, \".rda\")) |\u003e\n  dplyr::rename(dataset = file_name) |\u003e\n  dplyr::mutate(\n    CSV = paste0(\"[Download CSV](\", extdata_path, dataset, \".csv)\")\n  ) |\u003e\n  knitr::kable()\n\n```\n\n \\n\u003c/center\u003e\\n \n \n## Data\n``` r\nlibrary(`r package`)\n```\n\n### glaas\n\nThe dataset ``r desc::desc_get_field(\"Package\")`` has `r nrow(get(desc::desc_get_field(\"Package\")))` observations and `r ncol(get(desc::desc_get_field(\"Package\")))` variables\n\n``` r\nget(`r package`) |\u003e \n  head(3) |\u003e \n  gt::gt() |\u003e\n  gt::as_raw_html()\n```\n\n```{r, echo=FALSE, message=FALSE, warning=FALSE}\nget(package) |\u003e \n  head(3) |\u003e \n  gt::gt() |\u003e\n  gt::as_raw_html()\n```\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 == paste0(package, \".rda\")) |\u003e\n  dplyr::select(variable_name:description) |\u003e \n  knitr::kable(booktabs = TRUE) |\u003e \n  kableExtra::kable_styling(\n    full_width = FALSE,\n    bootstrap_options = c(\"striped\"),\n    position = \"center\"\n  )\n```\n\n## License\n\nData are available as\n[CC-BY](https://github.com/openwashdata/`r package`/blob/main/LICENSE.md).\n\n## Citation\n\n```{r, echo=FALSE, message=FALSE, warning=FALSE}\ncitation(package)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenwashdata%2Fglaas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenwashdata%2Fglaas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenwashdata%2Fglaas/lists"}