Description Usage Arguments Value Examples
Primary function to retrive observations from iNaturalist, allows users to search for data, or just filter results by a subset of what is offered by the API
1 2 3 |
query |
Query string for a general search |
quality |
the quality grade to be used. Must be either "casual" or "research" If left blank both will be returned. |
geo |
flag for returning only results that are georeferenced, TRUE will exclude non-georeferenced results, but they cannot be excluded. |
year |
return observations only in that year (can only be one year, not a range of years) |
month |
return observations only by month, must be numeric, 1...12 |
day |
return observations only on a given day of the month, 1...31 |
bounds |
a bounding box of longitude (-180 to 180) and latitude (-90 to 90) to search within. It is a vector in the form of southern latitude, western longitude, northern latitude, and easter longitude |
maxresults |
the maximum number of results to return |
a dataframe of the number of observations requestsed
1 2 3 4 5 6 7 8 9 | ## Not run:
### Make a standard query
get_obs_inat(query="Monarch Butterfly")
##Filter by a bounding box of Northern California
bounds <- c(38.44047,-125,40.86652,-121.837)
get_obs_inat(query="Mule Deer", bounds=bounds)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.