Nothing
# clgeo_SummaryReport.R
# ------------------------
# Author: Emmanuel Blondel <emmanuel.blondel1 at gmail.com>
# Created: 2014-09-24
#
#' @title clgeo_SummaryReport
#'
#' @description
#' Function to get summary of a spatial data collection report returned by
#' \code{\link{clgeo_CollectionReport}}
#'
#' @author
#' Emmanuel Blondel \email{emmanuel.blondel1@@gmail.com}
#'
#' @param report a report object as returned by\code{\link{clgeo_CollectionReport}}
#' @return an object of class \code{table} giving the report summary. The summary
#' gives the counting by value for each of the report columns:
#' \itemize{
#' \item \emph{type} eventual geometry issue
#' \item \emph{valid} geometry validity status (according to OGC specifications)
#' \item \emph{issue_type} type of geometry issue
#' \item \emph{msg} catched message when error raised about geometry
#' }
#'
#' @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)
#'
#' @seealso \code{\link{clgeo_CollectionReport}}
#'
#' @aliases clgeo_SummaryReport
#'
#' @keywords geometry validity summary
#'
#'
clgeo_SummaryReport <- function(report){
return(summary(report[,-4]))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.