add_docid {readtext}R 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


[Package readtext version 0.91 Index]