<?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: Making a US MAP in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456604#M15695</link>
    <description>&lt;P&gt;Alright...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Apr 2018 16:58:07 GMT</pubDate>
    <dc:creator>tarkom</dc:creator>
    <dc:date>2018-04-23T16:58:07Z</dc:date>
    <item>
      <title>Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456343#M15678</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to make a map using MAPS in SAS studio, but it appears it is broken. I think an alternative is the MAPSGFK.US_COUNTIES, for which I am not familiar on its usage and I have been trying to make a map on US States based on the following quartiles.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code and data I used is below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Calling the into SAS and creating a permanent library for it;&amp;nbsp;&lt;BR /&gt;libname final "/home/augustinetarkom0/my_courses/";&amp;nbsp;&lt;BR /&gt;FILENAME exam2 "/home/augustinetarkom0/my_courses/RISKFACTORSANDACCESSTOCARE.csv";&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE = exam2&lt;BR /&gt;&amp;nbsp;DBMS = CSV&lt;BR /&gt;&amp;nbsp;OUT = final.exam2;&lt;BR /&gt;&amp;nbsp;GETNAMES = YES;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;* This is to printout the content of the raw data;&lt;BR /&gt;title "Listing of the content of the raw data";&lt;BR /&gt;PROC CONTENTS DATA = final.exam2;&lt;BR /&gt;RUN;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;* Here, I print the last 10 observations of the raw data that is uncleaned;&lt;BR /&gt;title "Listing of first 10 Observations of the Raw uncleaned data";&lt;BR /&gt;proc print data = final.exam2 (obs = 10);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Cleaning the data;&lt;/P&gt;&lt;P&gt;data final;&lt;BR /&gt;&amp;nbsp; set final.exam2;&lt;BR /&gt;&amp;nbsp; array a(*) _numeric_;&lt;BR /&gt;&amp;nbsp; do i = 1 to dim(a);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if fuzz(a(i)) in (-1111.1,-2222,-2222.2)&amp;nbsp; then a(i) = .;&lt;BR /&gt;&amp;nbsp; end;&lt;BR /&gt;&amp;nbsp; drop i;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;title "Listing the First 10 obs of the cleaned data";&lt;BR /&gt;proc print data = final (obs = 10);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Quartiles Calculations;&lt;/P&gt;&lt;P&gt;title "Table 1";&lt;BR /&gt;title2 "Listing of Quartiles";&lt;/P&gt;&lt;P&gt;proc means data = final StackODSOutput&amp;nbsp; P25 P50 P75 nway;&lt;BR /&gt;var &amp;nbsp;&amp;nbsp;No_Exercise Few_Fruit_Veg Obesity&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;High_Blood_Pres Smoker Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Uninsured Elderly_Medicare&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Prim_Care_Phys_Rate Dentist_Rate;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;ods output summary = quart;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data = quart(rename = (P25 = Q1 P50 = Median P75 = Q3));&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* fill patterns for the map areas (gray-scale fills);&lt;BR /&gt;pattern1 v = s c = grayff;&lt;BR /&gt;pattern2 v = s c = grayda;&lt;BR /&gt;pattern3 v = s c = grayaa;&lt;BR /&gt;pattern4 v = s c = gray68;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc GPROJECT data=mapsgfk.us_counties&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;out=mystates &amp;nbsp; degrees eastlong latlong;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;id state;&amp;nbsp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone assist me on how to make the a US map with the QUARTILES calculated above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tarkom&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 22:34:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456343#M15678</guid>
      <dc:creator>tarkom</dc:creator>
      <dc:date>2018-04-22T22:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456365#M15679</link>
      <description>&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=grmapref&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=p17iukb090f5yvn1rmptbpg7xlnb.htm&amp;amp;locale=en" target="_self"&gt;GPROJECT&lt;/A&gt; does not make a map, it changes the projection of the data from one type to another.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=grmapref&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=n1rfysveimrpeon1gw5c8grv4hgs.htm&amp;amp;locale=en" target="_self"&gt;PROC GMAP&lt;/A&gt; makes the map.&amp;nbsp;Did you post the correct code? Can you explain exactly what's 'broken'? You didn't include your data (and I don't want to run your code anyways) or log so not really sure what's not working at this point. Explain in detail please.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find a lot of fully worked examples here and in the example section of PROC GMAP.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd1/aaaindex.htm" target="_blank"&gt;http://robslink.com/SAS/democd1/aaaindex.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/205971"&gt;@tarkom&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been trying to make a map using MAPS in SAS studio, but it appears it is broken. I think an alternative is the MAPSGFK.US_COUNTIES, for which I am not familiar on its usage and I have been trying to make a map on US States based on the following quartiles.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code and data I used is below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* Calling the into SAS and creating a permanent library for it;&amp;nbsp;&lt;BR /&gt;libname final "/home/augustinetarkom0/my_courses/";&amp;nbsp;&lt;BR /&gt;FILENAME exam2 "/home/augustinetarkom0/my_courses/RISKFACTORSANDACCESSTOCARE.csv";&lt;/P&gt;
&lt;P&gt;PROC IMPORT DATAFILE = exam2&lt;BR /&gt;&amp;nbsp;DBMS = CSV&lt;BR /&gt;&amp;nbsp;OUT = final.exam2;&lt;BR /&gt;&amp;nbsp;GETNAMES = YES;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;* This is to printout the content of the raw data;&lt;BR /&gt;title "Listing of the content of the raw data";&lt;BR /&gt;PROC CONTENTS DATA = final.exam2;&lt;BR /&gt;RUN;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;* Here, I print the last 10 observations of the raw data that is uncleaned;&lt;BR /&gt;title "Listing of first 10 Observations of the Raw uncleaned data";&lt;BR /&gt;proc print data = final.exam2 (obs = 10);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* Cleaning the data;&lt;/P&gt;
&lt;P&gt;data final;&lt;BR /&gt;&amp;nbsp; set final.exam2;&lt;BR /&gt;&amp;nbsp; array a(*) _numeric_;&lt;BR /&gt;&amp;nbsp; do i = 1 to dim(a);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if fuzz(a(i)) in (-1111.1,-2222,-2222.2)&amp;nbsp; then a(i) = .;&lt;BR /&gt;&amp;nbsp; end;&lt;BR /&gt;&amp;nbsp; drop i;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;title "Listing the First 10 obs of the cleaned data";&lt;BR /&gt;proc print data = final (obs = 10);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* Quartiles Calculations;&lt;/P&gt;
&lt;P&gt;title "Table 1";&lt;BR /&gt;title2 "Listing of Quartiles";&lt;/P&gt;
&lt;P&gt;proc means data = final StackODSOutput&amp;nbsp; P25 P50 P75 nway;&lt;BR /&gt;var &amp;nbsp;&amp;nbsp;No_Exercise Few_Fruit_Veg Obesity&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;High_Blood_Pres Smoker Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Uninsured Elderly_Medicare&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Prim_Care_Phys_Rate Dentist_Rate;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;ods output summary = quart;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc print data = quart(rename = (P25 = Q1 P50 = Median P75 = Q3));&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* fill patterns for the map areas (gray-scale fills);&lt;BR /&gt;pattern1 v = s c = grayff;&lt;BR /&gt;pattern2 v = s c = grayda;&lt;BR /&gt;pattern3 v = s c = grayaa;&lt;BR /&gt;pattern4 v = s c = gray68;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc GPROJECT data=mapsgfk.us_counties&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;out=mystates &amp;nbsp; degrees eastlong latlong;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;id state;&amp;nbsp;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone assist me on how to make the a US map with the QUARTILES calculated above?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tarkom&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 02:20:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456365#M15679</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T02:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456371#M15680</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is broken is the SAS installed US map data called the MAPS. What I can access now is the MAPSGFK.US_COUNTIES. The MAPS data set doesn't seem to be working any longer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I an now trying to create a MAP of US States from the MAPSGFK.US_COUNTIES data set for the various levels of the Quartiles I have created. But I am finding it a bit difficult.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sorry about the data set but I attached it earlier on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the link too.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 02:35:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456371#M15680</guid>
      <dc:creator>tarkom</dc:creator>
      <dc:date>2018-04-23T02:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456372#M15681</link>
      <description>&lt;P&gt;I don't think the Maps are supported anymore, just the GFK ones now. But they're better quality anyways.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 02:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456372#M15681</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T02:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456388#M15684</link>
      <description>&lt;P&gt;Alright&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;. Thanks very much.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 03:36:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456388#M15684</guid>
      <dc:creator>tarkom</dc:creator>
      <dc:date>2018-04-23T03:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456558#M15687</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/205971"&gt;@tarkom&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone assist me on how to make the a US map with the QUARTILES calculated above?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why? Your quartile results contain no variable with any geographic information:&lt;/P&gt;
&lt;PRE&gt;proc means data = final StackODSOutput  P25 P50 P75 nway;
var   No_Exercise Few_Fruit_Veg Obesity
     High_Blood_Pres Smoker Diabetes
     Uninsured Elderly_Medicare
     Prim_Care_Phys_Rate Dentist_Rate;&lt;/PRE&gt;
&lt;P&gt;You likely are missing one or more CLASS variables with the geographic indicator(s) such as State and County or similar. If you have State and County&amp;nbsp;as numeric values corresponding the state and county values in the mapsgfk.us_counties data set there would also be no need to project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also what type of map? for which quartiles? How do you want them to appear on the map? Since you are requesting 3 values and Gmap generally prefers to show one value per geographic location you have some additional work to decide what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I make maps for multiple topics I generally create a topic variable so that I can use BY group processing to create a separate map for each topic. Also the STACKODS output format is likely to poorer for mapping.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to peruse some of the example from &lt;A href="http://robslink.com/SAS/&amp;nbsp;" target="_blank"&gt;http://robslink.com/SAS/&amp;nbsp;&lt;/A&gt; There a number of different maps and data summarizations used (plus other types of graphs)&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 15:26:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456558#M15687</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-23T15:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456561#M15688</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is to create a US map u&lt;SPAN&gt;sing the results from the Quartiles generated for each of the ten variables. The STATES will be colored using the following four coloring schemes based on the above quartiles (less than Q1, between Q1 and the Median, between the Median and Q3, and greater than Q3). For a given variable, if the Median value for a STATE is less than or equal to Q1, a light color is preferred. And at the other extreme, a darker color if the Median value of the STATE is greater than Q3. This is the idea that I want to use in generating that map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank You once again.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 15:32:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456561#M15688</guid>
      <dc:creator>tarkom</dc:creator>
      <dc:date>2018-04-23T15:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456586#M15689</link>
      <description>&lt;P&gt;So you want to map your raw data, which has values for the stated variables and STATE level coloring. Don't use the counties map unless you want a very busy map, use the US_STATES set.&lt;/P&gt;
&lt;P&gt;For your consideration:&lt;/P&gt;
&lt;PRE&gt;data values;
   do state=1 to 56;
      med = round( 100*rand('uniform'),0.01);
      output;
   end;
run;


pattern1 v = s c = grayff;
pattern2 v = s c = grayda;
pattern3 v = s c = grayaa;
pattern4 v = s c = gray68;

proc gmap map=mapsgfk.us_states
          data=values
;
   id state;
   choro med /levels=4
              coutline=black
              cempty=black
   ;

run;
quit;&lt;/PRE&gt;
&lt;P&gt;Note that the numeric values of STATE used are not what you might expect as the coding includes DC and protectorates such as Virgin Islands, Puerto Rico, Guam and some others I don't remember right now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is actually no reason to separately calculate the medians. The documentation of the Choro option Levels:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;By default, an equal-distribution (quantizing) algorithm is used to determine each level.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;which is basically the same as quartiles when using LEVELS=4.&lt;/P&gt;
&lt;P&gt;If you do not specify patterns then the current ODS style gradient map values will assign lighter to darker colors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't like the appearance of the Alaska and Hawaii in geographic relationship there are a number of example programs around to create insets for those so the continental part of the US is the majority of the map with those two in different display areas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you describe would be a CHORO map statement with either MIDPOINTS specifying values that create the desired interval (likely not the easiest to implement) or a custom format to show the desired ranges&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:14:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456586#M15689</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-23T16:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456595#M15690</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;I really do appreciate your input and assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting a fair idea now. What I am also thinking now is to see if there could be a way to format the quartiles from the data and earlier code I sent on the quartiles so that I can replace that with the raw values you created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think if I am able to create some kind of format for the quartiles, i.e,&lt;/P&gt;&lt;P&gt;low - Q1= "less than Q1"&lt;/P&gt;&lt;P&gt;Q1-Median = " Between Q1 and Median"&lt;/P&gt;&lt;P&gt;Median - Q3 = "Between Median and Q3"&lt;/P&gt;&lt;P&gt;Q3 - high = "Greater than Q3";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think if I am able to get a format like this from the quartiles, then it can work out as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again, I appreciate your input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:27:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456595#M15690</guid>
      <dc:creator>tarkom</dc:creator>
      <dc:date>2018-04-23T16:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456596#M15691</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/205971"&gt;@tarkom&lt;/a&gt;&amp;nbsp;PROC RANK with GROUPS=4 will give you the groups you want. But PROC GMAP does that automatically, which is what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;was trying to explain.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:32:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456596#M15691</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T16:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456598#M15692</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;Sure...&lt;/P&gt;&lt;P&gt;That's right and I understood what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt; was trying to let me understand. But that appears to be raw data. But what I am expecting and trying to do is based on an actual data set. That is the only difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:39:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456598#M15692</guid>
      <dc:creator>tarkom</dc:creator>
      <dc:date>2018-04-23T16:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456600#M15693</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/205971"&gt;@tarkom&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;Sure...&lt;/P&gt;
&lt;P&gt;That's right and I understood what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt; was trying to let me understand. But that appears to be raw data. But what I am expecting and trying to do is based on an actual data set. That is the only difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What's the difference between raw data and an actual data set? He made data to illustrate the issue, that's all. Your data set is the same...&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456600#M15693</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T16:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456601#M15694</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/205971"&gt;@tarkom&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;I really do appreciate your input and assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting a fair idea now. What I am also thinking now is to see if there could be a way to format the quartiles from the data and earlier code I sent on the quartiles so that I can replace that with the raw values you created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think if I am able to create some kind of format for the quartiles, i.e,&lt;/P&gt;
&lt;P&gt;low - Q1= "less than Q1"&lt;/P&gt;
&lt;P&gt;Q1-Median = " Between Q1 and Median"&lt;/P&gt;
&lt;P&gt;Median - Q3 = "Between Median and Q3"&lt;/P&gt;
&lt;P&gt;Q3 - high = "Greater than Q3";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think if I am able to get a format like this from the quartiles, then it can work out as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once again, I appreciate your input.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you&amp;nbsp;write your own legend statement and suppress the automatic legend (NOLEGEND&amp;nbsp;option in the Choro statement)&amp;nbsp;from Proc Gmap no format would be needed and no summaries. The legend would show the text you want and the color/marker assignments you use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest getting one map to work with desired appearance and then work on placing of Legend statement as the location information you need to supply will change with a different map appearance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:46:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456601#M15694</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-23T16:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456604#M15695</link>
      <description>&lt;P&gt;Alright...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:58:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/456604#M15695</guid>
      <dc:creator>tarkom</dc:creator>
      <dc:date>2018-04-23T16:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457445#M15734</link>
      <description>&lt;P&gt;My first/simplistic try at plotting this was wrong - I deleted it so as not to confuse anyone with wrong code. Yep, even I make mistakes! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[deleted code]&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 11:53:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457445#M15734</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2018-04-26T11:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457453#M15735</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;Thank very much. This is very helpful&lt;/P&gt;&lt;P&gt;The only issue is that the&amp;nbsp;&lt;SPAN&gt;map=maps.us&lt;/SPAN&gt; is broken and so mapsgfk.us_states is used in place of maps.us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate all your inputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 18:58:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457453#M15735</guid>
      <dc:creator>tarkom</dc:creator>
      <dc:date>2018-04-25T18:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457455#M15736</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; what I will like to know is that will levels = 3 means I will be dealing with 3 quartiles, i.e, 1st quartile, median and 3rd quartile?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you all&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 19:02:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457455#M15736</guid>
      <dc:creator>tarkom</dc:creator>
      <dc:date>2018-04-25T19:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457456#M15737</link>
      <description>&lt;P&gt;As I understand it, with quantile binning, when you specify levels=3, each of the legend bins will have approximately 1/3 of the states in it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a more detailed description in the SAS doc:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://go.documentation.sas.com/?docsetId=grmapref&amp;amp;docsetTarget=n0b7n2mnw4t6lhn0zoy86orv95z2.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p058ka6c1hotm8n19oubpf4wludy" target="_blank"&gt;http://go.documentation.sas.com/?docsetId=grmapref&amp;amp;docsetTarget=n0b7n2mnw4t6lhn0zoy86orv95z2.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p058ka6c1hotm8n19oubpf4wludy&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 19:06:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457456#M15737</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2018-04-25T19:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457458#M15738</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;Thank you very much. Sounds good to me. Will read through the link as well.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 19:09:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457458#M15738</guid>
      <dc:creator>tarkom</dc:creator>
      <dc:date>2018-04-25T19:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Making a US MAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457459#M15739</link>
      <description>&lt;P&gt;Per your "broken" maps.us ... perhaps you have somehow corrupted it (if you have write permission to it).&lt;/P&gt;
&lt;P&gt;If that is the case, you should be able to download a fresh copy of the dataset from the SAS mapsonline website:&lt;/P&gt;
&lt;P&gt;I think it would be the 5th one labeled "United States" in this table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;A href="http://support.sas.com/rnd/datavisualization/mapsonline/html/v92maps.html" target="_blank"&gt;http://support.sas.com/rnd/datavisualization/mapsonline/html/v92maps.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 19:12:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-US-MAP/m-p/457459#M15739</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2018-04-25T19:12:07Z</dc:date>
    </item>
  </channel>
</rss>

