<?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: Adding longitude/latitude in sas tables? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Adding-longitude-latitude-in-sas-tables/m-p/585259#M14288</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/281255"&gt;@marleeakerson&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is it possible to add longitude and latitude to a sas table if we have the address and zipcode?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to make a map in Tableau (which needs long and lat as opposed to just street address) but first I need to make the dataset in SAS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Search for GEOCODING&lt;/P&gt;
&lt;P&gt;Possible but depending on your assets it may not be "easy".&lt;/P&gt;
&lt;P&gt;SAS provides a Proc Geocode that is part of SAS/Graph. If you have access to this procedure there is an example in the documentation of street level geocoding of addresses using some SAS supplied TIGER street data. Caution: you may need to update that file from the SAS website as streets are constantly added and the version supplied with your SAS install may be out of date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't have SAS/Graph (or Proc Geocode and the associated SASHELP library data sets) you may have to decide how much $$$ is available for either adding licenses or other options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How many addresses do you need to geocode? There may be some options for doing small numbers free using other tools.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2019 15:58:14 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-08-30T15:58:14Z</dc:date>
    <item>
      <title>Adding longitude/latitude in sas tables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Adding-longitude-latitude-in-sas-tables/m-p/585251#M14285</link>
      <description>&lt;P&gt;Is it possible to add longitude and latitude to a sas table if we have the address and zipcode?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to make a map in Tableau (which needs long and lat as opposed to just street address) but first I need to make the dataset in SAS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 15:41:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Adding-longitude-latitude-in-sas-tables/m-p/585251#M14285</guid>
      <dc:creator>marleeakerson</dc:creator>
      <dc:date>2019-08-30T15:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding longitude/latitude in sas tables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Adding-longitude-latitude-in-sas-tables/m-p/585259#M14288</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/281255"&gt;@marleeakerson&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is it possible to add longitude and latitude to a sas table if we have the address and zipcode?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to make a map in Tableau (which needs long and lat as opposed to just street address) but first I need to make the dataset in SAS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Search for GEOCODING&lt;/P&gt;
&lt;P&gt;Possible but depending on your assets it may not be "easy".&lt;/P&gt;
&lt;P&gt;SAS provides a Proc Geocode that is part of SAS/Graph. If you have access to this procedure there is an example in the documentation of street level geocoding of addresses using some SAS supplied TIGER street data. Caution: you may need to update that file from the SAS website as streets are constantly added and the version supplied with your SAS install may be out of date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't have SAS/Graph (or Proc Geocode and the associated SASHELP library data sets) you may have to decide how much $$$ is available for either adding licenses or other options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How many addresses do you need to geocode? There may be some options for doing small numbers free using other tools.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 15:58:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Adding-longitude-latitude-in-sas-tables/m-p/585259#M14288</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-08-30T15:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding longitude/latitude in sas tables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Adding-longitude-latitude-in-sas-tables/m-p/585279#M14290</link>
      <description>&lt;P&gt;You need a license for SAS/GRAPH but yes it can.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check what you have licensed in SAS using:&lt;BR /&gt;proc setinit; run;&lt;BR /&gt;And what's installed on your system using:&lt;BR /&gt;proc product_status; run;&lt;BR /&gt;The output will be in the log.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 16:30:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Adding-longitude-latitude-in-sas-tables/m-p/585279#M14290</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-08-30T16:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding longitude/latitude in sas tables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Adding-longitude-latitude-in-sas-tables/m-p/585331#M14313</link>
      <description>&lt;P&gt;I have a license for SAS/GRAPH to use proc geocode. Do you have an example of code I could use a reference for turning street address into lat/long?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 19:00:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Adding-longitude-latitude-in-sas-tables/m-p/585331#M14313</guid>
      <dc:creator>marleeakerson</dc:creator>
      <dc:date>2019-08-30T19:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding longitude/latitude in sas tables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Adding-longitude-latitude-in-sas-tables/m-p/585332#M14314</link>
      <description>&lt;P&gt;This paper has a detailed overview&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings10/332-2010.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings10/332-2010.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the documentation has a fully worked example available here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=grmapref&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=p1o71xg9evwp20n17x3n92qt1vgf.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=grmapref&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=p1o71xg9evwp20n17x3n92qt1vgf.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI I have found that you do need to do some cleaning and standardization of your data ahead of time to get really good results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have access to SAS Data Quality Studio it does a decent job of cleaning up addresses and then geocoding them.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 19:07:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Adding-longitude-latitude-in-sas-tables/m-p/585332#M14314</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-08-30T19:07:07Z</dc:date>
    </item>
  </channel>
</rss>

