R6 class providing access to domain operations.
Domain list with summary.
Paginated concepts.
new()Create a new DomainsResource.
DomainsResource$new(base_req)base_reqBase httr2 request object.
list()List all domains.
DomainsResource$list(
vocabulary_ids = NULL,
include_concept_counts = TRUE,
include_statistics = FALSE,
include_examples = FALSE,
standard_only = FALSE,
active_only = TRUE,
sort_by = "domain_id",
sort_order = "asc"
)vocabulary_idsFilter by vocabularies.
include_concept_countsInclude concept counts. Default TRUE.
include_statisticsInclude detailed statistics. Default FALSE.
include_examplesInclude example concepts. Default FALSE.
standard_onlyOnly standard concepts. Default FALSE.
active_onlyOnly active domains. Default TRUE.
sort_bySort field. Default "domain_id".
sort_orderSort order. Default "asc".
concepts()Get concepts in a domain.
DomainsResource$concepts(
domain_id,
vocabulary_ids = NULL,
concept_class_ids = NULL,
standard_only = FALSE,
page = 1,
page_size = 50
)domain_idThe domain ID.
vocabulary_idsFilter by vocabularies.
concept_class_idsFilter by concept classes.
standard_onlyOnly standard concepts. Default FALSE.
pagePage number. Default 1.
page_sizeResults per page. Default 50.
clone()The objects of this class are cloneable with this method.
DomainsResource$clone(deep = FALSE)deepWhether to make a deep clone.