fipsname

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

fipsname will be removed in a future release. More recent TIGER/Line data sets are available in shapefile format and can be imported using shaperead.

Syntax

struc = fipsname
struc = fipsname(filename)

Description

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.

Examples

struc = fipsname('st_name.dat')

struc = 
1x57 struct array with fields:
    name
    id

s(1)

ans = 
    name: 'Alabama'
      id: 1

More About

expand all

Tips

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

Was this topic helpful?