I hereby claim:
- I am greguk on github.
- I am gregit (https://keybase.io/gregit) on keybase.
- I have a public key ASCpzn-BxgJBCiY5QF_FOLs0KC394jbkv0V2spsr2iBv-go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
ICIJ Offshore Leaks Database 2016 - Loading into Neo4j | |
Data is available from: https://offshoreleaks.icij.org/pages/database | |
#Most of the CSV's arent that clean. Tidy them up to replace , delimiiter with | | |
USING PERIODIC COMMIT | |
LOAD CSV WITH HEADERS FROM 'file:///offshore_leaks_csvs/Addresses.csv' AS line | |
FIELDTERMINATOR '|' | |
WITH line |
import SocketServer | |
import BaseHTTPServer | |
import ssl | |
from SimpleXMLRPCServer import SimpleXMLRPCRequestHandler, SimpleXMLRPCDispatcher | |
from os import path | |
try: | |
import fcntl | |
except ImportError: | |
fcntl = None |