clean: Clean spocc data

Description Usage Arguments Details Value Examples

Description

Clean spocc data

Usage

1
clean(input)

Arguments

input

An object of class occdat

Details

We'll continue to add options for cleaning data, but for now, this function:

Value

Returns an object of class occdat+occlean. See attributes of the return object for details on cleaning results.

Examples

1
2
3
4
5
6
7
8
## Not run: 
library("spocc")
res <- occ(query = c('Ursus','Accipiter','Rubus'), from = 'bison', limit=10)
class(res)
res_cleaned <- clean(input=res)
class(res_cleaned) # now with classes occdat and occclean

## End(Not run)

spoccutils documentation built on Sept. 12, 2016, 10:35 a.m.