collapse_obs {XML2R}R Documentation

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)

Arguments

obs

list of observations.

Value

Returns list with one element for each relevant XML node. Each element contains a matrix.


[Package XML2R version 0.0.8 Index]