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

Add BacDive-IDs to large, returned list #47

Closed katrinleinweber closed 6 years ago

katrinleinweber commented 6 years ago

Instead of leaving the index numbers [[1]], [[2]], etc. the datasets should be named according to their bacdive_id. Which is not in the dataset itself, so it might need to be spliced out of the URL again, or retrieved from a previous, ID-containing vector.

Probably needs to be assigned in https://github.com/tibhannover/BacDiveR/blob/master/R/retrieve_data.R#L66-L70