RNeo4j (version 1.6.4)

importSample: Import Sample Datasets

Description

Populate the graph database with one of the sample datasets supplied with this package.

Usage

importSample(graph, data, input = TRUE)

Arguments

graph
A graph object.
data
A character string. Datasets include "tweets", "dfw", "caltrain", and "movies".
input
A logical constant. If TRUE, require confirmation.

Examples

Run this code
## Not run: 
# graph = startGraph("http://localhost:7474/db/data/")
# importSample(graph, "tweets")
# ## End(Not run)

Run the code above in your browser using DataCamp Workspace