| RelationshipsResource | R Documentation |
R6 class providing access to relationship operations.
Relationships with summary.
Relationship types with metadata.
new()Create a new RelationshipsResource.
RelationshipsResource$new(base_req)
base_reqBase httr2 request object.
get()Get relationships for a concept.
RelationshipsResource$get( concept_id, relationship_type = NULL, target_vocabulary = NULL, include_invalid = FALSE, page = 1, page_size = 50 )
concept_idThe concept ID.
relationship_typeFilter by relationship type.
target_vocabularyFilter by target vocabulary.
include_invalidInclude invalid relationships. Default FALSE.
pagePage number. Default 1.
page_sizeResults per page. Default 50.
types()Get available relationship types.
RelationshipsResource$types( vocabulary_ids = NULL, include_reverse = FALSE, include_usage_stats = FALSE, include_examples = FALSE, category = NULL, is_defining = NULL, standard_only = FALSE, page = 1, page_size = 100 )
vocabulary_idsFilter by vocabularies.
include_reverseInclude reverse relationships. Default FALSE.
include_usage_statsInclude usage statistics. Default FALSE.
include_examplesInclude example concepts. Default FALSE.
categoryFilter by category.
is_definingFilter by defining status.
standard_onlyOnly standard relationships. Default FALSE.
pagePage number. Default 1.
page_sizeResults per page. Default 100.
print()Print resource information.
RelationshipsResource$print()
clone()The objects of this class are cloneable with this method.
RelationshipsResource$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.