neo4j-rstats/neo4r

Return results without parsing it

Closed this issue · 2 comments

There should be a option to not wrangle the results and return it as a list.

+1 for this, @ColinFay
More specifically, there should be an option to return results that can be piped directly into the next operation, e.g., mutate().

resultTibble <- <query> %>% 
  call_neo4j(con, type='row') %>% 
  mutate(
    fit = map(., ~ lm(x ~ y), data = .x)),
    tidied = map(fit, tidy),
    glanced = map(fit, glance),
    augmented = map(fit, augment) 
)

Closed via #86