run_query: 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)
Value
A data.frame containing the query results.
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"