Let DataFrame automatically download the CSV
Currently DataFrame only expects a FileReference as parameter to create an instance:
DataFrame readFromCsv: '/dir1/dir2/myfile.csv' asFileReference
It could be a nice time saver to let the DataFrame actually "resolve" the parameter and download a CSV in a URL String transparently, for example:
DataFrame readFromCsv: 'http://path/to/url/myfile.csv'
I would prefer to have another method because else it means suddenly data frame is linked with Zinc. Having a stream based API however could be nice to have
DataFrame readFromCsvOn: asStream
We can have something like this:
DataFrame >> readFromCsv: aFileReference.
DataFrame >> readFromCsvByUrl: aString.
df readFromCsv: '/dir1/dir2/myfile.csv' asFileReference.
df readFromCsvByUrl: 'http://path/to/url/myfile.csv'.
Cool, thanks!
I don’t think this is yet implemented. Should this really be closed?
You're right, I misread it "readFromCsvByUrl" and thought it was already implemented