Database-class: Abstract base class for databases

Description Details Fields

Description

This class is an interface defining the functions that database classes (db_xxx.R) must implement. It is not intented for use by end-users, however if you wish to add your own database to this package, you can create a file db_databaseauthor_databasename.R and add a class that "contains" this class, in a similar manner to how the other db_xxx.R files are constructed.

Details

The functions that subclasses (classes in db_xxx.R files) must implement are the functions which contain the "stop" function, which means that an error will be thrown if the subclass does not implement that function.

Fields

dir

character containing the path to this database's folder where it can store data.


conservationscience/functionaltraits documentation built on May 22, 2020, 3:25 a.m.