knitr::opts_chunk$set(
  message = FALSE,
  warning = FALSE,
  error = FALSE,
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

mozambique: Datasets for Designing Surveys in Mozambique

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Lifecycle: experimental R-CMD-check test-coverage Codecov test coverage CodeFactor

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.

Installation

You can install the development version from GitHub with:

Usage

Country borders

library(mozambique)

## Retrieve country borders
country <- get_country()

## Plot country borders
plot(sf::st_geometry(country))

Provincias borders

## Retrieve provincias borders
provincias <- get_provinces()

## Plot provincias borders
plot(sf::st_geometry(provincias))

Distritos borders

## Retrieve distritos borders
distritos <- get_districts()

## Plot distritos borders
plot(sf::st_geometry(distritos))

Postos borders

## Retrieve postos borders
postos <- get_posts()

## Plot postos borders
plot(sf::st_geometry(postos))

Settlements

plot(sf::st_geometry(provincias))
plot(sf::st_geometry(settlements), pch = 16, cex = 0.2, col = "blue", add = TRUE)


spatialworks/mozambique documentation built on March 21, 2022, 6:31 p.m.