Learn R Programming

rif (version 0.2.0)

vocabulary: Vocabulary services - get terms that match a prefix

Description

Vocabulary services - get terms that match a prefix

Usage

vocabulary(prefix = NULL, id = NULL, limit = 20, category = NULL,
  vocabulary = NULL, key = NULL, ...)

Arguments

prefix, id
(character) The prefix, or id of the term. Use one or the other
limit
The number of candidates to return. Default: 20
category
A category
vocabulary
A vocabulary
key
(character) API key. required either passed in here or save as an env var or R option. see rif and Startup
...
Curl options passed on to crul::HttpClient()

See Also

Other vocabulary: vocabulary_categories, vocabulary_providers, vocabulary_search, vocabulary_suggest

Examples

Run this code
## Not run: ------------------------------------
# vocabulary(prefix = "cell")
# vocabulary(prefix = "cell", limit = 4)
# vocabulary(prefix = "axon")
# vocabulary(id = "GO_0022407")
## ---------------------------------------------

Run the code above in your browser using DataLab