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


kbenoit/readtext documentation built on Feb. 27, 2024, 7:45 p.m.