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

Enable data retrieval from BacDive's advanced search results #58

Closed katrinleinweber closed 6 years ago

katrinleinweber commented 6 years ago

https://bacdive.dsmz.de/advsearch?advsearch=search&site=advsearch&searchparams%5B20%5D%5Bcontenttype%5D=text&searchparams%5B20%5D%5Btypecontent%5D=contains&searchparams%5B20%5D%5Bsearchterm%5D=pacific&searchparams%5B100%5D%5Bcontenttype%5D=text&searchparams%5B100%5D%5Btypecontent%5D=beginswith&searchparams%5B100%5D%5Bsearchterm%5D=Russ&searchparams%5B17%5D%5Bsearchterm%5D=Europe

is basically an SQL-like interface (see #32) that allows a CSV export. I wonder whether it would be possible to formulate the query URL in R, auto-download the offered CSV & then call retrieve_data(... , searchType = "bacdive_id") on the hits.

In any case: