<?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: Congressional data by address/zip in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/392295#M25289</link>
    <description>&lt;P&gt;Check the documentation for a fully worked example&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2017 17:10:16 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-08-31T17:10:16Z</dc:date>
    <item>
      <title>Congressional data by address/zip</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/300812#M20452</link>
      <description>&lt;P&gt;I have been tasked with identifying the US representative for a 3mm dataset of addresses and I am trying to find a databse that may help. &amp;nbsp;The closest that I have found is this website (&lt;A href="http://www2.census.gov/geo/docs/maps-data/data/rel/zcta_cd111_rel_10.txt" target="_blank"&gt;http://www2.census.gov/geo/docs/maps-data/data/rel/zcta_cd111_rel_10.txt&lt;/A&gt;), but most zip codes have multiple district capabilities. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how I could extract the data that a website like THIS uses? -&amp;nbsp;&lt;A href="https://www.govtrack.us/congress/members/map" target="_blank"&gt;https://www.govtrack.us/congress/members/map&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 16:38:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/300812#M20452</guid>
      <dc:creator>BPedersen</dc:creator>
      <dc:date>2016-09-26T16:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Congressional data by address/zip</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/300829#M20453</link>
      <description>&lt;P&gt;Usually I would use QGIS for a project like this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll need to find the SHP file for the boundaries and then geocode your addresses - &amp;nbsp;Proc geocode.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure how you'll determine if an address is in a polygon though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 17:59:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/300829#M20453</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-09-26T17:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Congressional data by address/zip</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/301007#M20462</link>
      <description>&lt;P&gt;Do you want a ZIP Code/ZCTA file or a Congressional District? &amp;nbsp;They are different. &amp;nbsp;The Congressional District doesn't pay any attention to the ZIP Code so it may split a ZIP Code. &amp;nbsp;It seems you want a Congressional District.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this location has the boundary files for the Congressional Districts:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.census.gov/geo/maps-data/data/cbf/cbf_cds.html" target="_self"&gt;https://www.census.gov/geo/maps-data/data/cbf/cbf_cds.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use Proc MAPIMPORT to read the SHP file (of the congressional district).&lt;/P&gt;
&lt;P&gt;Then change your addresses to a Lat/Long with Proc GEOCODE.&lt;/P&gt;
&lt;P&gt;If you are just mapping the locations, then use Proc GMAP with your congressional district map and Annotate the location points.&lt;/P&gt;
&lt;P&gt;If you want to find out what congressional district that an address falls in, you can use Proc GINSIDE with the addresses and the congressional map and it will identify the congressional district that each location point falls into.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 12:14:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/301007#M20462</guid>
      <dc:creator>Darrell_sas</dc:creator>
      <dc:date>2016-09-27T12:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Congressional data by address/zip</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/301778#M20486</link>
      <description>&lt;P&gt;Good luck.&amp;nbsp; North Carolina's congressional districts have been so gerrymandered that I would not be surprised if there were single addresses that are in two districts!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:44:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/301778#M20486</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2016-09-30T15:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Congressional data by address/zip</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/303582#M20579</link>
      <description>&lt;P&gt;Thank you Darrell, this code worked perfectly! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 15:48:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/303582#M20579</guid>
      <dc:creator>BPedersen</dc:creator>
      <dc:date>2016-10-10T15:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Congressional data by address/zip</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/392289#M25288</link>
      <description>&lt;P&gt;Hello-I'm attempting to replicate this. &amp;nbsp;I have the the Census data w/ congressional district boundaries in X, Y; and my addresses geocoded into X, Y. &amp;nbsp;I'm just not familiar with proc ginside--could anyone help with the syntax?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Forgive if stupid question--very much a beginner. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:57:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/392289#M25288</guid>
      <dc:creator>dantaylor87</dc:creator>
      <dc:date>2017-08-31T16:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Congressional data by address/zip</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/392295#M25289</link>
      <description>&lt;P&gt;Check the documentation for a fully worked example&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 17:10:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Congressional-data-by-address-zip/m-p/392295#M25289</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-31T17:10:16Z</dc:date>
    </item>
  </channel>
</rss>

