Title: | Datasets for Designing Surveys in Mozambique |
---|---|
Description: | 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 Mozambique. |
Authors: | Ernest Guevarra [aut, cre] |
Maintainer: | Ernest Guevarra <[email protected]> |
License: | GPL (>= 3) |
Version: | 0.0.0.9000 |
Built: | 2025-02-09 03:45:10 UTC |
Source: | https://github.com/spatialworks/mozambique |
Download Mozambique shapefiles
download_shapefiles(id = "cod-ab-moz", .unzip = TRUE)
download_shapefiles(id = "cod-ab-moz", .unzip = TRUE)
id |
Identifier for Mozambique administrative boundaries from HDX. |
.unzip |
Logical. Should zip file be unzipped and extracted? Default to TRUE |
If .unzip
, list of shapefiles within the downloaded zip file else
path to downloaded zip file. Mozambique subnational administrative
boundaries zip file downloaded to specified folder.
download_shapefiles()
download_shapefiles()
Retrieve Mozambique country boundaries
get_country(layer = get_layer_name(adm = 0))
get_country(layer = get_layer_name(adm = 0))
layer |
Name of layer for country boundaries |
An sf object for the country borders of Mozambique
get_country()
get_country()
Retrieve Mozambique districts boundaries
get_districts(layer = get_layer_name(adm = 2))
get_districts(layer = get_layer_name(adm = 2))
layer |
Name of layer for districts boundaries |
An sf object for the districts borders of Mozambique
get_districts()
get_districts()
Get layer name
get_layer_name(files = download_shapefiles(), adm = NULL)
get_layer_name(files = download_shapefiles(), adm = NULL)
files |
List of shapefiles within a downloaded zip file |
adm |
Integer. Administrative level required. Either |
Layer name for specified administrative level boundary
get_layer_name(adm = 0)
get_layer_name(adm = 0)
Retrieve Mozambique posts boundaries
get_posts(layer = get_layer_name(adm = 3))
get_posts(layer = get_layer_name(adm = 3))
layer |
Name of layer for posts boundaries |
An sf object for the posts borders of Mozambique
get_posts()
get_posts()
Retrieve Mozambique provinces boundaries
get_provinces(layer = get_layer_name(adm = 1))
get_provinces(layer = get_layer_name(adm = 1))
layer |
Name of layer for provinces boundaries |
An sf object for the provinces borders of Mozambique
get_provinces()
get_provinces()
Mozambique populated places locations
ppl
ppl
A sf
object containing populated places locations of Mozambique
| Variables | Description | | osm_id | OpenStreetMap identifier | | name | Name of populated place | | source | Source of data for populated place | | population | Population size | | is_in | Populated place is in? | | place | Type of place |
https://data.humdata.org/dataset/hotosm_moz_populated_places
ppl
ppl
Mozambique settlements locations
settlements
settlements
A sf
object containing settlements locations of Mozambique
| Variables | Description | | OBJECTID | Object identifier | | FID_1 | Feature identifier | | Sett_Name | Settlement name | | F_CLASS | Feature class | | F_DESIG | Feature designation | | ADM1_Old | Administrative level 1 name - old | | ADM2_Old | Administrative level 2 name - old | | Country | Country name | | ISO3 | Tree letter code for country | | ADM1_Name | Administrative level 1 name - current | | ADM1_Code | Administrative level 1 code - current | | ADM1_ID | Administrative level 1 identifier - current | | ADM2_Name | Administrative level 2 name - current | | ADM2_Code | Administrative level 2 code - current | | ADM2_ID | Administrative level 2 identifier - current | | ADM3_Name | Administrative level 3 name - current | | ADM3_Code | Administrative level 3 code - current | | ADM3_ID | Administrative level 3 identifier - current | | ADM3_Type | Administrative level 3 type - current | | ADM3_TypeE | Administrative level 3 type in English - current | | Latitude | Latitude coordinate | | Longitude | Longitude coordinate | | SHAPE_Leng | Shape length |
https://data.humdata.org/dataset/mozambique-settlement-shapefiles
settlements
settlements