collapse_obs: Collapse a list of observations into a list of tables.
Description
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).
Usage
collapse_obs(obs)
Value
Returns list with one element for each relevant XML node. Each element contains a matrix.