matchOntology {arealDB}R Documentation

Match target terms with an ontology

Description

This function takes a table to replace the values of various columns with harmonised values listed in the project specific gazetteer.

Usage

matchOntology(
  table = NULL,
  columns = NULL,
  dataseries = NULL,
  ontology = NULL,
  verbose = FALSE,
  beep = NULL
)

Arguments

table

[character(1)]
a table that contains columns that should be harmonised by matching with the gazetteer.

columns

[character(1)]
the columns containing the concepts

dataseries

[character(1)]
the source dataseries from which territories are sourced.

ontology

[onto]
either a path where the ontology/gazetteer is stored, or an already loaded ontology.

verbose

['logical(1)'][logical]
whether or not to give detailed information on the process of this function.

beep

[integerish(1)]
Number specifying what sound to be played to signal the user that a point of interaction is reached by the program, see beep.

Value

Returns a table that resembles the input table where the target columns were translated according to the provided ontology.


[Package arealDB version 0.6.3 Index]