coseva icon indicating copy to clipboard operation
coseva copied to clipboard

Accept strings instead of just files

Open martinburch opened this issue 11 years ago • 1 comments

I'm pulling my CSV files from a web service, so the entire CSV has been loaded as a string into memory already. There is no reason to write it to disk just to read it back in again. I had a look through the code and most of the code seems to be focused on reading files. Do you think it would be possible to bypass that?

martinburch avatar Feb 11 '14 22:02 martinburch

Not at the moment, unfortunately. As you said already, the code is really focused on reading files. However, you could always make a pull request. str_getcsv seems like a good place to start. :)

johnnyfreeman avatar Mar 12 '14 13:03 johnnyfreeman