if (FALSE) {
# catalog number
occ_metadata(type = "catalogNumber", q=122)
# collection code
occ_metadata(type = "collectionCode", q=12)
# institution code
occ_metadata(type = "institutionCode", q='GB')
# recorded by
occ_metadata(type = "recordedBy", q='scott')
# data as character strings
occ_metadata(type = "catalogNumber", q=122, pretty=FALSE)
# Change number of results returned
occ_metadata(type = "catalogNumber", q=122, limit=10)
# Partial unique type strings work too
occ_metadata(type = "cat", q=122)
# Pass on curl options
occ_metadata(type = "cat", q=122, curlopts = list(verbose = TRUE))
}
Run the code above in your browser using DataLab