taxo_level {bdclean} | R Documentation |
Clean data based on lower taxon level
taxo_level(bddata, res = "SPECIES")
bddata |
Bio diversity data in a data frame |
res |
The low rank of species required |
When resolution is Species, Subspecies and Species will pass.
When resolution is Species, Family or Genus or any lower ranks will fail.
taxonRank
taxonomic
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')
}