thomasp85 / tidygraph

A tidy API for graph manipulation
https://tidygraph.data-imaginist.com
Other
546 stars 61 forks source link

Neo4J backend (and other graph dbs) #9

Open thomasp85 opened 7 years ago

thomasp85 commented 7 years ago

This is really long down the roadmap but could be a very cool extension of dplyr's support for SQL backends

RMHogervorst commented 7 years ago

There is this package :https://cran.r-project.org/web/packages/RNeo4j/index.html but it just sends queries to the neo4j server. some sort of efficient translation to Cypher would be nice

RMHogervorst commented 6 years ago

Just updating that Colin is working on the general interface with neo4j in https://github.com/neo4j-rstats/neo4r I'm thinking of rewriting some of the tidygraph verbs to support tidy manipulation of the graph in the database in neo4j-rstats/neo4r#4

thomasp85 commented 6 years ago

If you want to spend some time on exploring this I would be very supportive. I tweeted a bit with colin about it when he announced the new neo4j package...

I'm still a bit unsure to what extend dplyr/sql verbs can be translated to cypher, but a starting point could be to just support very basic queries that returns a tbl_graph that can be further manipulated with tidygraph. Then it could be gradually extended from there...