Instead of using vec_to_cypher, the idea would be able to pass a list and create a node from there. The benefit is that we can handle columns with NA's by dropping them and avoiding null property errors.
While this ask is for the creation of a single node, the majority of my use-cases when using R is for bulk data creation, so bonus points for the ability to dump a dataframe to a list with one entry for each row, the "rows" option in jsonlite::toJSON.
Instead of using
vec_to_cypher
, the idea would be able to pass a list and create a node from there. The benefit is that we can handle columns with NA's by dropping them and avoiding null property errors.This feature existed within RNeo4j here.
While this ask is for the creation of a single node, the majority of my use-cases when using R is for bulk data creation, so bonus points for the ability to dump a dataframe to a list with one entry for each row, the "rows" option in
jsonlite::toJSON
.