Description Usage Arguments Details
A shortcut to run nodify_col on multiple columns. The only difference is to enter the column names as a character vector.
1 | nodify_cols(df, col, label = "df_col_name", property_key = "Name", sep = ";")
|
df |
The data.frame containing the column of data. |
col |
The names of the data columns, as a list or vector, eg. col = c("Organization", "City", "Postal_Code") |
label |
The label to assign to these nodes. The default is to take this label from the name of the column. As a string. |
property_key |
The name for the property key for these values. Eg. "Name" for nodes labeled "Person". The default is "Name". As a string. |
sep |
The separator between items in a cell of the column, eg "," or ";" |
Assuming all defaults, with lots of simple, unique-name-only columns representing nodes that have the node label as column name, and will have unique prop called Name (or whatever you set for all of them)
ie. in Cypher: (:Label) and Label.Name
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.