Run a multiple cypher queriers
Run a multiple cypher queriers
multicypher( graph, queries, parameters = NULL, result = c("row", "graph"), arraysAsStrings = TRUE, eltSep = " || " )
graph |
the neo4j connection |
queries |
queries to submit. It can be either a character vector for which each element corresponds to a cypher query. Or it can be a list of lists with the following slots:
|
parameters |
default parameters for the cypher queries. |
result |
default way to return results. "row" will return a data frame and "graph" will return a list of nodes, a list of relationships and a list of paths (vectors of relationships identifiers). |
arraysAsStrings |
if result="row" and arraysAsStrings is TRUE (default) array from neo4j are converted to strings and array elements are separated by eltSep. |
eltSep |
if result="row" and arraysAsStrings is TRUE (default) array from neo4j are converted to strings and array elementes are separated by eltSep. |
a list of "result" of the queries (invisible). See the "result" param.
## Not run: result <- multicypher( graph, queries=list( q1="match (n) return n.value limit 5", q2=list( query="match (f {value:$val})-[r]->(t) return f, r, t limit 5", result="graph", parameters=list(val=100) ) ) ) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.