iramuteq_to_txm: Converts an Iramuteq corpus file to a TXM corpus directory.

View source: R/iramuteq_to_txm.R

iramuteq_to_txmR Documentation

Converts an Iramuteq corpus file to a TXM corpus directory.

Description

Converts an Iramuteq corpus file to a TXM corpus directory.

Usage

iramuteq_to_txm(
  from_dir = NULL,
  to_dir = "corpus_txm_from_iramuteq",
  filename = "textot.txt",
  encoding = "UTF-8"
)

Arguments

from_dir

the corpus directory (contains the Iramuteq-formatted file)

to_dir

the directory that will contain the output files

filename

the name of the Iramuteq-formatted txt file (defaults to "textot.txt")

encoding

the encoding of the Iramuteq-formatted file (defaults to UTF-8)

Value

no R output but new file with name 'filename'

Examples

iramuteq_to_txm(from_dir=system.file("extdata",package="textoteR"),
                filename="macron_covid.txt",
                to_dir="macron_covid_corpus")

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