This function flattens the nested list into a list of "observations" (that is, a list of matrices with one row). The names of the list that is returned reflects the XML ancestory of each observation.
listsToObs(l, urls, append.value = TRUE, as.equiv = TRUE, url.map = TRUE)A list where each element reflects one "observation".
list. Should be the output from nodesToList.
character vector the same length as l. Each element should map element of l to an XML file.
logical. Should the XML value be appended to the observation?
logical. Should observations from two different files (but the same ancestory) have the same name returned?
logical. If TRUE, the 'url_key' column will contain a condensed url identifier (for each observation) and full urls will be stored in the "url_map" element. If FALSE, the full urls are included (for each observation) as a 'url' column and no "url_map" is included.