lifewatch / eurobis

Loads data from EurOBIS into R and query on taxon, location and more
https://lifewatch.github.io/eurobis/
MIT License
1 stars 0 forks source link

Query on several AphiaIDs? #10

Closed salvafern closed 2 years ago

salvafern commented 3 years ago

Hello,

I've noticed the package only accepts to request one AphiaID. I think it would be good to add the option of requesting a list of AphiaID's

For example:

library(eurobis)

data <- eurobis::getEurobisData(dasid = 216, type = "full", aphiaid = c(104878, 104464, 104466, 104633, 106485, 104108))
unique(data[["data"]]$scientificname)
# [1] "Temora longicornis"
unique(data[["data"]]$aphiaid)
# [1] "http://marinespecies.org/aphia.php?p=taxdetails&id=104878"

Salva

salvafern commented 2 years ago

Possible since 567f7d379ca38f80d7a0a384a050d395d2b27879

passed via viewParams