Loading CSV files into Neo4j is so easy that it has taken only three (3) posts, so far, to explain the process. This post is a collection of loading CSV into Neo4j references. If you have others, feel free to contribute them and I will add them to this post.
LOAD CSV into Neo4j quickly and successfully by Michael Hunger on Jun 25, 2014.
Note: You can also read an interactive and live version of this blog post as a Neo4j GraphGist.
Since version 2.1 Neo4j provides out-of-the box support for CSV ingestion. The LOAD CSV command that was added to the Cypher Query language is a versatile and powerful ETL tool.
It allows you to ingest CSV data from any URL into a friendly parameter stream for your simple or complex graph update operation, that … conversion.
The June 25, 2014 post has content that is not repeated in the Oct. 18, 2014 post on loading CSV so you will need both posts, or a very fine memory.
Flexible Neo4j Batch Import with Groovy by Michael Hunger on Oct 9, 2014.
You might have data as CSV files to create nodes and relationships from in your Neo4j Graph Database.
It might be a lot of data, like many tens of million lines.
Too much for LOAD CSV to handle transactionally.
Usually you can just fire up my batch-importer and prepare node and relationship files that adhere to its input format requirements.
What follows is advice on when you may want to deviate from the batch-importer defaults and how to do so.
LOAD CVS with SUCCESS by Michael Hunger on Oct 18, 2014.
I have to admit that using our LOAD CSV facility is trickier than you and I would expect.
Several people ran into issues that they could not solve on their own.
My first blog post on LOAD CSV is still valid in it own right, and contains important aspects that I won’t repeat here.
Incomplete so reference LOAD CSV into Neo4j quickly and successfully while reading this post.
Others?