populate_ont: Populate an empty ontology table

Description Usage Arguments Details

Description

Populate an empty ontology table

Usage

1
2
3
4
populate_ont(ont, modi = NULL, scheme, include_code = T,
  def_facttablecolumn = "concept_cd", def_tablename = "concept_dimension",
  def_columnname = "concept_path", def_columndatatype = "T",
  def_operator = "LIKE", host = "", admin = "", pass = "")

Arguments

ont

The ontology to insert

modi

The modifiers to insert

scheme

The scheme to use for this ontology

include_code

Whether to include the code in the label or not

def_facttablecolumn

Default value for that column

def_tablename

Default value for that column

def_columnname

Default value for that column

def_columndatatype

Default value for that column

def_operator

Default value for that column

host

The host to connect to

admin

The admin account for the PostgreSQL database

pass

the password for the admin account

Details

Populate an ontology table ont is a dataframe containing at least the c_fullname column, a character vector containing all the leaves of the ontology with their respective path, in the form code_level1 label_level1\code_level2 label_level2\...\code_leaf label_leaf The function rebuilds the folders automatically

modi is a dataframe containing at least the c_fullname column, a character vector containing the modifiers, in the form code_modi label_modi The modifiers apply on all the ontology


MaximeWack/R2b2 documentation built on May 8, 2019, 9:52 a.m.