Skip to content

Instantly share code, notes, and snippets.

@suellenstringer-hye
Last active January 24, 2018 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suellenstringer-hye/eb9d56bd55943f01df4bfb3378ac4be3 to your computer and use it in GitHub Desktop.
Save suellenstringer-hye/eb9d56bd55943f01df4bfb3378ac4be3 to your computer and use it in GitHub Desktop.
Cypher code for Monsters
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