Skip to content

Commit

Permalink
Merge pull request #5 from openwashdata/dictionary
Browse files Browse the repository at this point in the history
update readme and website
  • Loading branch information
mianzg authored Jul 9, 2024
2 parents 9742b4c + 5b5af7a commit 408ebc4
Show file tree
Hide file tree
Showing 8 changed files with 800 additions and 98 deletions.
16 changes: 13 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,26 @@ The package provides access to household water costs, coping mechanisms as well
library(watercostaccra)
```

The `households` data set contains data about a household survey on water costs and coping strategies in Accra. It has `r nrow(households)` observations and `r ncol(households)` variables. The `waterpoints` data set contains data about a water point survey conducted in Accra as well. It has `r nrow(waterpoints)` observations and `r ncol(waterpoints)` variables. For an overview of the variable names, see the following table.

The `households` data set contains data about a household survey on water costs and coping strategies in Accra. It has `r nrow(households)` observations and `r ncol(households)` variables.
```{r echo=FALSE, message=FALSE, warning=FALSE}
readr::read_csv("data-raw/dictionary.csv") |>
dplyr::filter(file_name == "households.rda") |>
dplyr::select(variable_name:description) |>
knitr::kable() |>
kableExtra::kable_styling("striped")
kableExtra::kable_styling("striped") |>
kableExtra::scroll_box(height = "400px")
```

The `waterpoints` data set contains data about a water point survey conducted in Accra as well. It has `r nrow(waterpoints)` observations and `r ncol(waterpoints)` variables. For an overview of the variable names, see the following table.
observations and `r ncol(households)` variables.
```{r echo=FALSE, message=FALSE, warning=FALSE}
readr::read_csv("data-raw/dictionary.csv") |>
dplyr::filter(file_name == "waterpoints.rda") |>
dplyr::select(variable_name:description) |>
knitr::kable() |>
kableExtra::kable_styling("striped") |>
kableExtra::scroll_box(height = "400px")
```
## Example

Here is an example illustrating health risks associated with the water samples collected in Accra.
Expand Down
Loading

0 comments on commit 408ebc4

Please sign in to comment.