This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Unzip the data-csv.zip file and rename the folder to import. | |
// Move the import folder into your Neo4j directory. | |
// $ bin/neo4j start | |
// $ bin/neo4j-shell < panama_import.cypher | |
// Delete character at line 31362, position 82 in Addresses.csv before continuing. | |
// There is an escaped quote; the backslash needs to be removed. | |
CREATE CONSTRAINT ON (n:Address) ASSERT n.node_id IS UNIQUE; | |
CREATE CONSTRAINT ON (n:Officer) ASSERT n.node_id IS UNIQUE; |