result: Extracting Results

Description Usage Arguments Details Value AUTO Author(s)

Description

Because obects of class "data" are abstractions, they contain no actual data. Instead, the results of queries must be extracted using one of the function below.

Usage

1
2
3
4
5

Arguments

data

an object of class "data".

...

additional arguments to describe the format of the result.

Details

Arguments passed via the ellipsis should be in the format of name = expression pairs, where name is the desired name for the column in the result and expression is an expression used to construct the result.

as.data.frame is used to produce a data frame for use in R after the query has been executed.

View interacts with the online GrokIt system to visualize the result. In addition, it will call quit to end the query.

as.object represents the object in a list format corresponding to JSON notation. It is similar in structure to fromJSON in the rjson library.

Value

as.data.frame produces a data frame; as.object, a list; View will return NULL and quit R because the encapsulated information appears on the visualizations page.

AUTO

If no arguments are specified within the ellipsis, then each attribute of the data is put into a column with the same name.

Author(s)

Jon Claus at Tera Insights LLC


tera-insights/gtBase documentation built on May 31, 2019, 8:35 a.m.