View source: R/txm_to_rtibble.R
txm_to_rtibble | R Documentation |
Converts a TXM corpus directory to an R tibble object.
txm_to_rtibble(
from_dir,
to_dir = NULL,
filename = "textot.txt",
encoding = "UTF-8"
)
from_dir |
the corpus directory (contains metadata.csv and multiple .txt files) |
to_dir |
the directory that will contain the output file |
filename |
the name of the Iramuteq-formatted txt file (defaults to "textot.txt") |
encoding |
the encoding of the TXM corpus (defaults to UTF-8) |
an R tibble with columns id, text, and all columns from metadata.csv
txm_to_rtibble(from_dir=system.file("extdata/fables",
package="textoteR"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.