<?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: Creating US Regions from states in PROC GMAP in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Creating-US-Regions-from-states-in-PROC-GMAP/m-p/85655#M3155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to just plot that subset region of the map, or do you want to show the whole map but only color the states in that subset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's one way to subset a map, if that's what you're wanting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data southeast; set maps.us (where=(statecode in ('NC' 'SC' 'GA' 'FL')));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gmap data=southeast map=southeast;&lt;/P&gt;&lt;P&gt;id statecode;&lt;/P&gt;&lt;P&gt;choro state / discrete;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2012 19:13:41 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2012-11-29T19:13:41Z</dc:date>
    <item>
      <title>Creating US Regions from states in PROC GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-US-Regions-from-states-in-PROC-GMAP/m-p/85654#M3154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have some code I wrote to create a heat map of the US by state, but having so many states, it's not the most meaningful.&amp;nbsp; So I have been trying to figure out how to combine certain states in to regions, and color just that area of the country (i.e. Northeast, southwest, etc...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone knows how to do this, I would really appreciate it!&amp;nbsp; Thanks!&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; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 18:51:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-US-Regions-from-states-in-PROC-GMAP/m-p/85654#M3154</guid>
      <dc:creator>That____Redhead</dc:creator>
      <dc:date>2012-11-29T18:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating US Regions from states in PROC GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-US-Regions-from-states-in-PROC-GMAP/m-p/85655#M3155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to just plot that subset region of the map, or do you want to show the whole map but only color the states in that subset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's one way to subset a map, if that's what you're wanting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data southeast; set maps.us (where=(statecode in ('NC' 'SC' 'GA' 'FL')));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gmap data=southeast map=southeast;&lt;/P&gt;&lt;P&gt;id statecode;&lt;/P&gt;&lt;P&gt;choro state / discrete;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 19:13:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-US-Regions-from-states-in-PROC-GMAP/m-p/85655#M3155</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2012-11-29T19:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating US Regions from states in PROC GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-US-Regions-from-states-in-PROC-GMAP/m-p/85656#M3156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert,&lt;/P&gt;&lt;P&gt;I want to have the US map with multiple states combined into a region.&amp;nbsp; For example, have NC, SC, GA, FL, AL all lumped as one region.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 19:33:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-US-Regions-from-states-in-PROC-GMAP/m-p/85656#M3156</guid>
      <dc:creator>That____Redhead</dc:creator>
      <dc:date>2012-11-29T19:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating US Regions from states in PROC GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-US-Regions-from-states-in-PROC-GMAP/m-p/85657#M3157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can assign a 'region' variable to each state, and then use 'Proc Gremove' to create a new map, with the internal borders removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example from the V6 SAS/Graph Examples book (using the county map, rather than the state map... but a similar technique):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://robslink.com/SAS/democd44/ex_08.htm" title="http://robslink.com/SAS/democd44/ex_08.htm"&gt;http://robslink.com/SAS/democd44/ex_08.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd44/ex_08_info.htm" title="http://robslink.com/SAS/democd44/ex_08_info.htm"&gt;http://robslink.com/SAS/democd44/ex_08_info.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is a simpler example (using maps.us) from the Tech Support website:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/25/592.html" title="http://support.sas.com/kb/25/592.html"&gt;http://support.sas.com/kb/25/592.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 19:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-US-Regions-from-states-in-PROC-GMAP/m-p/85657#M3157</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2012-11-29T19:38:46Z</dc:date>
    </item>
  </channel>
</rss>

