Turns typed text into the entity id the other calls need.
Arguments
- text
Free text, for example a gene symbol or a disease name.
- limit
Maximum matches to return.
- ...
Passed to
biohttp::get_json(), for examplethrottle.
Value
A biohttp envelope whose data is a list of matches (the tibble
from monarch_parse_search()) and total. total is Monarch's own count,
not the page size, so a caller can say how much was left behind rather than
presenting the first few as everything.
Examples
if (FALSE) { # \dontrun{
biohttp::body_or_null(monarch_search("Marfan syndrome"))$matches
} # }