glimpse.corpus: Get a glimpse of a quanteda object

View source: R/glimpse.R

glimpseR Documentation

Get a glimpse of a quanteda object

Description

Implementation of glimpse for quanteda objects, allowing docvars to be viewed.

Usage

## S3 method for class 'corpus'
glimpse(x, width = NULL, ...)

Arguments

x

a corpus or quanteda object

width

width of the output; default to the width of the console

...

unused

Value

Invisibly returns the input corpus. Called primarily for its side effect of printing a summary to the console.

Examples

glimpse(data_corpus_inaugural)

quanteda.tidy documentation built on Dec. 17, 2025, 5:09 p.m.