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

sierraleone: Datasets for use in designing surveys in Sierra Leone

Lifecycle: maturing Travis build status AppVeyor build status

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 Sierra Leone.

Installation

The sierraleone packages is not yet released on CRAN. The development version of the package can be installed from GitHub with:

if(!require(remotes)) install.packages("remotes")
remotes::install_github("spatialworks/sierraleone")

Usage

When installing sierraleone, geospatial packages on which sierraleone depends on are installed. To use sierraleone package, it will be important to load these package dependencies that have been installed. This can be done by:

library(rgdal)
library(rgeos)
library(raster)

Province borders

The Sierra Leone province borders SpatialPolygonsDataFrame is accessed via the province dataset.

sierraleone::province

The province borders of Sierra Leone can be plotted by:

sp::plot(sierraleone::province)

District borders

The Sierra Leone district borders SpatialPolygonsDataFrame is accessed via the district dataset.

sierraleone::district

The district borders of Sierra Leone can be plotted by:

sp::plot(sierraleone::district)

Chiefdom borders

The Sierra Leone chiefdom borders SpatialPolygonsDataFrame is accessed via the chiefdom dataset.

sierraleone::chiefdom

The chiefdom borders of Sierra Leone can be plotted by:

sp::plot(sierraleone::chiefdom)

County borders

The Sierra Leone county borders SpatialPolygonsDataFrame is accessed via the county dataset.

sierraleone::county

The county borders of Sierra Leone can be plotted by:

sp::plot(sierraleone::county)


spatialworks/sierraleone documentation built on April 27, 2020, 12:33 a.m.