Hi Folks:
I'd like to conduct a spatial analysis in SAS. Unit of analysis is the ZIP-code. And I'm looking for a map data in SAS for the New York state at ZIP code level. I found maps named 'us_all' in mapsgfk library. However, it has county as it's smallest municipal unit. I know there is a TIGER shapefile at ZIP code level. But are those importable into SAS and used for spatial analysis.
Anybody knows whether there is a map data of the United States in SAS directories at ZIP-code level?
Thanks for your help in advance.
Best wishes,
Cruise
@Reeza i ended up using sashalp.zipcode dataset since my goal was to compute the centroid of the ZIP codes in the NY state. X and Y data in the dataset corresponded with the ZIP-code centroids. Worked out perfectly. Thanks Reeza!
Go to the US census web site, Census.gov and search for the ZIP code tabulation area map data set.
The census website reorganizes itself apparently annually and it has been several years since I looked for this so I will let you have the fun of navigating the site to find the data set.
That is the only free source I have discovered that comes close. Warning: ZIP code tabulation has a very specific meaning for the Census Bureau and does not, repeat NOT, cover all of the geography in the US. The areas, mostly in western states, that have extremely low population densities will have areas that are not inside any particular tabulation area.
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.