temporal_resolution: Clean data based on temporal resolution

Description Usage Arguments samplePassData sampleFailData targetDWCField checkCategory Examples

Description

Clean data based on temporal resolution

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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')

}

bdclean documentation built on May 1, 2019, 10:54 p.m.