Skip to content

Instantly share code, notes, and snippets.

@aswad32
Last active November 6, 2018 16:00
Show Gist options
  • Save aswad32/3750200547dc836a030bd5164d7d5cc3 to your computer and use it in GitHub Desktop.
Save aswad32/3750200547dc836a030bd5164d7d5cc3 to your computer and use it in GitHub Desktop.
LOAD CSV WITH HEADERS FROM "file:///offshore_leaks.nodes.officer.csv" AS csvLine FIELDTERMINATOR ','
CREATE (p:offshoreLeaksOfficer {nodeId:csvLine.node_id, name:csvLine.name, countryCodes:csvLine.country_codes,
countries:csvLine.countries, sourceId:csvLine.sourceID, validUntil:csvLine.valid_until, note:csvLine.note})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment