AtlasOfLivingAustralia / galah-R

Query living atlases from R
https://galah.ala.org.au
38 stars 3 forks source link

add rank argument to atlas_species() #195

Open shandiya opened 1 year ago

shandiya commented 1 year ago

It would be helpful to have the option of specifying a desired taxonomic rank when searching for and downloading occurrence records. This would be especially useful in cases where certain groups of organisms e.g. protists are very rarely classified down to species level, and more often at the family level or higher.

mjwestgate commented 7 months ago

In theory this is possible, as atlas_species() is built using the occurrences/facets/download, meaning we could swap the facets argument from speciesID to...something else. There are a few questions that I have about this:

A final point; @acbuyan is working towards supporting a count argument in atlas_species(); while we're looking at syntax it would be worth tackling that question as well.