Collapse a list of observations into a list of tables.
Collapse a list of observations into a list of tables.
This function aggregates all observations with a similar name into a common table. Note that observations with a particular name don't need consistent variables (any missing information is filled with NAs).
collapse_obs(obs)
Arguments
obs: list of observations.
Returns
Returns list with one element for each relevant XML node. Each element contains a matrix.