Description Usage Arguments Value
Reads CSV-files and seperates the text and meta data. The result is a
textmeta
object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | readTextmeta(
path,
file,
cols,
dateFormat = "%Y-%m-%d",
idCol = "id",
dateCol = "date",
titleCol = "title",
textCol = "text",
encoding = "UTF-8",
xmlAction = TRUE,
duplicateAction = TRUE
)
readTextmeta.df(
df,
cols = colnames(df),
dateFormat = "%Y-%m-%d",
idCol = "id",
dateCol = "date",
titleCol = "title",
textCol = "text",
xmlAction = TRUE,
duplicateAction = TRUE
)
|
path |
|
file |
|
cols |
|
dateFormat |
|
idCol |
|
dateCol |
|
titleCol |
|
textCol |
|
encoding |
character string with encoding specification of the files |
xmlAction |
|
duplicateAction |
|
df |
|
textmeta
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.