Read/Write¶
Summary¶
The readwrite module provides functions for reading and writing ASH model data in various formats, including CSV, JSON/JSONL, and HIF (Hypergraph Interchange Format). These functions facilitate the import and export of profiles, social hypergraphs, and ASH models, enabling easy data manipulation and sharing.
CSV¶
|
|
|
|
Write a list of timestamped hyperedges to a CSV file. |
|
Read a list of timestamped hyperedges from a CSV file. |
JSON / JSONL¶
|
|
Read a dictionary of node profiles from a JSONL file. |
|
Write an ASH object to a JSON file. |
|
Read an ASH object from a JSON file. |
HIF¶
HIF (Hypergraph Interchange Format) is a file format designed for representing hypergraphs. It is particularly useful for storing and exchanging hypergraph data due to its simplicity and human-readability.
Read more about HIF here