Create a network from a collection of line strings.
Arguments
- edges
A data frame with the network edges
- flatten
Whether all intersections between edges should be converted to nodes
- clean
Whether general cleaning tasks should be run on the generated network (see
clean_network()
for the description of tasks)