get_source {ontologics} | R Documentation |
Get source(e) in an ontology
Description
Get source(e) in an ontology
Usage
get_source(..., regex = FALSE, ontology = NULL)
Arguments
... |
combination of column name and value to filter that column by. The
value to filter by can be provided as regular expression, if |
regex |
|
ontology |
|
Value
A table of the source(s) in the ontology according to the values in
...
Examples
ontoDir <- system.file("extdata", "crops.rds", package = "ontologics")
onto <- load_ontology(path = ontoDir)
# exact sources from a loaded ontology ...
get_source(label = "harmonised", ontology = onto)
# ... or one stored on the harddisc
get_source(version = "0.0.1", ontology = ontoDir)
# get all sources
get_source(ontology = onto)
[Package ontologics version 0.7.0 Index]