Data of household survey on water costs and coping strategies in Accra associated with a project report completed by Elizabeth Vicario for the “data science for openwashdata” course
# watercostaccra
The goal of watercostaccra is to provide users with documentation on two
surveys on household water costs, coping mechanisms as well as water
point estimates conducted in November 2023 in Accra, Ghana. The data
sets are associated with the following project
report completed by
Elizabeth Vicario for the “data science for openwashdata”
course offered by
openwashdata.org.
## Installation
You can install the development version of watercostaccra from
GitHub with:
``` r
# install.packages("devtools")
devtools::install_github("openwashdata/watercostaccra")
```
Alternatively, you can download the individual data sets as a CSV or
XLSX file from the table below.
| dataset | CSV | XLSX |
|:---|:---|:---|
| households | Download CSV | Download XLSX |
| waterpoints | Download CSV | Download XLSX |
## Data
The package provides access to household water costs, coping mechanisms
as well as water point estimates.
``` r
library(watercostaccra)
```
The `households` data set contains data about a household survey on
water costs and coping strategies in Accra. It has 116 observations and
89 variables.
variable_name
variable_type
description
community
factor
the communities surveyed, options including `1` kg: Korle Gonno and `2`
abuja: Abuja
housing_type
factor
housing type, options includin `1` block_unit: unit in a row of
apartments made of cement blocks, `2` wood_unit: unit in a row of
apartments made of wood, `3` house, `4` compound_house: single-story L-
or C-shaped house with a multiple units around a shared courtyard, `5`
multistory_apt: multi-story apartment building, `6` wood_shack: wooden
shack, `7` no_structure, and `8` other
respondent_relationship_to_hh
factor
respondent’s relationship to the household head (respondent identified),
options including `1` self, `2` child, `3` spouse, and `4`
other_relative
gender
factor
gender (self-identified) of respondent, options including `1` female and
`2` ma …