is_nested: Check whether s-attributes of corpus are nested

View source: R/utils.R

is_nestedR Documentation

Check whether s-attributes of corpus are nested

Description

Simple test whether the attribute size of all s-attributes of a corpus is identical (flat import XML) or not (nested import XML).

Usage

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")
use("RcppCWB")

PolMine/polmineR documentation built on Nov. 9, 2023, 8:07 a.m.