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

Installation

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")

Usage

Accessing Mali map data

The following packages will be required when accessing and manipulating map data available from the mali package.

require(rgdal)
require(rgeos)
require(raster)

Country borders

To access country borders, use the following command:

mali::mli0
#> class       : SpatialPolygonsDataFrame 
#> features    : 1 
#> extent      : -12.23924, 4.24467, 10.14137, 24.99951  (xmin, xmax, ymin, ymax)
#> coord. ref. : +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 
#> variables   : 11
#> names       : OBJECTID_1, admin0Name, admin0Pcod, admin0RefN, admin0AltN, admin0Al_1,       date,    validOn, validTo, Shape_Leng, Shape_Area 
#> value       :          1,       Mali,         ML,       Mali,         NA,         NA, 2012/12/31, 2015/04/08,      NA,   71.76874,   106.8238

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)