rtibble_to_iramuteq: Converts an R tibble object to an Iramuteq corpus file.

View source: R/rtibble_to_iramuteq.R

rtibble_to_iramuteqR Documentation

Converts an R tibble object to an Iramuteq corpus file.

Description

Converts an R tibble object to an Iramuteq corpus file.

Usage

rtibble_to_iramuteq(
  rtibble,
  to_dir = NULL,
  filename = "textot.txt",
  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 file

filename

the name of the Iramuteq-formatted .txt file

encoding

encoding of the resulting Iramuteq corpus

Value

no R output but new file with name 'filename'

Examples

rtib= txm_to_rtibble(from_dir=system.file("extdata/fables",
                                          package="textoteR"))
rtibble_to_iramuteq(rtib,
                    filename="textot_fables.txt")

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