>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  ST2FIPS
Libraries

ST2FIPS

ST2FIPS

Name


      ST2FIPS

Purpose


      From 2 letter state abbreviation return 2 digit FIPS code.

Category


Calling Sequence


      fips = st2fips(st)

Inputs


      st = 2 letter state abbreviation. in
        NULL strings returns list of all
        FIPS codes in fips, all state names
        through the NAME keyword, and all
        2 letter state abbreviation through
        the STATE keyword.

Keyword Parameters


Keywords


        NAME=nam Returned full name.
        STATE=state Returned 2 letter state abbreviation2
          when called with a null string.
        /LIST list all states and their FIPS codes.

Outputs


      fips = 2 digit state FIPS code string. out
        Null string means error.

Common Blocks


      st2fips_com

Notes


      Notes: Example: st2fips('pa') returns '42'.

Modification History


      R. Sterner, 2004 Jul 07
      R. Sterner, 2004 Jul 12 --- Return all FIPS option.
      R. Sterner, 2004 Jul 16 --- Added /LIST.
  Copyright (C) 2004, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us