Error transforming html into corpus in R

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Error transforming html into corpus in R

Dear all,

I am experiencing issues in transforming an html from Lexis Nexis into a corpus. What I have done so far is:
url <- "<htmlfile>"

data_2016 <- LexisNexisSource("htmlfile")

Corpus <- Corpus(data_2016, readerControl = list (language = NA))

This is the error it returns for the last passage:

Error in strptime(sub("[jJ]uillet", "07", strdate, "%d %m %Y")) :
  the argument "format"  is not specified and does not have a predefined value.

Thanks for any suggestion.