Simple test whether the attribute size of all s-attributes of a corpus is
identical (flat import XML) or not (nested import XML).
is_nested(x)
Arguments
x
A character vector with corpus ID or a corpus object.
Value
A logical value: FALSE is data structure is flat and TRUE if
data structure is nested.
Examples
use("polmineR")#>✔ corpus loaded: GERMAPARLMINI (version: 0.1.0 | build date: 2023-04-16)use("RcppCWB")#>✔ corpus loaded: REUTERS#>✔ corpus loaded: UNGA