# NOT RUN {
#download some observations
x <- occurrences(taxon = "Amblyornis newtonianus",download_reason_id = 10,
email = "ala4r@ala.org.au")
#summarize the occurrences
summary(x)
#keep spatially unique data at 0.01 degrees (latitudeOriginal and longitudeOriginal)
tt <- unique(x,spatial = 0.01)
summary(tt)
#keep spatially unique data that is also unique year/month for the
#collection date
tt <- unique(x,spatial = 0,temporal = 'yearmonth')
summary(tt)
#keep only information for which fatal or "error" assertions do not exist
tt <- subset(x)
summary(tt)
# }
Run the code above in your browser using DataLab