Description Usage Arguments Value See Also Examples
View source: R/inat_retrieve.R
The observations can also be restricted to a single iNaturalist project, which is associated with a "slug", usually in the form of the project name as a single lower case string with words seperated by hyphens. For instance, the default "USFWS National Wildlife Refuge System" project has a slug of "usfws-national-wildlife-refuge-system". The slug can be extracted from the for the project. The USFWS NWRS project, for example, resides at http://www.inaturalist.org/projects/usfws-national-wildlife-refuge-system
1 2 3 4 |
refuge |
character scalar or vector indicating USFWS properties
on which to retrieve iNaturalist observations. It is strongly advised that
the input for this parameter result from running |
inat_proj |
character scalar of an iNaturalist project as an iNaturalist
slug or group ID. Default is to retrieve all records on the property associated
with the USFWS National Wildlife Refuge System project
("usfws-national-wildlife-refuge-system";
http://www.inaturalist.org/projects/usfws-national-wildlife-refuge-system).
Another potentially useful option is to retrieve all available iNaturalist records
on the property using ( |
taxon_name |
character scalar. Retrieve only observations associated with
|
d1 |
First date of a date range as string in the form yyyy-mm-dd (e.g. "2017-07-01").
Specifying only |
d2 |
Last date of a date range as string in the form yyyy-mm-dd (e.g. "2017-07-31").
Specifying only |
since_date |
string with ISO 8601 datetime (e.g. "2017-07-04" or
"2017-07-04T13:40:13-05:00"). Only records added or updated on iNaturalist after
this date will be returned. Primarily intended for internals use from
|
multipart |
logical (default |
verbose |
logical (default |
fwsinat
object (essentially a data.frame
with a few additional
attributes) of iNaturalist observations associated with the supplied refuge
(s)
and inat_proj
, if any, and joined, when possible, with ITIS
(http://www.itis.gov) information
inat_update
for updating a previous iNaturalist data retrieval
inat_export
for exporting an iNaturalist data retrieval
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# Default is to retrieve records for all available USFWS properties from the USFWS
# National Wildlife Refuge System projects
fws <- inat_retrieve()
fws_july17 <- inat_retrieve(d1 = "2017-07-01", d2 = "2017-07-31")
# But it works with other projects too
bon <- find_refuges("bon secour")
bs <- inat_retrieve(bon, "bon-secour-national-wildlife-refuge-bioblitz")
# Or get all available iNaturalist observations on the property
bon <- find_refuges("bon secour")
bs_all <- inat_retrieve(bon, inat_proj = NULL)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.