AtlasOfLivingAustralia / galah-R

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

Support piping in `galah` functions #120

Closed mjwestgate closed 2 years ago

mjwestgate commented 2 years ago

Currently, it is necessary to specify arguments within a function to narrow a query, as follows:

atlas_counts(taxa = search_taxa("Litoria"))

A more modern approach is to use piping, e.g.:

galah_call() |>
  search_taxa("Litoria") |>
  atlas_counts()
mjwestgate commented 2 years ago

Bug fix for atlas counts b914ab3f294c8312ed3807dfe56eed67d408cccd