<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to set up data query for CSV files in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-set-up-data-query-for-CSV-files/m-p/482363#M72675</link>
    <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´ve got the following situation:&lt;/P&gt;&lt;P&gt;I have one folder with several csv-files. Every week another csv-file is put into the folder. All the files do have the same structure.&lt;/P&gt;&lt;P&gt;At the moment I´m putting the data together by copy and paste into a JMP-file:&lt;/P&gt;&lt;P&gt;Every time a new csv-file is available, I copy the data from this file, open the JMP file and paste the new data at the end of my data table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any possibilities to automate this process in JMP?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:47:39 GMT</pubDate>
    <dc:creator>JohannesENS</dc:creator>
    <dc:date>2023-06-10T23:47:39Z</dc:date>
    <item>
      <title>How to set up data query for CSV files</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-up-data-query-for-CSV-files/m-p/482363#M72675</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´ve got the following situation:&lt;/P&gt;&lt;P&gt;I have one folder with several csv-files. Every week another csv-file is put into the folder. All the files do have the same structure.&lt;/P&gt;&lt;P&gt;At the moment I´m putting the data together by copy and paste into a JMP-file:&lt;/P&gt;&lt;P&gt;Every time a new csv-file is available, I copy the data from this file, open the JMP file and paste the new data at the end of my data table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any possibilities to automate this process in JMP?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:47:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-up-data-query-for-CSV-files/m-p/482363#M72675</guid>
      <dc:creator>JohannesENS</dc:creator>
      <dc:date>2023-06-10T23:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up data query for CSV files</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-up-data-query-for-CSV-files/m-p/482402#M72677</link>
      <description>&lt;P&gt;This can be easily automated with some JSL. Couple of questions:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;How automated you need this to be?&lt;/LI&gt;
&lt;LI&gt;Can you control when the .csv file is generated?&lt;/LI&gt;
&lt;LI&gt;Are there more than one user (you?) for the JMP file?&lt;/LI&gt;
&lt;LI&gt;Edit: How big are the csv files? How many will there be in the end?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Based on initial information, I would add file name column to the JMP file you have, then create JSL script which would do something like:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open the JMP file&lt;/LI&gt;
&lt;LI&gt;Get list of file names already appended&lt;/LI&gt;
&lt;LI&gt;Get all file names in the folder&lt;/LI&gt;
&lt;LI&gt;Compare the two lists and append missing files to JMP file&lt;/LI&gt;
&lt;LI&gt;Save and close JMP file&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 27 Apr 2022 13:27:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-up-data-query-for-CSV-files/m-p/482402#M72677</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-04-27T13:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up data query for CSV files</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-up-data-query-for-CSV-files/m-p/482601#M72696</link>
      <description>&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How automated you need this to be? &amp;gt; As much as possible. But it would be ok for me to do a manual step when opening the JMP file (update button or sth like this)&lt;/LI&gt;&lt;LI&gt;Can you control when the .csv file is generated? &amp;gt; no.&lt;/LI&gt;&lt;LI&gt;Are there more than one user (you?) for the JMP file? &amp;gt; At the moment its just me.&lt;/LI&gt;&lt;LI&gt;Edit: How big are the csv files? How many will there be in the end? &amp;gt; Up to 10 mb. About 100 files in the end.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Is there also a solution for this kind of issue:&lt;/P&gt;&lt;P&gt;I do have just one csv file in which data is written to continuously.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: I do have no experience with JSL.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 06:25:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-up-data-query-for-CSV-files/m-p/482601#M72696</guid>
      <dc:creator>JohannesENS</dc:creator>
      <dc:date>2022-04-28T06:25:35Z</dc:date>
    </item>
  </channel>
</rss>

