mrdwab / koboloadeR

KoBo Toolbox offers a convenient way to collect data using web and mobile forms. This package facilitates the retrieval of data entered using these tools using the KoBo Toolbox API (v1).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Name too long error for some datasets (using Windows)

mrdwab opened this issue · comments

Getting an error message on Windows:

Error in file.info(input) : 
  file name conversion problem -- name too long?

This seems to be related to fread, because I don't get the error when reading in the data with any other functions (read.csv, read_csv, for example).

I was able to get it working by writing the binary output to a csv tempfile and then reading that back in with fread, but I'm not sure if there's a better way. Not sure if to raise an issue yet with @arunsrinivasan

Not closing this issue yet, but have not been having any problems since 1005087. Seems silly to have to resort to read_csv, but on the other hand, read_csv automatically parses the time columns in the dataset too, which seems to be a nice feature.