Import a corpus in Iramuteq format
import_corpus_iramuteq(f, id_var = NULL, thematics = c("remove", "split"), ...)
a file name or a connection
name of metadata variable to be used as documents id
if "remove", thematics lines are removed. If "split", texts as splitted at each thematic, and metadata duplicated accordingly
arguments passed to file
if f
is a file name.
A quanteda corpus object. Note that metadata variables in docvars are all imported as characters.
A description of the Iramuteq corpus format can be found here : http://www.iramuteq.org/documentation/html/2-2-2-les-regles-de-formatages