Logo Lanfrica

spatialworks/comoros

Domain:

geospatial

Record type:

dataset
Creator:
spa
Host:
Datasets for use in designing surveys in the Comoros Union # comoros: Datasets for use in designing surveys in the Comoros Union 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 the Comoros Union. ## Installation The `comoros` package is not yet released on CRAN. The development version of the package can be installed from GitHub with: ``` r if(!require(remotes)) install.packages("remotes") remotes::install_github("spatialworks/comoros") ``` ## Usage When installing `comoros`, geospatial packages on which `comoros` depends on are also installed. To use `comoros` 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) ``` ### Country borders The Comoros country borders `SpatialPolygonsDataFrame` is accessed via the `country` dataset. ``` r comoros::country #> class : SpatialPolygonsDataFrame #> features : 1 #> extent : 43.22856, 44.54067, -12.42278, -11.36528 (xmin, xmax, ymin, ymax) #> crs : +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 #> variables : 10 #> names : Shape_Leng, Shape_Area, ADM0_EN, ADM0_PCODE, ADM0_REF, ADM0ALT1EN, ADM0ALT2EN, date, validOn, validTo #> value : 4.80449064527, 0.137199933487, Comoros (the), KM, NA, NA, NA, 2018/12/28, 2019/12/05, NA ``` The country borders of the Comoros can be plotted by: ``` r sp::plot(comoros::country) ``` ### Island borders The Comoros island borders `SpatialPolygonsDataFrame` is accessed via the `island` dataset. ``` r comoros::island #> class : …

Licenses