fipsname

Read Federal Information Processing Standard (FIPS) name file used with TIGER thinned boundary files

Syntax

struc = fipsname
struc = fipsname(filename)

struc = fipsname opens a file selection window to pick the file, reads the FIPS codes, and returns them in a structure.

struc = fipsname(filename) reads the specified file.

Background

The TIGER thinned boundary files provided by the U.S. Census use FIPS codes to identify geographic entities. This function reads the FIPS files as provided with the TIGER files. These files generally have names of the format _name.dat.

Remarks

The FIPS name files, along with TIGER thinned boundary files, are available over the Internet.

Example

struc = fipsname('st_name.dat')

struc = 
1x57 struct array with fields:
    name
    id

s(1)

ans = 
    name: 'Alabama'
      id: 1
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS