Assemble a header for loading node data into neo4j
neo4j_header_nodes(
data,
id_field,
array_fields,
ignore_fields = NULL,
id_namespace = NULL,
label_field
)
a data frame to be exported
the name of the primary key field
a vector of field names for fields that contain arrays
a vector of field names to exclude, Default: NULL
an identifier namespace in neo4j parlance, Default: NULL
the name of the field containing labels
a string with header info that can be used by neo4j imports
if (FALSE) { # \dontrun{
if(interactive()){
neo4j_header_nodes(kth_diva_pubs(), id_field = "PID", label_field = "Title")
}
} # }