title: Data Frame from RNeo4j cypher() output
body: <p>I've got a problem with this code:</p>
  
  <pre><code>library(RNeo4j)
  library(dplyr)
  library(stringr)
  library(MASS)
  
  graph = startGraph("http://localhost:7474/db/data/", username = "neo4j", password = ",yT:/9L)8aoi8t")
  
  query = "MATCH (m:MARKETS)
  MATCH (n:CBP_NAICS {msa_naics: m.jll_msa} )
  WHERE n.naics CONTAINS '----'
  match (c1:Category)
  WHERE toString(c1.id) = left(n.naics,2)
  match (q:JLL_qtr {qtr: 'Q2-2016',mkt: m.mkt,level: 1} )
  match (c:BldgClass {qtr: q.qtr,mkt: m.mkt,class: 'Totals'} )
  match (N:Neighborhood {qtr: c.qtr,nbrhd: c.nbrhd,nbrhd: q.nbrhd,BldgClass: c.class} )
  return m.mkt, n.msa_naics, ... ,N.AvgOverallAskRent"
  
  naics_jll &lt;- cypher(graph, query)
  
  df_corr &lt;- naics_jll[sapply(naics_jll, is.numeric)]
  </code></pre>
  
  <ol>
  <li>The Neo4j query itself yields expected results when run in the Neo4j shell.</li>
  <li>In RStudio, the data frame appears correct. View(naics_jll) &amp; View(df_corr) both "look right"</li>
  <li><strong><em>However</em></strong> <code>dplyr::summarize()</code> -- for both data frames -- gives:
  <code>## data frame with 0 columns and 0 rows</code></li>
  <li>On top of that, I get "funny" results from analysis of the data in the data frames.</li>
  </ol>
  
  <p>I did both a Google search and a SO search on both <code>data frame with 0 columns and 0 rows</code> AND <code>rneo4j data frame with 0 columns and 0 rows</code>, and found nothing helpful.</p>