# NOT RUN {
occ_get(key=855998194, return="data")
occ_get(key=855998194, "hier")
occ_get(key=855998194, 'all')
# many occurrences
occ_get(key=c(101010, 240713150, 855998194), return="data")
# Verbatim data
occ_get(key=855998194, verbatim=TRUE)
occ_get(key=855998194, fields='all', verbatim=TRUE)
occ_get(key=855998194, fields=c('scientificName', 'lastCrawled', 'county'),
verbatim=TRUE)
occ_get(key=c(855998194, 620594291), verbatim=TRUE)
occ_get(key=c(855998194, 620594291), fields='all', verbatim=TRUE)
occ_get(key=c(855998194, 620594291),
fields=c('scientificName', 'decimalLatitude', 'basisOfRecord'),
verbatim=TRUE)
# Pass in curl options
occ_get(key=855998194, curlopts = list(verbose=TRUE))
# }
Run the code above in your browser using DataLab