American Community Survey at the Missouri Census Data Center
New Approach to Dealing with Base (aka "Summary") Tables
Rev. 1/24/2013 9:14:20 AM, jgb
We (mostly Glenn) have processed the detailed tables for vintage 2011 from the Bureau. Per my e-mail to
Glenn Rice (GR) circa 12-18-12 we are trying out a new approach to 5-year base tables. The basic elements of the new plan are:
- We will segregate summaries at the block group level into a single separate dataset containing only those (350) tables which are available
at the BG level. All the available tables will be in a single dataset, with no partitioning based on topic groups as we have with all the
other geographic levels.
- Tract level data (SumLevs 140 and 080) will be stored separately and will have the same "topic partitioning" (00_07, 08, 09_16, etc.)
as all other levels except BGs.
- The remaining geographic levels will be stored in a set of topic-partitioned datasets, similar to what we have done in prior years.
- Dataset names in the basetbls directories (subdirectories of the acs20XX directorieis, where 20XX is the ACS vintage year) will begin with a
2-character universe indicator, usually "us"; this is followed by one of the words "bgs", "tracts" or "tabs" corresponding to the 3-part
partioning just described. This will then be followed by the constant "5yr". So for the 2011 vintage year we shall have these 5yr datasets:
- usbgs5yr
- ustracts00_075yr
- ustabs00_075yr
- Note that there is only a single "bgs" dataset, while there is a set of
6 datasets for the tracts and tabs datasets, where the "topic group" specs are 00_07, 08 (a single topic is so large it is its own group),
09_16, 17_20,21_24, and 25_27 . (Topic 27, insurance coverage, is not yet available for 5yr datasets but we keep it in the dataset name to
keep things consistent with the corresponding single and 3-year datasets).
- Each of these datasets contain only the estimates. There are companion datasets with the same name but with "_moes" appended, and these contain
the MOE (margin of error) data. (This is not new.)
Missing Single-Year Base Tables
This problem has been fixed.
On 1-15-13 I reported (to Glenn and Tracy) that the data stored in the 1-year base tables datasets, (ustabs00_07.sas7bdata, ustabs08.sas7bdat, etc.) had apparently been overwritten and now contained the 3yr data. I moved those datasets to the new tobedeleted subdirectory pending their permanent deletion. We have still not (as of 1-28-13) re-processed these data sets. Sent followup note 1-28.
Creating BG Level mcdcprofiles Datasets Using New Formulae
There is actually a lot more data available at the BG level than I orginally thought. Many fewer tables (375 of all tables are available at BG level, but then many of the Not-available tables are the A-I suffix tables so we have a pretty large portion of tables describing the total pop. By using alternate, especially C, tables for our formulae can yield numerous mcdcprofiles variables that we previously has assumed were just not available.
Things to know or resolve:
- We already have a "temporary" usbgs5yrtemp dataset in acs2011 which is just a subset of the orginal usmcdcprofiles5yr dataset that Glenn created. Meaning all these variables are available with no change to existing formulae for extracting from the base tables.
- We (jgb) are working on a job newbgvar_formulae.sas, that accesses different tables to define certain variables that have heretofore been considered NA at the BG level. We can fill in many variables by just going to alternate table sources. Many of these alternate sources are C tables.
- Question: Are there C tables available for the non-BG levels? Are they available at the BG level? It would seem so, since I have a spreadsheet file that I downloaded in the 2010 cycle that showed which tables were available and had a flag to indicate if it were available at the BG level. Where can we find an updated version of this for 2011? I used the data regarding tables available at the BG level to edit the set of /pub/data/acs2010/Varlabs/xxxxxxx.txt data sets so that a comment is inserted indicating those tables available at the BG level. I am
leaning heavily on these Varlabs files as I work on creating alternate formulae.
- Where can I go to get a m-r file with detailed table info showing which tables are available in the 5-year data for 2011 and which are available at the BG level? We can see this info in the techdoc pdf file but I would like something I could read into SAS so I could regenerate the Varlabs files with special comments indicating availability at the BG level. For now, I am doing my coding of the new formulae for the BG profiles usingthe Varlabs file created for 2010, going under the assumption that things would not have changed that much. But this may turn out to not be the case.
- Question: Where are the 08 BG level base tables? Glenn created a single usbgs5yr base tables dataset for 2011, but there do not appear to be any [B|C]08xxxx tables in this set. But the doc I am using indicates that their should be.
Issues to deal with
- Why are MOE datasets larger than there estimates counterparts?
- We need to fix the geocodes on all these sets. E.g. on the bgs set we have areaname and geoid wasting a lot of space.
We need tract and county (5-char)and bg and we need to have the cbsa codes filled in.
- We also need to drop the sumlev index on this bgs data set and on the tracts datasets.
- need to generate the select_tables files for the 2011 3yr and 5yr datasets. We need to make that slicker.
- The county variable is consistently a 3-character variable on most (all?) basetbls data sets. But that name by convention is a 5-character value including the state
code.
- The variable labels on the 2010 5yr state subsets need to be fixed.
Strategies to deal with these issues (above)- and more
(new, added 3/23/2013 )
- We should focus on having Glenn create a collection of SAS data sets that are complete: all the available data, including the
MOEs. The only identifiers that need to be present on these data sets are geoid, logrecno, and state. They should all be sorted by the key variable, which could be either logrecno or geoid, whichever is easier. Geoid would probably be preferable.
- The block group level data sets should be separate and should only contain data for those tables available at the BG level.
- We'll need a master geography data set for each of the periods.
- We'll need a detailed metadata set with observations describing each variable as well as table titles and universes. We'll also need flags to indicate which periods (1, 3, 5) the variable/table is available for and whether or not it is available at the BG level.
- The exact details of how these data are to be stored in terms of partitioning by topic or topic group, weather the moes are stored separate from the estimates etc. can be handled on the “SAS side” (by me, for now). If it makes sense for Glenn to create more and smaller data sets then he can do that. The data sets provided to me can be stored in a “permanent temporary” storage area with the understanding that these are raw data that will not be permanently kept around (they can be archived somewhere once we are finished using them).
- The final data sets that go into the public archive will be created by SAS jobs stored in the Tools library of the appropriate acsYYYY data directory. Among the “fine points” of creating these data sets will be careful attention to the geographic ID variables which can be critical for running queries and/or for using extracted data in mapping applications.
- While we shall provide the usual access to the data sets we create via Dexter, we should drop the effort to provide access to these data at the table rather than the variable level. We should plan a developing a custom front end application that will allow the user to select geographies and tables and output formats, and how they want to handle MOEs. Output files will be limited to csv, dbf and sas data set formats. No printed reports. This should be an item in the FY14 work plan.
- We should plan on archiving all 5yr data sets that are not the most current. We can move them to some offline storage and not bring them back for 5 years, i.e. until we have non-overlapping set of 5yr data which might make them useful for trends. (We’ll still have the mcdcprofiles available for these older 5yr periods. But we don’t want to waste all that storage keeping the detailed stuff around.)