About the basetbls Directory

Rev. Oct 25, 2010, jgb

Just a few notes to help you find what you are looking for here. It may seem awfully complicated but if you go slow and read these notes it should not be all that tough to find what you are looking for.

  1. These are very large datasets, with a lot of very detailed information about the geographic entities being summarized. Expect it to take a few seconds to excecute a query.
  2. These datasets are based on CSV files downloaded from the Census Bureau web site, and converted to our database format (SAS data sets). All data for the U.S. (excluding Puerto Rico) were downloaded with a few minor exceptions. Imputation tables (topic code 99), "PR" tables, and tables that were only available for a few very high levels were not downloaded.
  3. The data for the entire United States (except for 5-year period data - see note below) have been been split into 36 datasets (6 x 3 x 2) based on 3 dimensions as follows:
    • Six topic-based categories of tables. These tables are identified by 5-digit numeric codes following a letter (B or C), with the first two digits of numeric portion being a topic code. (See the TableTopicCodes.txt file to see what these codes are.) Some tables have a single-character suffix (A-H) to indicate a special population universe such as a racial or ethnic group.
      As of the 2009 data release there were 27 topics. We have created a set of six "topic intervals" for the purpose of partitioning these data (same as last year):
      1. Topics 00 to 07.
      2. Topic 08 [all by itself, but it is a very big topic].
      3. Topics 09 to 16
      4. Topics 17 to 20
      5. Topics 21 to 24
      6. Topics 25 to 27
    • Three period categories [eventually - the 5yr data are due in December, the 3yr data due early next year], single, 3-year and 5-year period estimates.)
    • Two kinds of data: estimates and MOEs (statistical margins of error) are stored separately. The table names are the same on the MOE datasets as they are on the estimates datasets, but the variable naming convention we use is to replace the variable name convention that uses "i" to precede the item number portion of the variable name with the letter "m". So where you would have a variable named B01001i1 on the ustabs00_07 dataset, you would have the corresponding MOE value stored as variable B01001m1 on the ustabs00_07_moes dataset. (Such names are invisible to the dexter user during the extraction phase since you see these data as tables rather than variables. You only need to know this if you plan to download MOE data and merge it with estimates data, post-dexter.)

  4. The datasets of interest all have names of the form
    ustabs<tt_tt>[_moes][3yr].sas7bdat where tt_tt indicates a table interval such as 00_07 and can also be just 08, and where the two items enclosed in [...] may or may not be present. If _moes appears in the name then the dataset contain MOE values (only - no data estimates); if it does not appear then the dataset contains estimates (and not MOE data). If 3yr appears then it indicates that this dataset contains 3-year period estimates (2006-2008); otherwise the dataset contains single year data for 2008. A value of 5yr will be used when we have 5-year estimates. So, for example:
    • ustabs09_163yr.sas7bdat contains the actual data (estimates) for table series 09 thru 16 (table topics), 3-year period estimates.
    • ustabs21_24_moes.sas7bat contains data for tables series 21 thru 24, single-year margin-of-error data only.
    • ustabs08.sas7bdata contains data for table topic 08, single year estimates.

    Note: The number of geographic areas for which the 5-year period estimates data will be available (excluding Block Groups, which have only a small set of data items published and no base tables data) is around thirteen times the number of areas eligible for 3-year data (see the Bureau's ACS geography page for details.) We have not yet decided exactly which geographic levels and universes we'll use to provide access to the 5yr data, but you can safely assume it will not be as simple as a set of single data seta for the entire U.S.

    If you need to combine estimates data with the corresponding MOE measures you can do so by extracting the two parallel datasets (e.g. ustabls08 and ustabs08_moes) and then post-processing -- merging the two sets together using the variable geoid as the join key.

  5. A special note regarding the topic 27 (Insurance Coverage) tables: these are available only for the single year data. Dataset ustabs25_273yr.sas7bdat is misleading with its name, since it actually does NOT [or will not when it becomes available early in 2011] contain any topic 27 tables. That is because the category was not reported in one of the three years needed to do a 3-year period estimate. We shall not see any 3-year data for this topic until after the data for survey year 2010 is released, in 2011.
  6. Note the Varlabs subdirectory. This can be very useful if you need to do programming with the extract that you have downloaded, espcially (but by no means exclusively) if you get it as a SAS dataset. The subdirectory is comprised of six plain text codebook files (corrsponding to the six table-topic-intervals we use to partition the data). These are our personal favorites as far as metadata go for these datasets. You can also use them as a poor man's search tool to find, for example, all the occurrences of "Ratio of Income" in the set containing poverty-related tables (topic 17, so you would search file 17_20labels.txt).