<?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: Get correct county code in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339430#M63159</link>
    <description>&lt;P&gt;Why are these zip codes not matching? Are they correct?&lt;/P&gt;
&lt;P&gt;Is there an alternative zip code lookup in the US?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm in Canada and we get a release file with postal code and centroids from Canada Post every few months but it's out of date frequently.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2017 20:38:31 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-03-08T20:38:31Z</dc:date>
    <item>
      <title>Get correct county code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339409#M63154</link>
      <description>&lt;P&gt;I'm working on a geocode process where I have about 400 observations that are zip matches and no county code is returned.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used the sashelp.zipcode table to join on zipcode to get the county code.&amp;nbsp; I thought that would work but I have 2 rows where the county code from sashelp.zipcode doesn't match the latest shapefile for that state.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was using the county code to subset the shapefile data so running proc ginside wouldn't take as long.&amp;nbsp; I have to have the data be 100% correct.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a better way to get the correct county or a faster way to run proc ginside.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 20:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339409#M63154</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2017-03-08T20:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get correct county code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339413#M63155</link>
      <description>&lt;P&gt;Have you downloaded the latest map files from SAS Maps online? When you say geocoding are you using PROC GEOCODE?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 20:11:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339413#M63155</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-08T20:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get correct county code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339419#M63156</link>
      <description>&lt;P&gt;Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes I have the latest street maps from sas that I'm using with proc geocode.&amp;nbsp; I'm using the latest block shapefiles from the census website and using those with proc ginside to get the block and tract that come back missing from the geocode process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 20:14:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339419#M63156</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2017-03-08T20:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get correct county code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339427#M63158</link>
      <description>&lt;P&gt;You may want to check on the SAS site for an updated ZIPcode data set. However it is not uncommon for data entry to create Zip codes that do not actually exist. You might try a city/state match if you have that instead of Zip.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 20:33:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339427#M63158</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-08T20:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get correct county code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339430#M63159</link>
      <description>&lt;P&gt;Why are these zip codes not matching? Are they correct?&lt;/P&gt;
&lt;P&gt;Is there an alternative zip code lookup in the US?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm in Canada and we get a release file with postal code and centroids from Canada Post every few months but it's out of date frequently.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 20:38:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339430#M63159</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-08T20:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get correct county code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339448#M63160</link>
      <description>&lt;P&gt;It's the counties that are not matching.&amp;nbsp; I have the latest zipcode data.&amp;nbsp; I even copied to the sashelp directory so I have the latest one when doing proc geocode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is that the county from sashelp.zipcode doesn't match up with the data from the census block shapefile for that state.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 21:42:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339448#M63160</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2017-03-08T21:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get correct county code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339453#M63161</link>
      <description>&lt;P&gt;And the source for your censub block data is what?&lt;/P&gt;
&lt;P&gt;If it is the ZCTA stuff from teh census department there are many parts of the country where geography is not included as Zipcode tabulation areas aren't exhaustive, especially in areas with low population density.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may want to check this page: &lt;A href="https://www.census.gov/geo/reference/county-changes.html" target="_blank"&gt;https://www.census.gov/geo/reference/county-changes.html&lt;/A&gt; and compare with the date of your information. Some county values have have changed that aren't reflected in the shapefile or vice versa. See things like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oglala Lakota County, South Dakota (46-102)&lt;BR /&gt; Changed name and code from Shannon County (46-113) effective May 1, 2015.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 21:55:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339453#M63161</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-08T21:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get correct county code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339461#M63162</link>
      <description>&lt;P&gt;ballardw,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The source is this site:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.census.gov/geo/maps-data/data/tiger-line.html" target="_blank"&gt;https://www.census.gov/geo/maps-data/data/tiger-line.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using the 2016 block data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm going to have to dig deeper into the data and see if it is what you said just a change reflected on one side but not the other.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 22:09:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-correct-county-code/m-p/339461#M63162</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2017-03-08T22:09:33Z</dc:date>
    </item>
  </channel>
</rss>

