TIBHannover / BacDiveR

Inofficial R client for the DSMZ's Bacterial Diversity Metadatabase (former contact: @katrinleinweber). https://api.bacdive.dsmz.de/client_examples seems to be the official alternatives.
https://TIBHannover.GitHub.io/BacDiveR/
MIT License
10 stars 12 forks source link

Convenience functions for downloading entire domain, phylum, class, order & family #95

Open katrinleinweber opened 5 years ago

katrinleinweber commented 5 years ago

I suggest to add a feature. As a generally interested researcher, I would like to see functions that help me download higher-order taxonomic units, in order to investigate them offline.

The taxon search works can only go as high as genus. I write a bunch of functions a la retrieve_domain("...") that pass on "..." to retrieve_search_results() with a pre-configured queryURL.

E.g.: https://bacdive.dsmz.de/advsearch?advsearch=search&site=advsearch&searchparams%5B70%5D%5Bcontenttype%5D=text&searchparams%5B70%5D%5Btypecontent%5D=contains&searchparams%5B70%5D%5Bsearchterm%5D=DOMAIN