Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 1.45 KB

README.md

File metadata and controls

70 lines (48 loc) · 1.45 KB

climatevulnerabilitykhm

Overview

Data on Effects of Climate Vulnerability on Sanitation Access, Sanitation Infrastructure Functionality and Households’ Fecal Sludge Management Practices in Rural Cambodia.

Installation

You can install the development version of climatevulnerabilitykhm from GitHub with:

# install.packages("devtools")
devtools::install_github("openwashdata/climatevulnerabilitykhm")

Data

The package provides access to one dataset.

library(climatevulnerabilitykhm)

The climatevulnerabilitykhm dataset has ? variables and 1472 observations.

Example

library(climatevulnerabilitykhm)
library(ggplot2)
## basic example code
province <- unique(clmvulnerability$Prov)
cat("The data is collected from the following Cambodian provinces: \n", 
    paste(province, collapse = ", "))
#> The data is collected from the following Cambodian provinces: 
#>  Siemreap, Kandal, Kampong Thom, Prey Veng, Svay Rieng

Visualization

Barplot of gender counts

ggplot(data = clmvulnerability, aes(Gndr)) +
  geom_bar()

Age distribution

ggplot(data = clmvulnerability, aes(Age)) +
  geom_histogram(binwidth = 5)