kuanb / peartree

peartree: A library for converting transit data into a directed graph for sketch network analysis.
MIT License
201 stars 23 forks source link

[feature] to_csv peartree method #81

Closed kuanb closed 6 years ago

kuanb commented 6 years ago

I don't think peartree needs to support hdfs, at least not yet. But, it would be nice to save your graphs, especially as recreating them (particularly for larger feeds) can take upwards of ten minutes (which itself is lame).

I'd propose an output that is a zip of 2 csvs:

  1. nodes
  2. edges

... and a .json that contains the following keys:

  1. name ... anything else?