View source: R/gmql_materialize.R
execute | R Documentation |
It executes GMQL query. The function works only after invoking at least one collect
execute()
None
## This statement initializes and runs the GMQL server for local execution
## and creation of results on disk. Then, with system.file() it defines
## the path to the folder "DATASET" in the subdirectory "example"
## of the package "RGMQL" and opens such folder as a GMQL dataset
## named "data"
init_gmql()
test_path <- system.file("example", "DATASET", package = "RGMQL")
data = read_gmql(test_path)
## The following statement materializes the dataset "data", previoulsy read,
## at the specific destination test_path into local folder "ds1" opportunely
## created
collect(data, dir_out = test_path)
## This statement executes GMQL query.
## Not run:
execute()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.