neo4j-rstats / neo4r

A Modern and Flexible Neo4J Driver
https://neo4j-rstats.github.io/user-guide/
Other
106 stars 30 forks source link

Feature Request: Common Test Dataset #54

Closed Btibert3 closed 5 years ago

Btibert3 commented 5 years ago

Not a bug, but as I am looking at the docs, README, and the guide, I think it might be easier if we all had a common dataset to work through as we "learn" the api of neo4r.

It could be neat/easy to do something like neo4j_api$create_example_graph(). I am sure the command could be more succinct, but you get the idea.

This might help with tests and debugging of issues.

ColinFay commented 5 years ago

Hey,

The latest version introduces play_movies(), which is a cypher queries to create the movies dataset.

Current implementation allows to:

play_movies() %>%
  call_neo4j(con)

Can you think of other Neo4J examples that would be useful?

Btibert3 commented 5 years ago

No, this would work. Just something that is standard to help work through examples and highlight new features when they are added. Worst case, now that this is setup, I could always create a PR if I think of something else. Thanks!

ColinFay commented 5 years ago

Perfect :)

I've adjusted the README and the User guide, and now they are based on the movie dataset so it's more familiar for people coming from Neo4J :)