read zip file with readtext package (error)

This is my code



zip_data = readtext("", text_field = "mytext_field")

I got this error : Error in sort_fields(result, path, text_field) : There is no field called "mytext_field" in file ~~~~(dir)

I directly checked the csv file in the zip file, there is

"mytext_field" in the csv file

what should i do?

I googled but have no luck

What I tried :

zip_data = readtext("", text_field = "mytext_field", encoding="UTF-8)

zip_data = readtext("", text_field = "mytext_field", encoding="UTF-8", fileEncoding="UTF-8")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.