See https://gist.github.com/rplevy/e94555217dac18f0239a68a3c5bdeb5d as an example that might help you. I recently prepared this gist (pulled out of a codebase that was retired when a company was acquired) to show someone how to get data from Google Sheets, but the aspect relevant to your question is where the CSV file's data is used to generate a Clojure file defining a one big vector of maps.
On Thu, Sep 27, 2018 at 7:21 AM venkata sai <venkysai...@gmail.com> wrote: > yes you want to autogenerate code as in .clj file from csv file > > On Thursday, September 27, 2018 at 6:18:59 PM UTC+5:30, Pankaj Doharey > wrote: >> >> This looks like code from some EMR software, can you upload the >> definition of onto/defconcept ? >> to know what it does. Also what is the objective here that you trying to >> achieve? >> >> >> On Thursday, 27 September 2018 13:02:53 UTC+5:30, venkata sai wrote: >>> >>> hii i have attached wrong files.. i have a csv file as input i want to >>> write a code to autogenerate output file as .clj file by using macros.. >>> >>> On Thursday, September 27, 2018 at 3:32:37 AM UTC+5:30, Pankaj Doharey >>> wrote: >>>> >>>> Hmm, your out.csv seems incorrect to me. the clinic.clj has no code. >>>> What are you trying to do here? Is this homework? >>>> >>>> On Wednesday, 26 September 2018 17:27:08 UTC+5:30, venkata sai wrote: >>>>> >>>>> i have attached csv file and my output file here.. could anyone help >>>>> me autogenerate code by using macros that should be in the output file >>>>> >>>> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.