Skip to contents

Decode one legacy .spv table (detail-xml structure + raw case data)

Usage

.spv_decode_legacy_table(xml_raw, data, title = NA_character_)

Arguments

xml_raw

raw vector or string: the path member's XML content (a <visualization> document).

data

the decoded raw case data for this table's dataPath member, as returned by .spv_decode_legacy_data().

title

optional table title (from the structure reader's own <title> label, kept separate from this XML's own name so both formats agree on where a title comes from).

Value

a data.frame in the same shape .spv_decode_light_table() returns (one row per cell, one column per dimension holding that cell's category label, plus value), or NULL if this table uses a construct out of this port's scope (falls through to the caller's HTML fallback).