R/neo4j_extract.R
neo4j_header_relations.Rd
Assemble a header for loading edge data into neo4j
neo4j_header_relations(
data,
relation_type_field,
relation_src_field,
relation_dst_field,
ignore_fields = NULL,
array_fields
)
a data frame to be exported
field name with values describing the relationship type
field name with id values for the node where the relation starts
field name with id values for the node where the relation ends
logical to indicate which fields should be ignored (if any), Default: NULL
a vector of field names for fields that contain arrays
a string with header info that can be used by neo4j imports
if (FALSE) { # \dontrun{
if(interactive()){
neo4j_header_edges(data)
}
} # }