Retrieve the IDs for any VecTraits datasets matching the given filter.
Arguments
- field
a field of VecTraits to search.
- operator
an operator to use when searching.
- value
the value that the field might/might not be.
- basereq
an httr2 request object, as generated by
vb_basereq(). IfNA, uses the default request.
Valid fields
The following field names are valid (shortcut names are listed in brackets):
DatasetID(id)OriginalTraitName(traitname)VariablesInteractor1Order(order)Interactor1Family(family)Interactor1Genus(genus)Interactor1Species(species, spp)Interactor1Stage(stage)Interactor1Sex(sex)Interactor2Genus(genus2)Interactor2Species(species2, spp2)Citation(cite)DOICuratedByDOI(curateddoi)SubmittedBy(who)Tags
Valid operators
The following operators are valid (alternative names are listed in brackets):
contains(contain, has, have)!contains(!contains, !has, !have, ncontains)equals(=, ==, equal, eq)!equals(!=, not, !equal, !eq, neq)starts(starts with, start with, start, sw)!starts(not starts with, not start with, !start, nsw)in(within)!in(not in, not within, !within, nin)