# NOT RUN {
## Make a standard query
get_inat_obs(query = "Monarch Butterfly")
## Restrict to juveniles thanks to annotations
get_inat_obs(query = "possum", annotation = c(1, 8))
## Filter by a bounding box of Northern California
bounds <- c(38.44047, -125, 40.86652, -121.837)
get_inat_obs(query = "Mule Deer", bounds = bounds)
## Filter by taxon, allows higher order filtering,
## Here we can search for just stone flies (order Plecoptera)
get_inat_obs(taxon_name = "Plecoptera")
## Get metadata (the number of results found on the server)
out <- get_inat_obs(query = "Monarch Butterfly", meta = TRUE)
out$meta
# }
Run the code above in your browser using DataLab