<?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 Date spine for cumulative counts in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Date-spine-for-cumulative-counts/m-p/211503#M307144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f0fade;"&gt;my aim is avg cumulative daily counts of cow births over 5 years. I know how, but my problem is that I want to graph these counts over time and my data set only contains records of cow births/ dates, not all possible dates in the time period. Eg no birth on 2 jan in any of those 5 years =no record for 2 jan. I need a date spine. Is there any way to include all possible dates in a year without typing them all?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f0fade;"&gt;THanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 02:05:07 GMT</pubDate>
    <dc:creator>awmk</dc:creator>
    <dc:date>2015-03-27T02:05:07Z</dc:date>
    <item>
      <title>Date spine for cumulative counts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Date-spine-for-cumulative-counts/m-p/211503#M307144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f0fade;"&gt;my aim is avg cumulative daily counts of cow births over 5 years. I know how, but my problem is that I want to graph these counts over time and my data set only contains records of cow births/ dates, not all possible dates in the time period. Eg no birth on 2 jan in any of those 5 years =no record for 2 jan. I need a date spine. Is there any way to include all possible dates in a year without typing them all?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f0fade;"&gt;THanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 02:05:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Date-spine-for-cumulative-counts/m-p/211503#M307144</guid>
      <dc:creator>awmk</dc:creator>
      <dc:date>2015-03-27T02:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date spine for cumulative counts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Date-spine-for-cumulative-counts/m-p/211504#M307145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide a sample data and the expected output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 03:15:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Date-spine-for-cumulative-counts/m-p/211504#M307145</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2015-03-27T03:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date spine for cumulative counts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Date-spine-for-cumulative-counts/m-p/211505#M307146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To create dates is easy:&lt;/P&gt;&lt;P&gt;data dates2012;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do date='01Jan2012'd to '31DEC2012'd by 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What type of graph are you attempting to create? Generally any time axis for an entire year would have too many entries for readability. Scatter plots don't care much about missing x axis values and you can generally use a "from date to date by interval" type of description. Series plots may or may not have breaks depending on the procedure and what you want things to look like.&lt;/P&gt;&lt;P&gt;Having done some similar types of cumulative to day of year, you might find looking at Julian Dates are also helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 15:29:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Date-spine-for-cumulative-counts/m-p/211505#M307146</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-03-27T15:29:04Z</dc:date>
    </item>
  </channel>
</rss>

