[sas-users] County FIPS codes

david.d.chapman at census.gov david.d.chapman at census.gov
Wed Aug 10 08:39:40 EDT 2011


There are also some zip functions.  I know these function are in the SAS 
9.2 documentation.  It is not clear whether it is available earlier.

zipfips gives the fips code of the state of the zip
zipcity gives the name of the city name and state 
zipname gives the unpercase state name
zipnamel give the state name first letter uppercase and everything else 
lower case
zipstate give the two-character postal code.
 

David D. Chapman
Chief, Quality Assurance Staff
Economic Planning and Coordination Division
U.S. Census Bureau - Economic Statistics
Office: 301-763-6535
Cell: 703-498-5782
E-mail: david.d.chapman at census.gov 

Connect with us:




From:
b.nathaniel.miller at census.gov
To:
sas-users list for SAS Users Group <sas-users at lists.census.gov>
Date:
08/09/2011 12:53 PM
Subject:
Re: [sas-users] County FIPS codes
Sent by:
sas-users-bounces at lists.census.gov




Hi Nancy, 

I haven't used these personally, but they might be helpful: 
Base SAS software provides several functions that convert state names to 
FIPS codes and vice versa. The following table lists these functions and a 
brief description of each. See SAS Language Reference: Dictionary for more 
information. 
FIPS and Postal Code Functions 
Function 
Description 
STFIPS 
converts state postal code to FIPS state code 
STNAME 
converts state postal code to state name in upper case 
STNAMEL 
converts state postal code to state name in mixed case 
FIPNAME 
converts FIPS code to state name in upper case 
FIPNAMEL 
converts FIPS code to state name in mixed case 
FIPSTATE 
converts FIPS code to state postal code

Nate Miller
Survey Statistician
Economic Planning & Coordination Division
Register Operations Branch
U.S. Census Bureau - Economic Statistics
301-763-9058 
 



From: 
nancy.l.robbins at census.gov 
To: 
sas-users at lists.census.gov 
Date: 
08/09/2011 12:43 PM 
Subject: 
[sas-users] County FIPS codes 
Sent by: 
sas-users-bounces at lists.census.gov





Does anyone know if there is a FIPS function in SAS to use with the 
3-digit
county codes?  I thought there was but cannot find it in the 
documentation,

_______________________________________________
sas-users mailing list
sas-users at lists.census.gov
http://lists.census.gov/mailman/listinfo/sas-users

_______________________________________________
sas-users mailing list
sas-users at lists.census.gov
http://lists.census.gov/mailman/listinfo/sas-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.census.gov/pipermail/sas-users/attachments/20110810/84989433/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 4056 bytes
Desc: not available
URL: <http://lists.census.gov/pipermail/sas-users/attachments/20110810/84989433/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 660 bytes
Desc: not available
URL: <http://lists.census.gov/pipermail/sas-users/attachments/20110810/84989433/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 646 bytes
Desc: not available
URL: <http://lists.census.gov/pipermail/sas-users/attachments/20110810/84989433/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1177 bytes
Desc: not available
URL: <http://lists.census.gov/pipermail/sas-users/attachments/20110810/84989433/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 654 bytes
Desc: not available
URL: <http://lists.census.gov/pipermail/sas-users/attachments/20110810/84989433/attachment-0003.gif>


More information about the sas-users mailing list