DatabaseDef-class: Class DatabaseDef

Description Slots Note Author(s) See Also Examples

Description

The DatabaseDef class is used to store properly the definition of several variables. It is created by import_vardef.

Slots

DatabaseDef

A list containing VariableDef objects.

Note

For the moment, this class is only a convenient way to store a list of VariableDef-class objects. This class will be extended in a future version of vartors to add the pathfile, a global description and others informations about the database.

Author(s)

Joris Muller

See Also

DatabaseDef objects are created by import_vardef function for the moment. It store link[=VariableDef-class]{VariableDef} objects in a list. To create a single definition of variable, use vardef.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Create a DatabaseDef from a definition of variable table
suppressWarnings(
a_DatabaseDef_object <- import_vardef(sample_descvar)
)

# Show the list of the definition of variable
a_DatabaseDef_object

# Check the class
class(a_DatabaseDef_object)

jomuller/vartors documentation built on May 19, 2019, 7:26 p.m.