run_query {bolt4jr}R Documentation

Connect to Neo4j and Run a Simple Query

Description

This function demonstrates connecting to a Neo4j database via the Python neo4j driver and using pandas to manipulate the returned data.

Usage

run_query(uri, user, password, query)

Arguments

uri

Neo4j URI, e.g., "bolt://localhost:7687"

user

Username for Neo4j

password

Password for Neo4j

query

A Cypher query to execute, e.g. "MATCH (n) RETURN n LIMIT 5"

Value

A data.frame containing the query results.


[Package bolt4jr version 1.4.0 Index]