AtlasOfLivingAustralia / galah-R

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

Add `galah_identify` #122

Closed daxkellie closed 2 years ago

daxkellie commented 2 years ago

To be consistent that functions prefixed by search_ are used for information lookup, whereas function prefixed by galah_ are used for filtering queries, making a galah_ function for taxonomic filtering will be more intuitive and consistent.

galah_identify will act as a filtering function within data queries, e.g., :

galah_call() %>%
  galah_identify("reptilia") %>%
  atlas_counts()

Then search_taxa will then be simplified to be a taxa lookup function that cannot be used within a galah_call() piped query

daxkellie commented 2 years ago

Addressed in previous commits: 2850a45b15b0647e2319c82a152aca273691dea4 9b98c00b506e22ba4c4e7c86882e5452360719c5 0d5b14d9970c2e5c6aab75ff7bddf7ddeee07898