saniabidjan
Data about household survey of managing sanitation facilities in Abidjan, Cote d’Ivoire
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.7%) to scientific vocabulary
Keywords
abidjan
cote-d-ivoire
household-surveys
open-data
openwashdata
r
sanitation
wash
water-management
Last synced: 6 months ago
·
JSON representation
·
Repository
Data about household survey of managing sanitation facilities in Abidjan, Cote d’Ivoire
Basic Info
- Host: GitHub
- Owner: openwashdata
- License: cc-by-4.0
- Language: R
- Default Branch: main
- Homepage: https://openwashdata.github.io/saniabidjan/
- Size: 1.35 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
- Releases: 1
Topics
abidjan
cote-d-ivoire
household-surveys
open-data
openwashdata
r
sanitation
wash
water-management
Created over 1 year ago
· Last pushed over 1 year ago
Metadata Files
Readme
License
Citation
Zenodo
README.Rmd
---
output: github_document
always_allow_html: true
editor_options:
markdown:
wrap: 72
chunk_output_type: console
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%",
message = FALSE,
warning = FALSE,
fig.retina = 2,
fig.align = 'center'
)
```
# saniabidjan
[](https://creativecommons.org/licenses/by/4.0/)
[](https://github.com/openwashdata/saniabidjan/actions/workflows/R-CMD-check.yaml)

The goal of saniabidjan is to provide survey data about the behavior and practices of managing sanitation facilties in two low-income areas of Abidjan, Cote d’Ivoire.
## Installation
You can install the development version of saniabidjan from
[GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("openwashdata/saniabidjan")
```
```{r}
## Run the following code in console if you don't have the packages
## install.packages(c("dplyr", "knitr", "readr", "stringr", "gt", "kableExtra"))
library(dplyr)
library(knitr)
library(readr)
library(stringr)
library(gt)
library(kableExtra)
```
Alternatively, you can download the individual datasets as a CSV or XLSX
file from the table below.
```{r, echo=FALSE, message=FALSE, warning=FALSE}
extdata_path <- "https://github.com/openwashdata/saniabidjan/raw/main/inst/extdata/"
read_csv("data-raw/dictionary.csv") |>
distinct(file_name) |>
dplyr::mutate(file_name = str_remove(file_name, ".rda")) |>
dplyr::rename(dataset = file_name) |>
mutate(
CSV = paste0("[Download CSV](", extdata_path, dataset, ".csv)"),
XLSX = paste0("[Download XLSX](", extdata_path, dataset, ".xlsx)")
) |>
knitr::kable()
```
## Data
The package provides access to one dataset `saniabidjan`. It contains household survey data in two low-income areas of Abidjan. The focus of the survey is to understand the behavior and practices of the population in terms of managing sanitation facilities, as well as to assess the diseases they face.
```{r}
library(saniabidjan)
```
### saniabidjan
The dataset `saniabidjan` contains data about household surveys that cover 101 households in Abobo and 106 households in Yopougon. It has `r nrow(saniabidjan)` observations and `r ncol(saniabidjan)` variables
```{r}
saniabidjan |>
head(3) |>
gt::gt() |>
gt::as_raw_html()
```
For an overview of the variable names, see the following table.
```{r echo=FALSE, message=FALSE, warning=FALSE}
readr::read_csv("data-raw/dictionary.csv") |>
dplyr::filter(file_name == "saniabidjan.rda") |>
dplyr::select(variable_name:description) |>
knitr::kable() |>
kableExtra::kable_styling("striped") |>
kableExtra::scroll_box(height = "200px")
```
## Example
```{r}
library(saniabidjan)
library(ggplot2)
# Provide some example code here
saniabidjan |>
ggplot(mapping = aes(x = facilities_type)) +
geom_bar(aes(fill = lat_care), position = "dodge") +
labs(title = "Distribution of latrine care for different latrine types",
x = "Type of facilities",
fill = "Latrine care type")
```
## Capstone Project
This dataset is shared as part of a capstone project in Data Science for openwashdata. For more information about the project and to explore further insights, please visit the project page at https://ds4owd-001.github.io/project-coulbyph/
## License
Data are available as
[CC-BY](https://github.com/openwashdata/saniabidjan/blob/main/LICENSE.md).
## Citation
Please cite this package using:
```{r}
citation("saniabidjan")
```
Owner
- Name: openwashdata
- Login: openwashdata
- Kind: organization
- Repositories: 1
- Profile: https://github.com/openwashdata
Citation (CITATION.cff)
# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
cff-version: 1.2.0
message: 'To cite package "saniabidjan" in publications use:'
type: software
license: CC-BY-4.0
title: 'saniabidjan: Data About Behavior and Practices of Managing Sanitation Facilties
in Abidjan, Cote d’Ivoire'
version: 0.0.1
doi: 10.5281/zenodo.13134220
abstract: This data package contains household survey data collected from two low-income
areas of Abidjan, Cote d'Ivoire. The survey was focusing on practices related to
the management of sanitation facilities, specifically, latrines and tanks.
authors:
- family-names: Zié Zoumana Coulibaly
given-names: Phaniwa
email: coulbyph@gmail.com
orcid: https://orcid.org/0000-0002-3096-9061
- family-names: Dongo
given-names: Kouassi
email: kdongo8@gmail.com
- family-names: Zhong
given-names: Mian
email: mzhong@ethz.ch
orcid: https://orcid.org/0009-0009-4546-7214
repository-code: https://github.com/openwashdata/saniabidjan
url: https://github.com/openwashdata/saniabidjan
date-released: '2024-07-30'
contact:
- family-names: Zhong
given-names: Mian
email: mzhong@ethz.ch
orcid: https://orcid.org/0009-0009-4546-7214
keywords:
- abidjan
- cote-d-ivoire
- household-surveys
- open-data
- openwashdata
- r
- sanitation
- wash
- water-management
GitHub Events
Total
Last Year
Dependencies
DESCRIPTION
cran
- R >= 2.10 depends