Tuesday, November 26, 2013

SAS's ZipCityDistance() function

I knew SAS could do just about anything but I didn't realize there was a function for counting the miles between zipcodes.
Below an example taken from a listserv at work,
data _null_;
            distance=zipcitydistance('94103', '04401');
            put 'Distance from San Francisco, CA, to Bangor, ME: ' distance 4.' miles';

No comments: