Calculates weightings between nodes for a network diagram.

make_edges(
  connections_data,
  node_id,
  node_number,
  connection_id,
  join_field = deparse(substitute(connection_id))
)

Arguments

connections_data

data detailing connections between nodes

node_id

field which identifies nodes

node_number

field identifying number for each node

connection_id

field identifying connecting objects

join_field

field to join connections data back onto itself

Value

A dataframe containing details of vertices between nodes, including weights.