Adjust the Carob vocabulary. Normally by adding additional terms from another vocabulary

carob_vocabulary(x=NULL, save=FALSE, add=TRUE, reset=FALSE)

Arguments

x

character. The vocabulary (ies) to use

save

logical. Save the values of x so that it also gets used in future sessions?

add

logical. Add this to the default vocabulary?

reset

logical. Reset to the default settings? Setting this to TRUE overrides the other settings

Value

character, if is.null(x)

Examples

  f <- system.file("voc", package="vocal")
  carob_vocabulary(f)
#> Error : incomplete values files (required columns absent):
#>   - 'currency': missing name
  carob_vocabulary()
#> [1] "github:controvoc/terminag"                
#> [2] "/home/runner/work/_temp/Library/vocal/voc"