# Description: df # doc_id text unit context year language party # 1 EU_euro_2004_de_PSE.txt '\'PES # Manifestos with docvars from filenames readtext( paste0(DATA_DIR, '/txt/EU_manifestos/*.txt'), docvarsfrom = 'filenames', docvarnames = c( 'unit', 'context', 'year', 'language', 'party'), dvsep = '_', encoding = 'ISO-8859-1') # readtext object consisting of 17 documents and 5 docvars.