Last active
January 24, 2018 22:12
-
-
Save suellenstringer-hye/eb9d56bd55943f01df4bfb3378ac4be3 to your computer and use it in GitHub Desktop.
Cypher code for Monsters
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
LOAD CSV WITH HEADERS FROM "https://raw.githubusercontent.com/SuellenStringer-Hye/VUIR-Data-Project/master/Divinity/monsters.csv" AS csvLine | |
CREATE (p:Monster { id: csvLine.MnstID, name: csvLine.Monster, desc: csvLine.Description }) | |
LOAD CSV WITH HEADERS FROM "https://raw.githubusercontent.com/SuellenStringer-Hye/VUIR-Data-Project/master/Divinity/weakness.csv" AS csvLine | |
CREATE (p:Weakness { id: csvLine.WkID, weakness: csvLine.Weakness, desc: csvLine.Description }) | |
LOAD CSV WITH HEADERS FROM "https://raw.githubusercontent.com/SuellenStringer-Hye/VUIR-Data-Project/master/Divinity/ability.csv" AS csvLine | |
CREATE (p:Ability { id: csvLine.abID, ability: csvLine.Ability, desc: csvLine.Description }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment