Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

import_from_df

Imports a data.frame in the neo4j graph database


Description

This function only works with localhost Neo4j instances.

Usage

import_from_df(graph, cql, toImport, periodicCommit = 10000, ...)

Arguments

graph

the neo4j connection

cql

the CQL query to be applied on each row of toImport. Use the 'row' prefix to refer to the data.frame column.

toImport

the data.frame to be imported as "row". Use "row.FIELD" in the cql query to refer to one FIELD of the toImport data.frame

periodicCommit

use periodic commit when loading the data (default: 10000).

...

further parameters for cypher()

See Also


neo2R

Neo4j to R

v2.1.0
GPL-3
Authors
Patrice Godard
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.