get_term_label | R Documentation |
Attempts to obtain the label for each term, identified by IRI, in the input list. Terms for which no label is found in the database will have NA as the label in the result (see Value).
get_term_label(
term_iris,
preserveOrder = FALSE,
verbose = FALSE,
.tryClassification = TRUE
)
term_iris |
character, a list of term IRIs |
preserveOrder |
logical, whether the resulting data frame (see Value)
is to be in the same row order as |
verbose |
logical, whether to print information about possibly time-consuming operations. |
.tryClassification |
logical, whether to try checking term classification when finding a label. If TRUE (the default), terms for which the default API endpoint does not yield a label will incur a second API call. |
A data.frame with columns "id" and "label". The "id" column contains
the IRIs. The label will be NA
for term IRIs that are not present in the
KB, or for which the KB cannot produce a label.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.