title: How to use apoc.load.csv in conjunction with apoc.create.node
body: <p>I need to import a CSV file and create a node from each record. I am using APOC because supposedly I can use a column in the CSV file to define each node type as the nodes are created. </p>
  
  <p>This doesn't work:</p>
  
  <pre><code>CALL apoc.load.csv('FILE:///C:/Temp/Test/Test/Neo4jTest/import/Neo4j_AttributeProvenance.csv',{sep:","})  YIELD map
  CALL apoc.create.node(['map.AttributeName'], {key:['map.NodeID']}) return count(*)
  </code></pre>
  
  <p>This is the error:</p>
  
  <pre><code>Procedure call inside a query does not support naming results implicitly (name explicitly using `YIELD` instead) (line 2, column 1 (offset: 124))
  "CALL apoc.create.node(['map.AttributeName'], {key:['map.NodeID']}) return count(*)"
  </code></pre>
  
  <p>I also tried this syntax:</p>
  
  <pre><code>CALL apoc.load.csv('FILE:///C:/Temp/Test/Test/Neo4jTest/import/Neo4j_AttributeProvenance.csv',{sep:","})  YIELD map
  CALL apoc.create.node(map.AttributeName, {key:map.NodeID}) return count(*)
  </code></pre>