<?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: Error while making choropleth map: ERROR: File MAPS.US.DATA does not exist. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772370#M245244</link>
    <description>&lt;P&gt;Have you installed SAS/GRAPH?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 08:25:53 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2021-10-06T08:25:53Z</dc:date>
    <item>
      <title>Error while making choropleth map: ERROR: File MAPS.US.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772338#M245225</link>
      <description>&lt;P&gt;I am trying to make a choropleth map with the Tidy Tuesday data for this week, but I am getting an error:&amp;nbsp;ERROR: File MAPS.US.DATA does not exist.&lt;/P&gt;&lt;P&gt;Below is my code. What do I need to change to make MAPS.US.DATA exist?&lt;/P&gt;&lt;P&gt;I am using SAS studio if it is relevant.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Get data 1;
filename test1234 url "https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2021/2021-10-05/nurses.csv";

proc import out=nurses datafile=test1234 dbms=csv replace; 
	guessingrows = max; 
run;

* Map attempt 1
Error "ERROR: File MAPS.US.DATA does not exist."
https://v8doc.sas.com/sashtml/gref/z9n04-ex.htm;

libname reflib 'SAS-data-library';
libname maps 'SAS-data-library';

proc gmap map=maps.us data=nurses;
   where Year = 2020;
   id State;
   choro 'Total Employed RN'n / coutline=gray;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is a reference of what I am attempting to make a simple version of:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Indescribled_0-1633493565346.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64392iDB50BDC6EC3A6092/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Indescribled_0-1633493565346.png" alt="Indescribled_0-1633493565346.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 04:15:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772338#M245225</guid>
      <dc:creator>Indescribled</dc:creator>
      <dc:date>2021-10-06T04:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error while making choropleth map: ERROR: File MAPS.US.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772370#M245244</link>
      <description>&lt;P&gt;Have you installed SAS/GRAPH?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 08:25:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772370#M245244</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-10-06T08:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error while making choropleth map: ERROR: File MAPS.US.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772448#M245274</link>
      <description>&lt;P&gt;Have you verified that your install has a MAPS library? You typically do not have to use a LIBNAME statement to point to it as that is set up when installed. If attempting to use a different MAPS library then you may be pointing to location without the data set you attempt to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do not see a MAPS library in your library list you may have a MAPSGFK library with map data sets for use.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 14:33:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772448#M245274</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-06T14:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error while making choropleth map: ERROR: File MAPS.US.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772571#M245318</link>
      <description>I am using SAS studio so I have nothing installed.</description>
      <pubDate>Wed, 06 Oct 2021 20:41:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772571#M245318</guid>
      <dc:creator>Indescribled</dc:creator>
      <dc:date>2021-10-06T20:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error while making choropleth map: ERROR: File MAPS.US.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772572#M245319</link>
      <description>I am using SAS studio, so there is no install. Can I get a MAPS library while using SAS studio?</description>
      <pubDate>Wed, 06 Oct 2021 20:42:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772572#M245319</guid>
      <dc:creator>Indescribled</dc:creator>
      <dc:date>2021-10-06T20:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error while making choropleth map: ERROR: File MAPS.US.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772625#M245345</link>
      <description>&lt;P&gt;Studio is just a client, it does not matter. What's on the server is what matters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does SAS complain when you run&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;proc gmap; run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;If not, then you have SAS/GRAPH installed. If so, contact your SAS admin to know why the MAPS library is not defined.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the latest way to draw maps is to use proc &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grmapref/p0posjqhzkf0xkn0zz0i8b1iq4fz.htm" target="_self"&gt;SGMAP&lt;/A&gt; and maps from library MAPSGFK. This does not require SAS/GRAPH.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 03:56:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-making-choropleth-map-ERROR-File-MAPS-US-DATA-does/m-p/772625#M245345</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-10-07T03:56:20Z</dc:date>
    </item>
  </channel>
</rss>

