clgeo_SummaryReport: clgeo_SummaryReport

View source: R/clgeo_SummaryReport.R

clgeo_SummaryReportR Documentation

clgeo_SummaryReport

Description

Function to get summary of a spatial data collection report returned by clgeo_CollectionReport

Usage

clgeo_SummaryReport(report)

Arguments

report

a report object as returned byclgeo_CollectionReport

Value

an object of class table giving the report summary. The summary gives the counting by value for each of the report columns:

  • type eventual geometry issue

  • valid geometry validity status (according to OGC specifications)

  • issue_type type of geometry issue

  • msg catched message when error raised about geometry

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com

See Also

clgeo_CollectionReport

Examples

 require(sf)
 file <- system.file("extdata", "example.shp", package = "cleangeo")
 sf <- sf::st_read(file)
 sp <- as(sf, "Spatial")
 
 report <- clgeo_CollectionReport(sp)
 clgeo_SummaryReport(report)
 

cleangeo documentation built on Sept. 1, 2023, 5:08 p.m.