neo4j-rstats / neo4r

A Modern and Flexible Neo4J Driver
https://neo4j-rstats.github.io/user-guide/
Other
106 stars 30 forks source link

Return results without parsing it #62

Closed ColinFay closed 2 years ago

ColinFay commented 5 years ago

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

usuallycwdillon commented 3 years ago

+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) 
)
ColinFay commented 2 years ago

Closed via #86