Description Usage Arguments Value Examples
The function uploads a sample data set to MarkLogic Server and returns a ml.data.frame object. Provided data sets are:
"baskets" - sample order documents that can be used with the ml.arules function.
To remove the sample use the rm.ml.data.frame on the returned ml.data.frame object.
1 | ml.load.sample.data(conn, dataSet = "baskets", name = "")
|
conn |
A ml.conn-class with a connection to a MarkLoic server |
dataSet |
Which dataset to upload, "baskets" |
name |
The name of the object. The data will be added to a collection with that name. If not provided the dataSet name is used. |
A ml.data.frame object pointing to the uploaded dataset.
1 2 3 4 5 | ## Not run:
locConn <- ml.connect()
mlBaskets <- ml.load.sample.data(locConn, "baskets")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.