Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

maybe return photos in inat data? #214

Closed
sckott opened this issue Mar 1, 2019 · 4 comments
Closed

maybe return photos in inat data? #214

sckott opened this issue Mar 1, 2019 · 4 comments
Milestone

Comments

@sckott
Copy link
Contributor

sckott commented Mar 1, 2019

via https://discuss.ropensci.org/t/is-it-possible-to-download-inaturalist-images-with-spocc-rinat/1600

@keatonwilson
Copy link

This would be amazing - an incredibly useful addition to a number of projects our research group is working on (and likely others as well!).

@sckott
Copy link
Contributor Author

sckott commented May 21, 2019

thanks for the bump on this @keatonwilson can you try it and let me know what you think?

remotes::install_github("ropensci/spocc@sidecar")
# reload R / i.e., quit, then restart R
library(spocc)
res <- occ(query = 'Danaus plexippus', from = 'inat', limit = 50)
data.table::rbindlist(res$inat$data$Danaus_plexippus$photos)

@keatonwilson
Copy link

Just got it working! Super useful - would be easy to bulk-download photos via R or command line for further analysis. This is a great addition - thank you!

@sckott sckott added this to the v1.0 milestone May 22, 2019
@sckott
Copy link
Contributor Author

sckott commented May 22, 2019

great, glad it works. will be merged into master soon

@sckott sckott mentioned this issue May 28, 2019
@sckott sckott closed this as completed May 28, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants