bdclean (version 0.1.15)

temporal_resolution: Clean data based on temporal resolution

Description

Clean data based on temporal resolution

Usage

temporal_resolution(bddata, res = "Day")

Arguments

bddata

Bio diversity data in a data frame

res

restriction of records with/without data, month, year fields

samplePassData

When resolution is day, records with day specified will pass.

sampleFailData

When resolution is month, records with NA/empty month specified will fail.

targetDWCField

day, month, year

checkCategory

temporal

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(temporal_resolution, 'Day')

}

# }

Run the code above in your browser using DataCamp Workspace