knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) require(rgdal) require(rgeos) require(raster)
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 Mali
mali
is not yet released on CRAN.
You can install the development version of mali
from GitHub with:
if(!require(devtools)) install.packages("devtools") install_github("validmeasures/mali")
The following packages will be required when accessing and manipulating map data available from the mali
package.
require(rgdal) require(rgeos) require(raster)
To access country borders, use the following command:
mali::mli0
The output provides overview information on the features included in the country borders map and the variables included in the country map data. This is a summary output for a SpatialPolygonsDataFrame
.
To plot the country borders, the plot()
function from the sp
package can be used as follows:
plot(mali::mli0)
To access region borders, use the following command:
mali::mli1
The output provides overview information on the features included in the region borders map and the variables included in the region map data. This is a summary output for a SpatialPolygonsDataFrame
.
To plot the region borders, the plot()
function from the sp
package can be used as follows:
plot(mali::mli1)
To access cercle borders, use the following command:
mali::mli2
The output provides overview information on the features included in the cercle borders map and the variables included in the cercle map data. This is a summary output for a SpatialPolygonsDataFrame
.
To plot the cercle borders, the plot()
function from the sp
package can be used as follows:
plot(mali::mli2)
To access commune borders, use the following command:
mali::mli3
The output provides overview information on the features included in the commune borders map and the variables included in the commune map data. This is a summary output for a SpatialPolygonsDataFrame
.
To plot the commune borders, the plot()
function from the sp
package can be used as follows:
plot(mali::mli3)
To access Bamako borders, use the following command:
mali::bamako
The output provides overview information on the features included in the bamako borders map and the variables included in the bamako map data. This is a summary output for a SpatialPolygonsDataFrame
.
To plot the bamako borders, the plot()
function from the sp
package can be used as follows:
plot(mali::bamako)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.