check_for_status {ArctosR} | R Documentation |
Check if the query object ends with a successful response
Description
Checks if a response failed as part of a query.
Usage
check_for_status(query)
Arguments
query |
A query object to check the return status of |
Value
TRUE if the query succeeded, FALSE otherwise
Examples
library(ArctosR)
# query with an invalid column name 'paarts'
query <- get_records(
scientific_name = "Canis lupus", guid_prefix = "MSB:Mamm",
columns = list("guid", "paarts", "partdetail")
)
check_for_status(query)
[Package ArctosR version 0.1.1 Index]