## Not run:
# # occdat object
# res <- occ(query = 'Accipiter striatus', from = 'gbif')
# res
# print(res)
# class(res)
#
# # occdatind object
# res$gbif
# print(res$gbif)
# class(res$gbif)
#
# # print summary of occdat object
# summary(res)
#
# # print summary of occdatind object
# summary(res$gbif)
#
# # Geometry based searches print slightly differently
# bounds <- c(-120, 40, -100, 45)
# (res <- occ(from = "idigbio", geometry = bounds, limit = 10))
# res$idigbio
# ## Many bounding boxes/WKT strings
# bounds <- list(c(165,-53,180,-29), c(-180,-53,-175,-29))
# res <- occ(from = "idigbio", geometry = bounds, limit = 10)
# res$idigbio
# ## End(Not run)
Run the code above in your browser using DataLab