Logo Lanfrica

spatialworks/tanzania

Domaine:

geospatial

Type de record:

dataset
Créateur:
spa
Hôte:
Datasets for use in designing surveys in Tanzania # tanzania: Datasets for Use in Designing Surveys in Tanzania 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 Tanzania. ## Installation The development version of the `tanzania` package can be installed from GitHub with: ``` r if(!require(remotes)) install.packages("remotes") remotes::install_github("spatialworks/tanzania") ``` ## Usage When installing `tanzania`, geospatial packages on which `tanzania` depends on are also installed. To use `tanzania` package, it will be important to load these package dependencies that have been installed. This can be done by: ``` r library(rgdal) library(rgeos) library(raster) ``` ### Region borders The Tanzania region borders is accessed via the `region` dataset. ``` r tanzania::region #> class : SpatialPolygonsDataFrame #> features : 30 #> extent : 29.38074, 40.44564, -11.76401, -0.9857875 (xmin, xmax, ymin, ymax) #> crs : +proj=longlat +datum=WGS84 +no_defs #> variables : 2 #> names : Region_Cod, Region_Nam #> min values : 01, Arusha #> max values : 55, Tanga ``` The region borders of Tanzania can be plotted by: ``` r sp::plot(tanzania::region) ``` ### District borders The Tanzania district borders is accessed via the `district` dataset. ``` r tanzania::district #> class : SpatialPolygonsDataFrame #> features : 195 #> extent : 29.59019, 40.44564, -11.76401, -0.9857875 (xmin, xmax, ymin, ymax) #> crs : +proj=longlat +datum=WGS84 +no_defs #> variables : 4 #> names : Region_Nam, Region_Cod, District_C, NewDist20 #> min values : Arusha …

Languages

Licenses