<?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: I try too answer this questions in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-try-too-answer-this-questions/m-p/799097#M314188</link>
    <description>&lt;P&gt;Is this for training?&lt;/P&gt;
&lt;P&gt;Also, it's hard to give any solid advice without seeing any data.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Feb 2022 09:11:58 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2022-02-28T09:11:58Z</dc:date>
    <item>
      <title>I try too answer this questions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-try-too-answer-this-questions/m-p/799020#M314138</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;proc import datafile='C:\Users\n01427744\My Files\OneDrive\Files\SAS\ksi.csv'&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out = work.ksi&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms = csv;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc contents data=ksi;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc sort data=ksi&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; out = work.KSI_sortbyYearAccnum;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by Year Accnum;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;data AGGKSI;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set work.ksi_sortbyyearaccnum(Keep= Accnum Year Time Street1 Street2 offset road_class District wardnum Division&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LATITUDE LONGITUDE LOCCOORD ACCLOC TRAFFCTL VISIBILITY LIGHT RDSFCOND ACCLASS IMPACTYPE&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; PEDESTRIAN CYCLIST AUTOMOBILE MOTORCYCLE TRUCK TRSN_CITY_VEH EMERG_VEH&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; PASSENGER SPEEDING AG_DRIV REDLIGHT ALCOHOL DISABILITY Neighbourhood);&lt;BR /&gt;&lt;BR /&gt;by year accnum;&lt;BR /&gt;&lt;BR /&gt;if last.accnum;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc print data=aggksi;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Q1: Aggregate KSI data by ACCNUM, so that each observation is a unique KSI event.&lt;BR /&gt;&lt;BR /&gt;a) &amp;nbsp; &amp;nbsp; How many KSI incidents occurred in the city of Toronto from 2006-2019?&lt;BR /&gt;&lt;BR /&gt;b) &amp;nbsp; &amp;nbsp; Which is the most incidents district, neighborhood, and location?&lt;BR /&gt;&lt;BR /&gt;c) &amp;nbsp; &amp;nbsp; What about the road and weather condition for most KSI incidents?&lt;BR /&gt;&lt;BR /&gt;d) &amp;nbsp; &amp;nbsp; How many KSI incidents involving speeding were fatal ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Q2: Transform the aggregated KSI data by Geographic Coordinates (Latitude and Longitude), each observation should be a unique location, so that the KSI number in each unique location can be calculated. What are the top five locations with most KSI incidents in Toronto?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 27 Feb 2022 22:14:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-try-too-answer-this-questions/m-p/799020#M314138</guid>
      <dc:creator>mionnh</dc:creator>
      <dc:date>2022-02-27T22:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: I try too answer this questions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-try-too-answer-this-questions/m-p/799097#M314188</link>
      <description>&lt;P&gt;Is this for training?&lt;/P&gt;
&lt;P&gt;Also, it's hard to give any solid advice without seeing any data.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 09:11:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-try-too-answer-this-questions/m-p/799097#M314188</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-02-28T09:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: I try too answer this questions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-try-too-answer-this-questions/m-p/799126#M314202</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/418227"&gt;@mionnh&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;These are fairly straightforward questions.&lt;BR /&gt;Please try and let us know if you have any error.&lt;BR /&gt;make sure data is included in the post as sas datastep and the log.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 14:26:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-try-too-answer-this-questions/m-p/799126#M314202</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-02-28T14:26:02Z</dc:date>
    </item>
  </channel>
</rss>

