Community and Regional Planning Program
The University of Texas at Austin School of Architecture

CRP 386: Plans and Plan-Making

CRP 386 Home

Census Assignment Tips

Table of Contents

Trouble-shooting field (column) names in attribute tables (e.g., SF3 tables)

Problem 1 - field names are changed in the conversion from Excel to dBase to ArcMap
Problem 2 - field names are too long to see when trying to map a value

Mapping Tips

Legend Tips


Trouble-shooting field (column) names in attribute tables (e.g., SF3 tables)

Problem 1 - field names are changed in the conversion from Excel to dBase to ArcMap

When you are converting data tables between Excel and dBase, you will run into problems regarding field (column) names in the tables. In dBase formats, field names must be 10 or less characters with no spaces or other unusual punctuation.  If your field names in Excel are longer than this, they get chopped down in the process of saving to a dBase (.dbf) file.

When using SF3 data from the Census Bureau, the conversion from Excel to dBase results in the loss of the last numbers of the field name, which is really bad because they identify the different fields. E.g., GCTH9_CO1.C0 becomes GCTH9_CO1, and GCTH9_CO1.C1 also becomes GCTH9_CO1. When you bring this into ArcMap, it tries to help by adding sequential numbers to the field names  in order to distinguis them - unfortunately, it adds a 1 to what had been a 0, 2 to what had been a 1, etc. All of which causes total confusion, and makes you understand why it is much easier to buy pre-processed data if possible.

Solution for Problem 1

Change the field names in Excel before you save as a dBase (.dbf) file. You can use whatever field name makes sense to you as long as you keep it 10 or less characters with no spaces or other funny stuff (e.g., med_HH_inc will work, as will medHHinc).

While you're at it, you can also delete any fields in Excel that you don't need for data display in ArcMap. Just make sure not to delete the Geo_id field - you need that to make the join to the tracts layer.

Problem 2 - field names are too long to see when trying to map a value

When you join the newly created .dbf file to a layer in ArcMap, another potential problem occurs. The field names that you see are even longer because ArcMap adds to each field name the name of the table the field came from (either the layer's attribute table or the newly joined table). Click here for example of a joined table showing the census2000_tracts layer joined with a table called finan_housing - you see the end of one table and the beginning of the next table. This addition is only temporary while the join is in place, so your field names have not actually been renamed. Still it can be confusing to look at.

It becomes even more confusing when you try to create a map, because when you click to choose the value you want to map, the names are soometimes so long, you can't see them in full and so can't see which is the desired field. Oy!

Solution for Problem 2

I have solved this particular problem by exporting the layer, with the table still joined, to a new shape file. To do this, right-click on the layer name (e.g., census2000_tracts_sf1) and choosing Data - Export Data. This creates a new shape file with the original attributes of the layer and the joined table together in one new permanent shape file (by contrast, a join is temporary). You should name this new shape file something reasonable, e.g., tracts_SF3_income_poverty. Once you do this, the field names go back to what you originally named them and are easier to see. This is not an ideal work-around, but it works.

Mapping Tips

A few tips about census maps:

Legend Tips

OK, now to the legend!

Bad legend

Better Legend

How to get from here to there...

This is what I do with legends - you can also read up on them in ArcGIS Desktop Help.


Return to top of page

11 February 2004
The School of Architecture at UT Austin
Comments to: Barbara Parmenter (bparmenter@mail.utexas.edu