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 Sierra Leone.
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")
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)
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)
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)
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)
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.