Description Usage Arguments Details Examples
View source: R/get_inat_obs_project.R
retrieve observations from a particular iNaturalist project. This function can be used to get either observations or information from a project by project name or ID
1 | get_inat_obs_project(grpid, type = c("observations", "info"), raw = F)
|
grpid |
Name of the group as an iNaturalist slug or group id |
type |
Either "observations" or "info" Observations returns all observations, and "info" returns project details similar to what you can find on a project webpage. |
raw |
True or False. If TRUE and searching for project info, returns the raw output of parsed JSON for that project. Otherwise just some basic information is returned as a list |
An iNaturalist slug is usually the project as single string with words seperated by hyphens. For instance, the project "State Flowers of the United States" has a slug of "state-flowers-of-the-united-states-eol-collection". This can be extracted from the URL for the project usually. The state flowers project has the following URL http://www.inaturalist.org/projects/state-flowers-of-the-united-states-eol-collection
1 2 3 4 5 | ## Not run:
get_inat_obs_project(354, type = "observations")
get_inat_obs_project("crows-in-vermont", type="info",raw=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.