Retrieve the IDs for any datasets matching the given database.
Arguments
- ids
an
ohvbd.hub.searchsearch result fromsearch_hub().- db
a database name as a string. One of
"vt","vd","gbif","px".
Note
If filter_db() recieves an ohvbd.ids object by mistake, it will transparently return it if the source database matches db.
Examples
if (FALSE) { # interactive()
search_hub("Ixodes ricinus")
search_hub("Ixodes ricinus") |>
filter_db("vt") |>
fetch() |>
extract()
}