apoc.load.csvParams

Procedure Apoc Extended

apoc.load.csvParams('urlOrBinary', {httpHeader: value}, payload, {config}) YIELD lineNo, list, map - load from CSV URL (e.g. web-api) while sending headers / payload to load CSV from 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.csvParams(urlOrBinary :: ANY?, httpHeaders :: MAP?, payload :: STRING?, config = {} :: MAP?) :: (lineNo :: INTEGER?, list :: LIST? OF ANY?, strings :: LIST? OF STRING?, map :: MAP?, stringMap :: MAP?)

Input parameters

Name Type Default

urlOrBinary

ANY?

null

httpHeaders

MAP?

null

payload

STRING?

null

config

MAP?

{}

Output parameters

Name Type

lineNo

INTEGER?

list

LIST? OF ANY?

strings

LIST? OF STRING?

map

MAP?

stringMap

MAP?