read.son: Read .son-formatted (SoNIA) input files containing longitudinal network data and create a corresponding networkDynamic object
Description
A .son file is a tab-separated text file with two sections, the first describing node attribute events and the second arc attribute events. Each section has a set of defined column names as a header. See the SoNIA file specification for more information: https://sourceforge.net/p/sonia/wiki/Son_format/.
Usage
read.son(file, guess.TEA=TRUE)
Value
A network dynamic object with vertex and edge durations and attributes corresponding the the spells defined in the input file.
Arguments
file
path to the file to be read
guess.TEA
logical: should the parser guess that non-changing attribute values are intended to be static instead of TEAs?
Author
Skye Bender-deMoll
Details
Uses networkDynamic internally to build a dynamic network out of an array of vertex spells and an array of edge spells. Vertex and edge attributes will be attached, usually as TEA. However, If the values of an attribute never change, they will be attached as a static attribute. This is convenient but will be incorrect if a value was intended to be defined for only a single spell matching with the vertex activation. Setting guess.TEA=FALSE will force all attributes to be loaded as TEAs (slower).