0
votes

I need to upload multiple CSV files in Neo4j with each row of each CSV file being a node. How to effectively do this? I cannot concatenate the CSVs since each row is a label and the rows are the same across multiple CSVs.

It looks like the LOAD CSV command either take a single CSV and generates nodes for each row or takes a bunch of CSVs and makes a node for each CSV. Thanks!

1

1 Answers

1
votes

You can run the LOAD CSV command several times to import each of your CSVs. If you have unique data repeated across several of those CSVs, consider using MERGE with unique properties, and use ON MATCH/CREATE SET to fill out the additional properties as required.