apoc.load.csv

Procedure

apoc.load.csv('url',{config}) YIELD lineNo, list, map - load CSV fom URL as stream of values, config contains any of: {skip:1,limit:5,header:false,sep:'TAB',ignore:['tmp'],nullValues:['na'],arraySep:';',mapping:{years:{type:'int',arraySep:'-',array:false,name:'age',ignore:false}}

Signature

apoc.load.csv(url :: STRING?, config = {} :: MAP?) :: (lineNo :: INTEGER?, list :: LIST? OF ANY?, strings :: LIST? OF STRING?, map :: MAP?, stringMap :: MAP?)

Input parameters

Name Type Default

url

STRING?

null

config

MAP?

{}

Output parameters

Name Type

lineNo

INTEGER?

list

LIST? OF ANY?

strings

LIST? OF STRING?

map

MAP?

stringMap

MAP?