Open chainsawriot opened 1 year ago
And actually this works.
readtext:::get_csv(temp_csv, text_field = "post", sep = ";",
encoding = getOption("encoding"), docid_field = NULL)
https://github.com/quanteda/readtext/blob/d480d9c55f2d4192519cb4a67309075e66023638/R/readtext.R#L267
But this line hard-codes sep
to comma for csv.
The so-called "European" csv is delimited by semi-colon, because comma is used for decimal.
The underlying
fread
can actually handle this. Despite the fact that the documentation ofreadtext
says "..." will be passed tofread
, it can't for this case.Created on 2022-11-30 by the reprex package (v2.0.1)