<?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 Re: Generate dataset with new daily cases instead of cumulative cases in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Generate-dataset-with-new-daily-cases-instead-of-cumulative/m-p/843945#M333642</link>
    <description>&lt;P&gt;Thank you Tom for your help. I really appreciate it. Just a quick follow up question. Can the process be automated since the dataset should be generated daily?&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;</description>
    <pubDate>Sat, 12 Nov 2022 18:23:40 GMT</pubDate>
    <dc:creator>mayasak</dc:creator>
    <dc:date>2022-11-12T18:23:40Z</dc:date>
    <item>
      <title>Generate dataset with new daily cases instead of cumulative cases</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-dataset-with-new-daily-cases-instead-of-cumulative/m-p/843943#M333640</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I import data containing hospitalized cases into SAS on a daily basis. After merging and cleaning the final, cumulative dataset for the current day, I need to generate a data set that contains only the new cases (delta) for that date.&lt;/P&gt;&lt;P&gt;I'm not sure what function to use in order to generate the dataset with only new cases.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 18:05:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-dataset-with-new-daily-cases-instead-of-cumulative/m-p/843943#M333640</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2022-11-12T18:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Generate dataset with new daily cases instead of cumulative cases</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-dataset-with-new-daily-cases-instead-of-cumulative/m-p/843944#M333641</link>
      <description>&lt;P&gt;IF you have a unique identifier, say CASEID, then it is simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data new_today ;
   merge new(in=in1) old(in=in2);
   by caseid;
   if in1 and not in2;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 12 Nov 2022 18:21:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-dataset-with-new-daily-cases-instead-of-cumulative/m-p/843944#M333641</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-11-12T18:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Generate dataset with new daily cases instead of cumulative cases</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generate-dataset-with-new-daily-cases-instead-of-cumulative/m-p/843945#M333642</link>
      <description>&lt;P&gt;Thank you Tom for your help. I really appreciate it. Just a quick follow up question. Can the process be automated since the dataset should be generated daily?&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 18:23:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generate-dataset-with-new-daily-cases-instead-of-cumulative/m-p/843945#M333642</guid>
      <dc:creator>mayasak</dc:creator>
      <dc:date>2022-11-12T18:23:40Z</dc:date>
    </item>
  </channel>
</rss>

