Patrick Hanly Curador

Unido: 04.may.2017 Última actividad: 17.may.2022 iNaturalist Patrocinador mensual desde febrero 2020

Ecologist at Michigan State University.

2022 Lansing City Nature Challenge: https://www.inaturalist.org/projects/city-nature-challenge-2022-greater-lansing-area

iNatTools R Package
https://zenodo.org/record/5129118#.YitV9-jMJD8

Help file for the main function iNat(): http://pjhanly.github.io/iNat/iNat.html
or by calling on ?iNat

Installation
install.packages("remotes")
library(remotes)
install_github("pjhanly/iNatTools")
library(iNatTools)

Examples

Fetch all bird observations within a kilometer of the Empire State Building:
df <- iNat(taxon_id = 3, lat = 40.748424, lng = -73.985698, radius = 1)

Fetch all observations of Gastropoda (47114) for a user_id (473359):
df <- iNat(user_id = 473359, taxon_id = 47114)

Fetch all observations of flowering dicots for a project:
df <- iNat(project="golden-ears-provincial-park", taxon_id = 47124, term_id = 12, term_value_id = 13)

Fetch deer (Cervidae) observed on 2019-06-19:
df <- iNat(taxon_id = 42158, observed_on = "2019-06-19")

Fetch all observations created for a project for the first 3 days of May 2019:
df <- iNat(project="bowerbird", created_d1="2019-05-01", created_d2="2019-05-03")

Fetch all observations of Felidae that have IUCN endangered status and are Research Grade:
df <- iNat(csi = "EN", taxon_id = 41944, quality_grade = "research")

Fetch all monarch butterfly observations within a specific bounding box of latitude and longitude:
df <- iNat(taxon_id = 48662, nelat = 40, nelng = -94, swlat = 39, swlng = -95)

Please let me know if you have any suggestions or would like additional examples added.

Ver todas