viewAllDatasetInfo: (internal) Display meta-info of all datasets

Description Usage Arguments Methods (by class) Examples

Description

The method displays the meta-info of all datasets available in the project directory. The display is through a separate a table viewer or a plain text editor intended for human to browse and search. Before calling this function, the files under the 'combo_dump' sub-directory of the project directory should be made available through the function getAllDatasetInfo.

Usage

1
2
3
4
5
viewAllDatasetInfo(object, ...)

## S4 method for signature 'Commons'
viewAllDatasetInfo(object, ..., showAs = "table",
  editor = "")

Arguments

object

Commons class object.

...

There are optional arguments.

showAs

a character string. (optional) When the value is 'table', displays the data as a table through a platform specific table viewer; When it is 'json', displays the json text through a plain text editor; When it is 'text', displays in a brief left-justified text format.

editor

a character string. (optional) The name of your favorite plain text editor. It should be executable from a command-line prompt of the respective platform. For example, notepad (Windows), vim, emacs (Unix), gedit (Ubuntu), nedit (CentOS), etc.

Methods (by class)

Examples

1
2
3
4
5
6
7
8
## Not run: 

c <- Commons()
viewAllDatasetInfo(c) 
viewAllDatasetInfo(c, showAs = 'json', editor='notepad')
viewAllDatasetInfo(c, showAs = 'text', editor='gedit')

## End(Not run)

jameslhao/dbgapr_dev documentation built on May 8, 2019, 11:03 p.m.