-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
72 lines (50 loc) · 2.24 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
library(liberia)
```
# liberia: Datasets for Use in Designing Surveys in Liberia <img src="man/figures/logo.svg" width="200" align="right" />
<!-- badges: start -->
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![R-CMD-check](https://github.com/spatialworks/liberia/workflows/R-CMD-check/badge.svg)](https://github.com/spatialworks/liberia/actions)
[![CodeFactor](https://www.codefactor.io/repository/github/spatialworks/liberia/badge)](https://www.codefactor.io/repository/github/spatialworks/liberia)
<!-- badges: end -->
Designing surveys require relevant datasets to be used as basis for sample size calculations, sampling design, survey planning/logistics and survey implementation. These include datasets on population, lists of sampling clusters, map datasets for spatial sampling, and previous survey datasets that can be used for estimating indicator variance and design effects. This package contains relevant datasets for use in designing surveys in Liberia.
## Installation
Install `liberia` package from GitHub via `remotes``:
```{r, echo = TRUE, eval = FALSE}
if (!require(remotes)) install.packages("remotes")
remotes::install_github("spatialworks/liberia")
```
## Usage
### Counties map
```{r liberia1, fig.align = "center", fig.width = 10, fig.height = 10}
plot(sf::st_geometry(counties))
```
### Districts map
```{r liberia2, fig.align = "center", fig.width = 10, fig.height = 10}
plot(sf::st_geometry(districts))
```
### Clans map
```{r liberia3, fig.align = "center", fig.width = 10, fig.height = 10}
plot(sf::st_geometry(clans))
```
### Locality population
```{r liberia4, fig.align = "center", fig.width = 10, fig.height = 10}
locality
```
### Enumeration areas population
```{r liberia5, fig.align = "center", fig.width = 10, fig.height = 10}
enumerationArea
```
### Monrovia population
```{r liberia6, fig.align = "center", fig.width = 10, fig.height = 10}
monrovia
```