<?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 gmap partial maps of canada and usa in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/gmap-partial-maps-of-canada-and-usa/m-p/421565#M8971</link>
    <description>&lt;P&gt;I wrote the following gmap input data&amp;nbsp; and got&amp;nbsp; an error for the canada part.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Combine the map data set with the annotate data set. */
data all;
	/* Subset out the states that you do not want. */
	/* The FIPS code of 2 is Alaska, 15 is Hawaii, */

	/* and 72-Puerto Rico. California-6 Florida-12 
	Oregon-41 Nevada-32 Arizona-4*/
	set maps.states(where=(state not in(2 4 6 12 15 32 41 72))) 
		maps.canada(where=(province not in(10:13 60 61))) anno;
		*anno;

	*maps.canada4 anno;
	*maps.canada4(where=(province not in(10:13 60 61))) anno;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The error message is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;93 data all;&lt;BR /&gt;94 /* Subset out the states that you do not want. */&lt;BR /&gt;95 /* The FIPS code of 2 is Alaska, 15 is Hawaii, */&lt;BR /&gt;96&lt;BR /&gt;97 /* and 72-Puerto Rico. California-6 Florida-12&lt;BR /&gt;98 Oregon-41 Nevada-32 Arizona-4*/&lt;BR /&gt;99 set maps.states(where=(state not in(2 4 6 12 15 32 41 72)))&lt;BR /&gt;100 maps.canada(where=(province not in(10:13 60 61))) anno;&lt;BR /&gt;ERROR: WHERE clause operator requires compatible variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate help in correcting this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2017 13:42:59 GMT</pubDate>
    <dc:creator>capam</dc:creator>
    <dc:date>2017-12-15T13:42:59Z</dc:date>
    <item>
      <title>gmap partial maps of canada and usa</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/gmap-partial-maps-of-canada-and-usa/m-p/421565#M8971</link>
      <description>&lt;P&gt;I wrote the following gmap input data&amp;nbsp; and got&amp;nbsp; an error for the canada part.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Combine the map data set with the annotate data set. */
data all;
	/* Subset out the states that you do not want. */
	/* The FIPS code of 2 is Alaska, 15 is Hawaii, */

	/* and 72-Puerto Rico. California-6 Florida-12 
	Oregon-41 Nevada-32 Arizona-4*/
	set maps.states(where=(state not in(2 4 6 12 15 32 41 72))) 
		maps.canada(where=(province not in(10:13 60 61))) anno;
		*anno;

	*maps.canada4 anno;
	*maps.canada4(where=(province not in(10:13 60 61))) anno;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The error message is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;93 data all;&lt;BR /&gt;94 /* Subset out the states that you do not want. */&lt;BR /&gt;95 /* The FIPS code of 2 is Alaska, 15 is Hawaii, */&lt;BR /&gt;96&lt;BR /&gt;97 /* and 72-Puerto Rico. California-6 Florida-12&lt;BR /&gt;98 Oregon-41 Nevada-32 Arizona-4*/&lt;BR /&gt;99 set maps.states(where=(state not in(2 4 6 12 15 32 41 72)))&lt;BR /&gt;100 maps.canada(where=(province not in(10:13 60 61))) anno;&lt;BR /&gt;ERROR: WHERE clause operator requires compatible variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate help in correcting this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 13:42:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/gmap-partial-maps-of-canada-and-usa/m-p/421565#M8971</guid>
      <dc:creator>capam</dc:creator>
      <dc:date>2017-12-15T13:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: gmap partial maps of canada and usa</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/gmap-partial-maps-of-canada-and-usa/m-p/421729#M8978</link>
      <description>&lt;P&gt;In my Maps.canada dataset Province is character. You would have to use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;maps.canada(where=(province not in('10' '11' '12' '13' '60' '61')&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the value list '10':'13' does not work with character values because '101' would be "between" '10' and '13'. And because there are so many possible issues with inclusion for character SAS has just skipped that coding issue and doesn't allow it.&lt;/P&gt;
&lt;P&gt;The error message&lt;/P&gt;
&lt;PRE&gt;ERROR: WHERE clause operator requires compatible variables&lt;/PRE&gt;
&lt;P&gt;means that you are comparing a text variable to numeric somewhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 23:22:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/gmap-partial-maps-of-canada-and-usa/m-p/421729#M8978</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-15T23:22:28Z</dc:date>
    </item>
  </channel>
</rss>

