Load an ontology
load_ontology(path = NULL)
character(1)
the path where the ontology to
load is stored.
A table of the full ontology (i.e., where attribute and mapping tables are joined).
# load an already existing ontology
load_ontology(path = system.file("extdata", "crops.rds", package = "ontologics"))
#> sources : 1
#> -> 'harmonised' (73)
#>
#> classes : 3
#> ∟ group 20 Groups of crop or livestock commoditi...
#> ∟ class 53 Classes of crop or livestock commodi...
#> ∟ crop 0 Crop or livestock commodities
#>
#> top concepts: 73
#> -> group: 'CEREALS' (10), 'FRUIT' (8), 'VEGETABLES' (6), 'UNGULATES' (5), 'BIOENERGY CROPS' (4), ...
#> -> class: 'Bioenergy herbaceous' (20), 'Barley' (20), 'Fibre crops' (20), 'Flower herbs' (20), 'Grass crops' (20), ...
#> -> crop: