Learn R Programming

quanteda (version 2.1.2)

metadoc: Get or set document-level meta-data

Description

Get or set document-level meta-data

Usage

metadoc(x, field = NULL)

metadoc(x, field = NULL) <- value

Arguments

x

a corpus object

field

character, the name of the metadata field(s) to be queried or

value

the new value of the new meta-data field