我对此代码有疑问:
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 <- cypher(graph, query)
df_corr <- naics_jll[sapply(naics_jll, is.numeric)]
dplyr::summarize()
- 对于这两个数据框 - 给出:
## data frame with 0 columns and 0 rows
我同时对data frame with 0 columns and 0 rows
和rneo4j data frame with 0 columns and 0 rows
进行了Google搜索和SO搜索,但没有发现任何有用的内容。