You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
add the advanced search to the README.Rmd as a possible source for ID lists
try a read_ID_list() function or retrieve_IDs(adv_search_URL = "...") as a 2nd step after manually puzzling together a query on https://bacdive.dsmz.de/advsearch
take semi-automatic approach: user formulates query, copy-paste URL to a BacDiveR function (i.e. retrieve_search_results()), then append ?download, readLines() & purrr::map(retrieve_data(..., searchType = "bacdive_id))
Problem: multiple large lists => EITHER refactor r_d to take ID vector, OR construct large list within r_s_r.
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:
add the advanced search to theREADME.Rmd
as a possible source for ID liststry aread_ID_list()
function orretrieve_IDs(adv_search_URL = "...")
as a 2nd step after manually puzzling together a query on https://bacdive.dsmz.de/advsearchretrieve_search_results()
), then append?download
,readLines()
&purrr::map(retrieve_data(..., searchType = "bacdive_id))
r_d
to take ID vector, OR construct large list withinr_s_r
.The text was updated successfully, but these errors were encountered: