i modded the csv_file from danomatika https://github.com/danomatika/rc-patches/tree/master/extra a little so that .csv data can be used with the [text] object. it is also vanilla now besides the [binfile] object from the mrpeach library.
i made the changes for my own needs but perhaps it could be useful for someone else.
csv_file-mod.zip
-
csv_file_mod
-
@Jona I made this vanilla patch that reads csv files into [text]. It uses the abstraction [charfilter] (also vanilla) to filter the quotation marks from strings: read_csv.zip.
The main difference is that floats stay floats and therefore the large numbers aren't conserved. This could be mitigated by using [makefilename %d] on floats, but then decimals would be lost as well as leading zeros. [makefilename %f] does work (undocumented), but produces lots of trailing zeros.
-
Well, another huge difference is that string parts in quotes are not kept as a single symbol as it is possibly intended, this could be done, maybe another day
-
@ingox thanks, thats great. it works very well in the markov patch and is a better solution