bdclean (version 0.1.15)

taxo_level: Clean data based on lower taxon level

Description

Clean data based on lower taxon level

Usage

taxo_level(bddata, res = "SPECIES")

Arguments

bddata

Bio diversity data in a data frame

res

The low rank of species required

samplePassData

When resolution is Species, Subspecies and Species will pass.

sampleFailData

When resolution is Species, Family or Genus or any lower ranks will fail.

targetDWCField

taxonRank

checkCategory

taxonomic

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 <- taxo_level(myData, 'SPECIES')

}

# }

Run the code above in your browser using DataLab