<?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: Proc Geocode with FIPS info in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Geocode-with-FIPS-info/m-p/218467#M53747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure which interpretation of "place" you are using.&lt;/P&gt;&lt;P&gt;You can join your data with SASHELP.ZIPCODE to get state FIP, County FIP and MSA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table want as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select a.*, b.state, b.county, b.msa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from have as a left join SASHELP.ZIPCODE as b&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on a.zipcode=b.zip;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the Zip in SASHELP.ZIPCODE is numeric. There are a few city name variables that might correspond to your place.&lt;/P&gt;&lt;P&gt;You may need to find another dataset with CBSA to perform a similar merge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 May 2015 21:08:00 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-05-22T21:08:00Z</dc:date>
    <item>
      <title>Proc Geocode with FIPS info</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Geocode-with-FIPS-info/m-p/218466#M53746</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;/P&gt;&lt;P&gt;I'm trying to see if I can geocode an address file and get back Fips State, Fips County, Tract, Block, Place, MSA, CBSA, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code below only returns Y, X, Block, Tract, M_ADDR, M_CITY, M_STATE, M_ZIP, M_OBS, _MATCHED_, _STATUS_, _NOTES_, _SCORE_ and then my columns, ID, RAW_ADDRESS, RAW_CITY, RAW_STATE, RAW_ZIP.&amp;nbsp; I'm not sure how to get the FIPS variables, Place, MSA, CBSA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14323223110326912" jivemacro_uid="_14323223110326912"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;proc geocode&lt;/P&gt;
&lt;P&gt;method = street&lt;/P&gt;
&lt;P&gt;addressvar = RAW_ADDR&lt;/P&gt;
&lt;P&gt;addresscityvar = RAW_CITY&lt;/P&gt;
&lt;P&gt;addresszipvar = RAW_ZIP&lt;/P&gt;
&lt;P&gt;addressstatevar = RAW_ST&lt;/P&gt;
&lt;P&gt;data = temp&lt;/P&gt;
&lt;P&gt;out = temp_out&lt;/P&gt;
&lt;P&gt;attribute_var = (BLOCK, TRACT)&lt;/P&gt;
&lt;P&gt;lookupstreet = geodata.USM&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;run ;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 19:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Geocode-with-FIPS-info/m-p/218466#M53746</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2015-05-22T19:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Geocode with FIPS info</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Geocode-with-FIPS-info/m-p/218467#M53747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure which interpretation of "place" you are using.&lt;/P&gt;&lt;P&gt;You can join your data with SASHELP.ZIPCODE to get state FIP, County FIP and MSA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table want as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select a.*, b.state, b.county, b.msa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from have as a left join SASHELP.ZIPCODE as b&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on a.zipcode=b.zip;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the Zip in SASHELP.ZIPCODE is numeric. There are a few city name variables that might correspond to your place.&lt;/P&gt;&lt;P&gt;You may need to find another dataset with CBSA to perform a similar merge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 21:08:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Geocode-with-FIPS-info/m-p/218467#M53747</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-22T21:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Geocode with FIPS info</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Geocode-with-FIPS-info/m-p/218468#M53748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ballardw,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for you help.&amp;nbsp; That did get me those 3 variables I needed.&amp;nbsp; The place is the FIPS Place and the CBSA are the other 2 I need.&amp;nbsp; I will look to see if SAS offers a file that will contain those 2 variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 13:13:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Geocode-with-FIPS-info/m-p/218468#M53748</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2015-05-26T13:13:08Z</dc:date>
    </item>
  </channel>
</rss>

