knitr::opts_chunk$set( message = FALSE, warning = FALSE, error = FALSE, collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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 Mozambique.
You can install the development version from GitHub with:
library(mozambique) ## Retrieve country borders country <- get_country() ## Plot country borders plot(sf::st_geometry(country))
## Retrieve provincias borders provincias <- get_provinces() ## Plot provincias borders plot(sf::st_geometry(provincias))
## Retrieve distritos borders distritos <- get_districts() ## Plot distritos borders plot(sf::st_geometry(distritos))
## Retrieve postos borders postos <- get_posts() ## Plot postos borders plot(sf::st_geometry(postos))
plot(sf::st_geometry(provincias)) plot(sf::st_geometry(settlements), pch = 16, cex = 0.2, col = "blue", add = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.