Chapter 11
State and ZIP Code Functions
Functions That Convert FIPS Codes
Functions That Convert State Codes
Functions That Convert ZIP Codes
Functions That Compute Geographical Distance
Introduction
This group of functions allows you to convert between FIPS (Federal Information Processing Standards) codes, ZIP codes, two-digit state postal codes, and state names and abbreviations. For example, these functions let you store a ZIP code and print out a state name or abbreviation, computed from the code.
Two functions added with SAS 9.2, GEODIST and ZIPCITYDISTANCE, compute distances between two sets of longitude and ...
Get SAS Functions by Example, Second Edition, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.