adb_ontology: Load the currently active ontology

View source: R/adb_ontology.R

adb_ontologyR Documentation

Load the currently active ontology

Description

Load the currently active ontology

Usage

adb_ontology(..., type = "ontology")

Arguments

...

combination of column name in the ontology and value to filter that column by to build a tree of the concepts nested into it; see make_tree.

type

character(1)
the type of ontology to load, either "ontology" to get the thematic concepts, or "gazetteer" to get the territories.

Value

returns a tidy table of an ontology or gazetteer that is used in an areal database.


arealDB documentation built on April 12, 2025, 1:42 a.m.