importSample: Import Sample Datasets

Description Usage Arguments Examples

View source: R/importSample.R

Description

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

Usage

1
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

1
2
3
4
5
## Not run: 
graph = startGraph("http://localhost:7474/db/data/")
importSample(graph, "tweets")

## End(Not run)

RNeo4j documentation built on May 29, 2017, 4:01 p.m.