Hi all! I am curious about curating a map within the SAS program. I have a dataset that only has local counties (and their respective county codes), will this be sufficient to create a map in SAS? How does one prepare their dataset to create one?
I appreciate any sort of resources that I can look up and learn more!
Many thanks!
If you have a SAS/Graph license, SAS ships US county borders/maps in the mapsgfk library. You can then use Proc Gmap or Proc SGmap to draw the county map, and color the counties using your data. I have several examples of North Carolina county maps in this collection - feel free to look at my code, and use that as a starting place for your California county map.
http://robslink.com/SAS/democd_nc/aaaindex.htm
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.