apoc.load.csvParams

Procedure APOC Full

apoc.load.csvParams('url', {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(url :: STRING?, 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

url

STRING?

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?