Start an ontology

start_ontology(
  name = NULL,
  version = NULL,
  path = NULL,
  code = ".xx",
  description = NULL,
  homepage = NULL,
  uri_prefix = NULL,
  license = NULL,
  notes = NULL
)

Arguments

name

character(1)
the path of the ontology.

version

character(1)
the version of the ontology.

path

character(1)
the path where the ontology shall be stored.

code

double(1)
format of a single code snippet that is concatenated for nested levels.

description

character(1)
a brief description of the new ontology.

homepage

character(1)
the URL to the homepage of the new ontology.

uri_prefix

character(1)
the basic URL to construct URIs for all concepts.

license

character(1)
any string describing the license under which this ontology can be (re)used.

notes

character(1)
any notes that might apply to this ontology.

Value

it returns the new, empty ontology and also stores that within the directory specified in path.

Examples

start_ontology(name = "crops", path = tempdir())
#>   sources : 1
#>     -> 'harmonised' (0)
#> 
#>   classes : 0 
#> 
#>   top concepts: 0 
#>