Logo Lanfrica

spatialworks/somalia

Domaine:

geospatial

Type de record:

dataset
Créateur:
spa
Hôte:
Datasets for use in designing surveys in Somalia # somalia: Datasets for Use in Designing Surveys in Somalia 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 Somalia. ## Installation `somalia` is not yet released on CRAN. You can install the development version of `somalia` from GitHub with: ``` r if(!require(devtools)) install.packages("devtools") install_github("validmeasures/somalia") ``` ## Usage The `somalia` package has the following datasets. ### Somalia map datasets Four map datasets are included in the `somalia` pacakge. These are: - Administrative level 1 or region map of Somalia (`district_map`) - Administrative level 2 or district map of Somalia (`region_map`) - Livelihood zones map of Somalia (`lhz2015`) - Villages (with geographical coordinates) of Somalia (`villages`) The administrative level 1 or region map, administrative level 2 or district map and livelihoods zones map of Somalia are provided as a dataset class `SpatialPolygonsDataFrame`. These datasets are taken from the Humanitarian Data Exchange in ESRI Shapefile format and then converted into `SpatialPolygonsDataFrame`. The villages of Somalia with geographical coordinates dataset is provided by UNICEF Somalia. ### Accessing area information from map datasets Underlying area information for the regions, districts and livelihood zones of Somalia can be accessed from the `SpatialPolygonsDataFrame` as follows: ``` r ## Regions dataset somalia::region_map@data ``` #> OBJECTID admin1Name admin1Pcod admin1RefN admin1AltN admin1Al_1 #> 0 1 Awdal SO11 Awdal #> 1 2 Bakool SO25 Bakool #> 2 …