Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Flannery O'Connor loads for neo4j
LOAD CSV WITH HEADERS FROM "http://www.library.vanderbilt.edu/webimages/flannery/Name.csv" AS csvLine
CREATE (p:Person { id: csvLine.NameID, name: csvLine.Name })
LOAD CSV WITH HEADERS FROM "http://www.library.vanderbilt.edu/webimages/flannery/locations.csv" AS csvLine
CREATE (l:Location { id: csvLine.LocationID, Place: csvLine.Location })
LOAD CSV WITH HEADERS FROM "http://www.library.vanderbilt.edu/webimages/flannery/letterlocations.csv" AS csvLine
CREATE (R:Letter { id: csvLine.Letter, name: csvLine.Location })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment