Return results without parsing it
Closed this issue · 2 comments
ColinFay commented
There should be a option to not wrangle the results and return it as a list.
usuallycwdillon commented
+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)
)