add_docid: 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