Fork me on GitHub
#cryogen
<
2020-11-23
>
Andrei Stan11:11:24

hi, does anyone tried to read .csv files with selmer?

practicalli-johnny13:11:42

No, but I have used https://clojure.github.io/data.csv/ to read .csv files from Clojure for some data science projects.

Eugen12:11:09

how did you integrate data.csv?

practicalli-johnny17:11:56

@U011NGC5FFY sorry, not sure I understand the question. data.csv is a library I added to the project and called one of its functions, which returned a Clojure data structure.

Eugen23:11:12

I was asking how did you integrate data.csv with cryogen. Can you read csv from templates? From content files? Is it something generic that can be used in cryogen content/tempates?

practicalli-johnny04:11:51

I have not done so, maybe I should have made that clearer than originally answering no. However as data.csv returns a Clojure data structure, then I am assuming clojure.core functions are all that's needed.