bdclean (version 0.1.15)

spatial_resolution: Clean data based on spatial resolution

Description

Clean data based on spatial resolution

Usage

spatial_resolution(bddata, res = 100)

Arguments

bddata

Bio diversity data in a data frame

res

The highest coordinate uncertainty required

samplePassData

When resolution is 100 meters, Coordinate Uncertainties below 100 meters will pass.

sampleFailData

When resolution is 100 meters, Coordinate Uncertainties above 100 meters will fail.

targetDWCField

coordinateUncertaintyInMeters

checkCategory

spatial

Examples

Run this code
# NOT RUN {
if(interactive()){

library(rgbif)
occdat <- occ_data(
  country = 'AU', # Country code for australia
  classKey = 359, # Class code for mammalia
  limit = 50 # Get only 50 records
)
myData <- occdat$data

responses <- spatial_resolution(myData, 1500)

}

# }

Run the code above in your browser using DataLab