add_docid: Set the docid for multi-document objects

View source: R/utils.R

add_docidR Documentation

Set the docid for multi-document objects

Description

Set the docid for multi-document objects

Usage

add_docid(x, path, docid_field)

Arguments

x

data.frame; contains texts and document variables

path

character; file path from which x is created; only use in error message

docid_field

numeric or character; indicate position of a text column in x


readtext documentation built on May 29, 2024, 5:13 a.m.