rtibble_to_txm: Converts an R tibble object to a TXM corpus directory.

View source: R/rtibble_to_txm.R

rtibble_to_txmR Documentation

Converts an R tibble object to a TXM corpus directory.

Description

Converts an R tibble object to a TXM corpus directory.

Usage

rtibble_to_txm(rtibble, to_dir = NULL, encoding = "UTF-8")

Arguments

rtibble

the name of the R object containing metadata and text data

to_dir

the directory that will contain the output files

encoding

the encoding of the resulting TXM corpus (defaults to UTF-8)

Value

no R output but new directory to_dir

Examples

rtibble_to_txm(LVtweets,
               to_dir="fables_txm")

lvaudor/textoteR documentation built on April 5, 2025, 3:03 a.m.