View source: R/write_to_iramuteq.R
write_to_iramuteq | R Documentation |
Writes metadata and textdata as an Iramuteq corpus file .
write_to_iramuteq(
metadata,
textdata,
to_dir = NULL,
filename = "textot.txt",
encoding = "UTF-8"
)
metadata |
metadata R tibble |
textdata |
textdata R tibble |
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) |
no R output but new file with name filename
metadata=get_metadata(sourcetype="Iramuteq",
from_dir="data-raw",
filename="macron_covid.txt")
textdata=get_textdata(sourcetype="Iramuteq",
from_dir="data-raw",
filename="macron_covid.txt")
write_to_iramuteq(metadata,
textdata,
to_dir="outputs",
encoding="UTF-8")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.