saeplus_checkshpfiles: Check for inconsistencies in the administrative boundaries...

View source: R/saeplus_checkshpfiles.R

saeplus_checkshpfilesR Documentation

Check for inconsistencies in the administrative boundaries shapefile

Description

This function checks for errors that are often common in admin boundary shapefiles and could lead to potential problems when joining admin boundary shapefile data with other datasets such as geospatial household surveys

Usage

saeplus_checkshpfiles(shp_dt, lowest_admin, crs = 4326, file)

Arguments

shp_dt

a shapefile dataframe (class sf, data.frame/data.table) object

lowest_admin

a variable name for the lowest admin level (typically admin 3)

crs

the coordinate reference system associated with the shp_dt

file

the filename (including extension) to which a geospatial plot to show duplicated regions


SSA-Statistical-Team-Projects/SAEplus documentation built on Aug. 24, 2022, 11:26 a.m.