x cd /pub/data/eeo2000/Tools; %let pgm=invoke_dosets; filename pgm "&pgm..sas";
/*--Invoke the %doset macro to create observations in the Datasets dataset for this directory.
J. Blodgett, OSEDA, Dec., 2003
-- */
title "Job to Invoke doset Macro for Sets in eeo2000, creating eeo2000.datasets";
libname eeo2000 '/pub/data/eeo2000'; libname eeo (eeo2000);
%let filetype=eeo2000;
*-----Run this step ONLY ONCE------------------------------------------;
*----If you need to rerun (start over) then delete the datasets dataset first. doset will not
allow initialize mode if the datasets set already exists.---;
%*doset(mode=initialize,
libname=eeo2000,debug=1);
*----------------------------------------------------------------------;
/*<=========================Comment out=====================================
*---------------------Table Group A------------------------------------;
*---Define template for the first 7 datasets, the "A" group (based on residence geography)---;
%doset(mode=,libname=eeo2000,
memname=_template_a,
memlabel=,
units=,
Year=2000,
CreatePgm=cnvttbls,
Keywords=census 2000 eeo occupation workforce employment race hispanic,
Keyvars= SumLev GeoCode State csarea msapmsa ~occvar,
Keyfmats=Sumlev eeogeo state csarea msapmsa ~occfmt,
Description=%nrbquote(Custom tabulations of the Civilian Labor Force Aggregated by residential geography. ),
DataSource=%str(2000 Census - EEO Special Tab Product rel. Dec/2003),
SortedBy=SumLev Geocode,
UsageNotes=%nrbquote(
- Summaries are of the Civilian Labor Force 16 years and older, ESR (Employment
Status Recode) 1-3.
- All geography pertains to the residence of the worker (not the work site).
- These are the tables with 12 Race/Ethnic categories. There are comparable tables with 15 categories as used in Hawaii
available from the Census Bureau, but not here.
- All of the race categories are qualified by Hispanic. You can not get complete race counts.
),
SubType=,
SetGroup=us,
VarSet=,
URLMeta=%str(https://mcdc.missouri.edu/applications/uexplore.php?/pub/data/eeo2000/sas_doc),
debug=0)
*------------------Table 1-----------------------------*;
%let occvar=cenocc; %let occfmt=cenocc;
%doset(libname=&filetype,
memname=ustable1,template=_template_a,
memlabel=%nrbquote(472 Census Occ. Categories by Residence down to County Sets),
geouniv=United_States,
units=US State MSA PMSA CountySet,
Description=%nrbquote(+ This is one of the largest non-flow datasets with very detailed occupation
data (472 census codes), and 4 levels of geography down to counties of 50,000+ and County Sets. Data for
the usual 12 EEO
Race/Hispanic categories by Sex.),
UsageNotes=%nrbquote(+- There are 24 cells in the t1 table: 12 Race/Hispanic characters by 2 Sex categories.
- The County Sets summary level (901) has data for individual counties of 50,000 or more population.
- The total variable has the count of all persons for the geography / occupation code category
and is rather frequently 0. Users may wish to filter cases where totpop=0.
),
SubType=table1,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable1,template=ustable1,
geouniv=Missouri,sortprio=1,
units=State CountySet,
Keyvars= SumLev GeoCode State csarea &occvar,
Keyfmats=Sumlev eeogeo state csarea &occfmt,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable1 dataset using the filter:
State EQUALS 29 )
,
setgroup=mo);
*------------------Table 2-----------------------------*;
%let occvar=opm; %let occfmt=opmocc;
%doset(libname=&filetype,
memname=ustable2,template=_template_a,
memlabel=%nrbquote(268 OPM Occ. Categories by Residence down to County Sets),
geouniv=United_States,
units=US State MSAs PMSA CountySet,
Description=%nrbquote(+ This is one of the larger non-flow datasets with 268 OPM Federal Workforce
occupation groups and the same 4 levels of geography as Table 1. Data for
the usual 12 EEO
Race/Hispanic categories by Sex.),
UsageNotes=%nrbquote(+
- Table 2 is basically the same as Table 1 but with OPM categories instead of Census detailed categories.
- There are 24 cells in the t2 table: 12 Race/Hispanic characters by 2 Sex categories.
- The County Sets summary level (901) has data for individual counties of 50,000 or more population.
- The total variable has the count of all persons for the geography / occupation code category
and is rather frequently 0. Users may wish to filter cases where totpop=0.
),
SubType=table1,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable2,template=ustable2,
geouniv=Missouri,sortprio=1,
units=State CountySet,
Keyvars= SumLev GeoCode State csarea &occvar,
Keyfmats=Sumlev eeogeo state csarea &occfmt,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable2 dataset using the filter:
State EQUALS 29 )
,
setgroup=mo);
*------------------Table 5-----------------------------*;
%let occvar=st_loc; %let occfmt=stloc;
%doset(libname=&filetype,
memname=ustable5,template=_template_a,
memlabel=%nrbquote(8 State & Local Govt Occ. Cats by Residence down to County & large place),
geouniv=United_States,
units=US State MSA PMSA County Place50k,
keyvars=SumLev GeoCode State County Place MsaPmsa &occvar,
Keyfmats=Sumlev eeogeo state county fplace msapmsa &occfmt,
Keyquals= | | | | state,
Description=%nrbquote(+ State and Local Job Categories (8) for US, states, counties, metro areas and places
of 50,000 or more. Data for
the usual 12 EEO
Race/Hispanic categories by Sex.),
UsageNotes=%nrbquote(+
- There are 24 cells in the t5 table: 12 Race/Hispanic characters by 2 Sex categories. (Same as Tables 1 and 2).
),
SubType=table5,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable5,template=ustable5,
geouniv=Missouri,sortprio=1,
units=State County Place50k,
Keyvars= SumLev GeoCode State County Place &occvar,
Keyfmats=Sumlev eeogeo state county fplace &occfmt,
Keyquals= | | | | state,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable5 dataset using the filter:
State EQUALS 29 )
,
setgroup=mo);
*------------------Table 6-----------------------------*;
%let occvar=; %let occfmt=;
%doset(libname=&filetype,
memname=ustable6,template=_template_a,
memlabel=%nrbquote(Younger Age Groups & Ed Attainment for Counties & Places of 50k+),
geouniv=United_States,
units=County Place50k,
Keywords=census 2000 eeo workforce race hispanic age education,
keyvars=SumLev GeoCode State County Place &occvar,
Keyfmats=Sumlev eeogeo state county fplace &occfmt,
Keyquals= | | | | state,
Description=%nrbquote(+Younger Age Groups, Educational Attainment, Race/Ethnicity and Sex for
all counties and places of 50,000 or more.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+
- No occupation information in this table.
- There are 480 cells in the t6 table: Race/Hispanic(12) by Sex(2) by Younger Age Groups(4)
by Educational Attainment(5).
),
SubType=table6,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable6,template=ustable6,
geouniv=Missouri,sortprio=1,
units=County Place50k,
Keyvars= SumLev GeoCode State County Place &occvar,
Keyfmats=Sumlev eeogeo state county fplace &occfmt,
Keyquals= | | | | state,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable6 dataset using the filter:
State EQUALS 29 )
,
setgroup=mo);
*------------------Table 7-----------------------------*;
%let occvar=; %let occfmt=;
%doset(libname=&filetype,
memname=ustable7,template=_template_a,
memlabel=%nrbquote(Younger Age Groups & Ed Attainment for US, States & Metros),
geouniv=United_States,
units=US State MSA PMSA,
Keywords=census 2000 eeo workforce race hispanic age education,
keyvars=SumLev GeoCode State msapmsa &occvar,
Keyfmats=Sumlev eeogeo state msapmsa &occfmt,
Keyquals=,
Description=%nrbquote(+Younger Age Groups, Educational Attainment(6), Race/Ethnicity and Sex for
US totals, states and metro areas.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+
- No occupation information in this table.
- There are 576 cells in the t7 table: Race/Hispanic(12) by Sex(2) by Younger Age Groups(4)
by Educational Attainment(6).
- Table t7 differes from table t6 by having an extra educational attainment category: you can get Masters
Degree separate from PhD/Prof degree. Geography is also different.
),
SubType=table7,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable7,template=ustable7,
geouniv=Missouri,sortprio=1,
units=County Place50k,
Keyvars= SumLev GeoCode State &occvar,
Keyfmats=Sumlev eeogeo state &occfmt,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable7 dataset using the filter:
State EQUALS 29 )
,
setgroup=mo);
*-------------------Alternative view datasets (radical restructurings)-------------------*;
%doset(libname=&filetype,
memname=altustable1,template=ustable1,
memlabel=%str(One-Obs-Per-Cell Alternate view of ustable1 data),
units=t1_table_cells,
sortprio=4,
keyvars=SumLev GeoCode State cenocc race hispanic rhtype,
keyfmats=sumlev eeogeo state cenocc | | | ,
description=%nrbquote(Experimental dataset in which we have replaced the 24-cell table of the ustable1
dataset with 1 obs per non-zero cell per geography/occupation code. Makes for a very long skinny dataset, one
that may be easier to use for some.),
UsageNotes=%nrbquote(- Values of variable Race (12) are mnemonic based on codebook (see Keyvars for values).
- Hispanic is a flag indicating if this cell counts hispanic workers (value is H) or non-hispanci (N). Blank for
rhtype 0 summaries.
- The rhtype variable indicates whether we have the usual Race/Hispanic combination summary from the original t1 table
cell (rhtype=2), or a derived Hispanic total (rhtype=1) or a derived total persons regardless of race/ethnicity (rhtype=0),
- socode variable (std occupation code) dropped to save space. Its value is contained within OccName.
- The t1 table has counts for males and females, but we added those to create the variable Total and kept the
Female count. You can easily get the Male count by subtracting Female from Total.
- Geoname and OccName are very handy because they identify the cell in terms of geographic area and occupational
category. They are stored as codes and use SAS format codes to display as descriptive labels. If you extract to a
csv or dbf file they become those strings and the files will be larger than the original SAS dataset. If you extract
them to a SAS dataset you will want to take the formats with you.
- State and geocode are the only two geographic codes kept, to save space. All you really need.
),
subtype=altview1,
setgroup=us,
debug=0);
%doset(libname=&filetype,
memname=altustable23,template=altustable1,
memlabel=%str(One-Obs-Per-Cell Alternate view of table23 data),
units=t23_table_cells,
sortprio=4,
keyvars=sumlev geocode workstate workcounty cenocc Industry rhtype race hispanic ,
keyfmats=sumlev eeogeo state eeocnty cenocc eeo_ind ,
description=%nrbquote(Detailed Occs x Industry x Race/Hisp x Sex-US, Cos & Plcs 100K+),
UsageNotes=%nrbquote(
- In this set we have replaced the 2112-cell table observations with 1 obs per non-zero cell
dataset with 1 obs per non-zero cell per geography/occupation code. Makes for a very long skinny dataset, one
that may be easier to use for some.
- Values of variable Race (12) are mnemonic based on codebook (see Keyvars for values).
- Hispanic is a flag indicating if this cell counts hispanic workers (value is H) or non-hispanci (N). Blank for
rhtype 0 summaries.
- The rhtype variable indicates whether we have the usual Race/Hispanic combination summary from the original t1 table
cell (rhtype=2), or a derived Hispanic total (rhtype=1) or a derived total persons regardless of race/ethnicity (rhtype=0),
- socode variable (std occupation code) dropped to save space. Its value is contained within OccName.
- The t1 table has counts for males and females, but we added those to create the variable Total and kept the
Female count. You can easily get the Male count by subtracting Female from Total.
- Geoname and OccName are very handy because they identify the cell in terms of geographic area and occupational
category. They are stored as codes and use SAS format codes to display as descriptive labels. If you extract to a
csv or dbf file they become those strings and the files will be larger than the original SAS dataset. If you extract
them to a SAS dataset you will want to take the formats with you.
- State and geocode are the only two geographic codes kept, to save space. All you really need.
),
subtype=altview1,
setgroup=us,
debug=0);
===========================End commented out================================ */
*---------------------Table Group B ------------------------------------;
*---Define template for tables 8 - 19 datasets, the "B" group (based on workplace / residence geography)---;
%doset(mode=,libname=eeo2000,
memname=_template_b,
memlabel=,
units=,
Year=2000,
CreatePgm=cnvttbls,
Keywords=census 2000 eeo occupation workforce employment race hispanic,
Keyvars= SumLev GeoCode State csarea msapmsa ~occvar,
Keyfmats=Sumlev eeogeo state csarea msapmsa ~occfmt,
Description=%nrbquote(Custom tabulations of the Civilian Labor Force Aggregated by worksite/residential geography. ),
DataSource=%str(2000 Census - EEO Special Tab Product rel. Dec/2003),
UsageNotes=%nrbquote(- Summaries are of the Civilian Labor Force 16 years and older, ESR (Employment
Status Recode) 1-3.
- All geography pertains to the worksite / residence of the worker.
- These are the tables with 12 Race/Ethnic categories. There are comparable tables with 15 categories as used in Hawaii
available from the Census Bureau, but not here.
- All of the race categories are qualified by Hispanic. You can not get complete race counts.
),
SubType=,
SetGroup=us,
VarSet=,
URLMeta=%str(https://mcdc.missouri.edu/applications/uexplore.php?/pub/data/eeo2000/sas_doc),
debug=0)
*------------------Table 8-----------------------------*;
%let occvar=occvar; %let occfmt=occfmt;
%doset(libname=&filetype,
memname=ustable8,template=_template_b,
memlabel=%nrbquote(OPM Federal Workforce Occupational Groups for counties only),
geouniv=United_States,
units=CountyCounty,
Keywords=,
keyvars= cenocc pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats=cenocc eeocnty eeocnty eeorace eeosex ,
Keyquals=,
Description=%nrbquote(+Younger Age Groups, Race/Ethnicity and Sex for
counties of worksite and residence.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable8,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable8,template=ustable8,
geouniv=Missouri,sortprio=1,
units=CountyCounty,
Keyvars = cenocc pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats= cenocc eeocnty eeocnty eeorace eeosex,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable8 dataset
) ,
setgroup=mo);
*------------------Table 9-----------------------------*;
%let occvar=occvar; %let occfmt=occfmt;
%doset(libname=&filetype,
memname=ustable9,template=_template_b,
memlabel=%nrbquote(OPM Federal Workforce Occupational Groups for counties only),
geouniv=United_States,
units=CountyCounty,
Keywords=,
keyvars= opm OccName pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats=opmocc opmocc eeocnty eeocnty eeorace eeosex ,
Keyquals=,
Description=%nrbquote(+Younger Age Groups, Race/Ethnicity and Sex for
counties of worksite and residence.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable9,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable9,template=ustable9,
geouniv=Missouri,sortprio=1,
units=CountyCounty,
Keyvars = opm OccName pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats= opmocc opmocc eeocnty eeocnty eeorace eeosex,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable9 dataset
) ,
setgroup=mo);
*------------------Table 12-----------------------------*;
%let occvar=occvar; %let occfmt=occfmt;
%doset(libname=&filetype,
memname=ustable12,template=_template_b,
memlabel=%nrbquote(Aggregated Occupations for counties only),
geouniv=United_States,
units=CountyCounty,
Keywords=,
Keyvars = st_loc pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats= stloc eeocnty eeocnty eeorace eeosex,
Keyquals=,
Description=%nrbquote(+Younger Age Groups, Race/Ethnicity and Sex for
central worksite county of 50K or more, one residual area which agrregates all
counties not included in the up to nine areas.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable12,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable12,template=ustable12,
geouniv=Missouri,sortprio=1,
units=CountyCounty,
Keyvars = st_loc pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats= stloc eeocnty eeocnty eeorace eeosex,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable12 dataset
) ,
setgroup=mo);
*------------------Table 13-----------------------------*;
%let occvar=occvar; %let occfmt=occfmt;
%doset(libname=&filetype,
memname=ustable13,template=_template_b,
memlabel=%nrbquote(Aggregated Occupations for counties only),
geouniv=United_States,
units=CountyCounty,
Keywords=,
Keyvars = pow_geo_cty res_geo_cty racehsp qsex youngage educ5,
Keyfmats= eeocnty eeocnty eeorace eeosex eeoyng eeo5edu,
Keyquals=,
Description=%nrbquote(+Younger Age Groups, Race/Ethnicity and Sex for
central worksite county of 50K or more, one residual area which agrregates all
counties not included in the up to nine areas.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable13,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable13,template=ustable13,
geouniv=Missouri,sortprio=1,
units=CountyCounty,
Keyvars = pow_geo_cty res_geo_cty racehsp qsex youngage educ5,
Keyfmats= eeocnty eeocnty eeorace eeosex eeoyng eeo5edu,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable13 dataset
) ,
setgroup=mo);
*------------------Table 14-----------------------------*;
%let occvar=occvar; %let occfmt=occfmt;
%doset(libname=&filetype,
memname=ustable14,template=_template_b,
memlabel=%nrbquote(OPM Federal Workforce Occupational Groups for counties and places),
geouniv=United_States,
units=CountyCounty,
Keywords=,
Keyvars = cenocc OccName pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats= cenocc cenocc eeocnty eeocnty eeorace eeosex,
Keyquals=,
Description=%nrbquote(+Younger Age Groups, Detailed Census Occupational Categories, Race/Ethnicity and Sex for
central worksite with flows from up to nine individual counties, one residual area which aggregates all counties, places, and balance
of counties
not included in the nine areas separately identified.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable14,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable14,template=ustable14,
geouniv=Missouri,sortprio=1,
units=CountyCounty,
Keyvars = cenocc OccName pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats= cenocc cenocc eeocnty eeocnty eeorace eeosex,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable14 dataset
) ,
setgroup=mo);
*------------------Table 15-----------------------------*;
%let occvar=opm; %let occfmt=opmfmt;
%doset(libname=&filetype,
memname=ustable15,template=_template_b,
memlabel=%nrbquote(OPM Federal Workforce Occupational Groups for counties and places),
geouniv=United_States,
units=Place50Place50,
Keywords=,
Keyvars = &occvar pow_geo_pl res_geo_pl racehsp qsex,
Keyfmats= &occfmt wrkflw wrkflw eeorace eeosex,
Keyquals=,
Description=%nrbquote(+Younger Age Groups, Occupation Name, CountiesRace, Ethnicity and Sex for
central worksite place with flows from up to nine individual counties, one residual area which aggregates all counties,
places, and balance of counties not included in the nine areas separately identified.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable15,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable15,template=ustable15,
geouniv=Missouri,sortprio=1,
units=Place50Place50,
Keyvars = opm OccName pow_geo_pl res_geo_pl racehsp qsex,
Keyfmats= cenocc cenocc wrkflw wrkflw eeorace eeosex,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable15 dataset
) ,
setgroup=mo);
*------------------Table 18-----------------------------*;
%let occvar=occvar; %let occfmt=occfmt;
%doset(libname=&filetype,
memname=ustable18,template=_template_b,
memlabel=%nrbquote(OPM Federal Workforce Occupational Groups for counties and places),
geouniv=United_States,
units=Place50Place50,
Keywords=,
Keyvars = st_loc pow_geo_pl res_geo_pl racehsp qsex,
Keyfmats= stloc wrkflw wrkflw eeorace eeosex,
Keyquals=,
Description=%nrbquote(+Younger Age Groups, Place 50K, Place 50K, Race/Ethnicity and Sex for
central worksite place with flows from up to nine individual counties, one residual area which aggregates all counties,
places, and balance of counties not included in the nine areas separately identified.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable18,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable18,template=ustable18,
geouniv=Missouri,sortprio=1,
units=Place50Place50,
Keyvars = st_loc pow_geo_pl res_geo_pl racehsp qsex,
Keyfmats= stloc wrkflw wrkflw eeorace eeosex,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable18 dataset
) ,
setgroup=mo);
*------------------Table 19 -----------------------------*;
%let occvar=occvar; %let occfmt=occfmt;
%doset(libname=&filetype,
memname=ustable19,template=_template_b,
memlabel=%nrbquote(Younger Age Groups & Ed Attainment for Counties and Places),
geouniv=United_States,
units=Place50Place50,
Keywords=,
Keyvars = pow_geo_pl res_geo_pl racehsp qsex youngage educ5,
Keyfmats= wrkflw wrkflw eeorace eeosex eeoyng eeo5edu,
Keyquals=,
Description=%nrbquote(+Younger Age Groups, Educational Attainment(6), Race/Ethnicity and Sex for
central worksite place with flows from up to nine individual counties, one residual area which aggregates all counties,
places, and balance of counties not included in the nine areas separately identified. .
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable19,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable19,template=ustable19,
geouniv=Missouri,sortprio=1,
units=Place50Place50,
Keyvars = pow_geo_pl res_geo_pl racehsp qsex youngage educ5,
Keyfmats= wrkflw wrkflw eeorace eeosex eeoyng eeo5edu,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable19 dataset
) ,
setgroup=mo);
*---Define template for the last few datasets, the "C" group (based on worksite geography)---;
%doset(mode=,libname=eeo2000,
memname=_template_c,
memlabel=,
units=,
Year=2000,
CreatePgm=cnvttbls,
Keywords=census 2000 eeo occupation workforce employment race hispanic worksite,
Keyvars= ~occvar SumLev GeoCode State county place,
Keyfmats=~occfmt Sumlev eeogeo state county fplace,
Keyquals= | | | | | state,
Description=%nrbquote(Custom tabulation of the Civilian Labor Force Aggregated by worksite geography. ),
DataSource=%str(2000 Census - EEO Special Tab Product rel. Dec/2003),
SortedBy=,
UsageNotes=%nrbquote(- Summaries are of the Civilian Labor Force 16 years and older, ESR (Employment
Status Recode) 1-3.
- All geography pertains to the place of work rather than the residence of the worker.
- These are the tables with 12 Race/Ethnic categories. There are comparable tables with 15 categories as used in Hawaii
available from the Census Bureau, but not here.
- All of the race categories are qualified by Hispanic. You can not get complete race counts.
- If the subtraction of a place of 100,000 or more from a county creates a balance of county less than 100,000,
the place is not on the dataset. This eliminates a lot of places, including all in the state of Missouri except St. Louis city,
which is already reported as a county.
),
SubType=,
SetGroup=us,
VarSet=,
URLMeta=%str(https://mcdc.missouri.edu/applications/uexplore.php?/pub/data/eeo2000/sas_doc),
debug=0)
*------------------Table 20 -----------------------------*;
%let occvar=cenocc; %let occfmt=cenocc;
%doset(libname=&filetype,
memname=ustable20,template=_template_c,
memlabel=%nrbquote(Detailed Occupational Categories by Ed Attainment(6), U.S. Totals Only),
geouniv=United_States,
units=UnitedStates,
Keywords=,
Description=%nrbquote(Detailed Occupation (471) by Race/Ethnicity, Sex and Educational Attainment(6),
US Totals only),
UsageNotes=%nrbquote(+- There is no correpsonding Missouri view since it contains only national
summaries. There is no Hawaii-only (15 race/ethnicity categories instead of 12) variation of this table.
),
SubType=ustable20,
SetGroup=us) ;
*---no moview for table 20---;
*------------------Table 21 -----------------------------*;
%doset(libname=&filetype,
memname=ustable21,template=_template_c,
memlabel=%nrbquote(Detailed Occs(471) by Race/Ethnicity(12), Sex(2) and
Ed Attainment(5), Counties/Places of 100,000+),
geouniv=United_States,
units=County100 Place100,
Keywords=,
Keyvars = &occvar sumlev workstate workcounty workplacece geocode,
Keyfmats= &occfmt sumlev state county cenplc eeogeo,
Keyquals= | | | | workstate,
Description=%nrbquote(Detailed Occupational Categories (471) by Race/Ethnicity(12) by Sex(2) and Educational
Attainment(5) for Counties and Places of 100,000 or more population.),
SubType=ustable21,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable21,template=ustable21,
geouniv=Missouri,sortprio=1,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable21 dataset using the filter:
workState EQUALS 29
) ,
setgroup=mo);
%let occvar=cenocc; %let occfmt=cenocc;
*------------------Table 22 -----------------------------*;
%doset(libname=&filetype,
memname=ustable22,template=_template_c,
memlabel=%nrbquote(Detailed Occs(471) by Race/Ethnicity(12), Sex(2) and
Older Age grps(4), US and Counties/Places of 100,000+),
geouniv=United_States,
units=US County100 Place100,
Keywords=,
Keyvars = &occvar sumlev workstate workcounty workplacece geocode,
Keyfmats= &occfmt sumlev state county cenplc eeogeo,
Keyquals= | | | | workstate,
Description=%nrbquote(Detailed Occupational Categories (471) by Race/Ethnicity(12) by Sex(2) and Older
Age Groups(4) for US Totals, Counties and Places of 100,000 or more population.),
SubType=ustable22,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable22,template=ustable22,
geouniv=Missouri,sortprio=1,
units=County100 Place100,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable22 dataset using the filter:
workState EQUALS 29
) ,
setgroup=mo);
*------------------Table 24 -----------------------------*;
%doset(libname=&filetype,
memname=ustable24,template=_template_c,
memlabel=%nrbquote(Detailed Occs(471) by Race/Ethnicity(12), Sex(2) and
Earnings(8), US and Counties/Places of 100,000+),
geouniv=United_States,
units=US County100 Place100,
Keywords=,
Keyvars = &occvar sumlev workstate workcounty workplacece geocode,
Keyfmats= &occfmt sumlev state county cenplc eeogeo,
Keyquals= | | | | workstate,
Description=%nrbquote(Detailed Occupational Categories (471) by Race/Ethnicity(12) by Sex(2) and Earnings
(8) for US Totals, Counties and Places of 100,000 or more population.),
UsageNotes=%nrbquote(+- This is the only table in the collection that reports earnings categories
),
SubType=ustable24,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable24,template=ustable24,
units=County100 Place100,
geouniv=Missouri,sortprio=1,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable24 dataset using the filter:
workState EQUALS 29
) ,
setgroup=mo);
/*<=========================Comment out=====================================
*=================================Late tables using eeo occupation categories==========================*;
*------------------Table 3-----------------------------*;
%let occvar=eeo; %let occfmt=eeofmt;
%doset(libname=&filetype,
memname=ustable3,template=_template_a,
memlabel=%nrbquote(14 EEO Occ. Cats by Residence down to County & large place),
geouniv=United_States,
units=US State MSA PMSA County Place50k,
keyvars=SumLev GeoCode State County Place MsaPmsa &occvar,
Keyfmats=Sumlev eeogeo state county fplace msapmsa &occfmt,
Keyquals= | | | | state,
Description=%nrbquote(+ EEO Job Categories (14) for US, states, counties, metro areas and places
of 50,000 or more. Data for
the usual 12 EEO
Race/Hispanic categories by Sex.),
UsageNotes=%nrbquote(+
- There are 24 cells in the t3 table: 12 Race/Hispanic characters by 2 Sex categories. (Same as Tables 1 and 2).
),
SubType=table3,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable3,template=ustable3,
geouniv=Missouri,sortprio=1,
units=State County Place50k,
Keyvars= SumLev GeoCode State County Place &occvar,
Keyfmats=Sumlev eeogeo state county fplace &occfmt,
Keyquals= | | | | state,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable3 dataset using the filter:
State EQUALS 29 )
,
setgroup=mo);
*------------------Table 4-----------------------------*;
%let occvar=eeo_1; %let occfmt=eeo1fm;
%doset(libname=&filetype,
memname=ustable4,template=_template_a,
memlabel=%nrbquote(9 EEO_1 Occ. Cats by Residence down to County & large place),
geouniv=United_States,
units=US State MSA PMSA County Place50k,
keyvars=SumLev GeoCode State County Place MsaPmsa &occvar,
Keyfmats=Sumlev eeogeo state county fplace msapmsa &occfmt,
Keyquals= | | | | state,
Description=%nrbquote(+ EEO Job Categories (14) for US, states, counties, metro areas and places
of 50,000 or more. Data for
the usual 12 EEO
Race/Hispanic categories by Sex.),
UsageNotes=%nrbquote(+
- There are 24 cells in the t4 table: 12 Race/Hispanic characters by 2 Sex categories. (Same as Tables 1 and 2).
),
SubType=table4,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable4,template=ustable4,
geouniv=Missouri,sortprio=1,
units=State County Place50k,
Keyvars= SumLev GeoCode State County Place &occvar,
Keyfmats=Sumlev eeogeo state county fplace &occfmt,
Keyquals= | | | | state,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable4 dataset using the filter:
State EQUALS 29 )
,
setgroup=mo);
*------------------Table 10-----------------------------*;
%let occvar=eeo; %let occfmt=eeofmt;
%doset(libname=&filetype,
memname=ustable10,template=_template_b,
memlabel=%nrbquote(EEO Occupational Groups (14) for counties only),
geouniv=United_States,
units=CountyCounty,
Keywords=,
keyvars= &occvar OccName pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats=&occfmt &occfmt eeocnty eeocnty eeorace eeosex ,
Keyquals=,
Description=%nrbquote(Race/Ethnicity and Sex for
counties of worksite and residence.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable10,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable10,template=ustable10,
geouniv=Missouri,sortprio=1,
units=CountyCounty,
Keyvars = &occvar OccName pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats= &occfmt &occfmt eeocnty eeocnty eeorace eeosex,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable10 dataset where either the
residence or the worksite county is in Missouri
) ,
setgroup=mo);
*------------------Table 11-----------------------------*;
%let occvar=eeo_1; %let occfmt=eeo1fm;
%doset(libname=&filetype,
memname=ustable11,template=_template_b,
memlabel=%nrbquote(EEO Occupational Groups (9) for counties only),
geouniv=United_States,
units=CountyCounty,
Keywords=,
keyvars= &occvar OccName pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats=&occfmt &occfmt eeocnty eeocnty eeorace eeosex ,
Keyquals=,
Description=%nrbquote(Race/Ethnicity and Sex for
counties of worksite and residence.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable11,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable11,template=ustable10,
geouniv=Missouri,sortprio=1,
units=CountyCounty,
Keyvars = &occvar OccName pow_geo_cty res_geo_cty racehsp qsex,
Keyfmats= &occfmt &occfmt eeocnty eeocnty eeorace eeosex,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable10 dataset where either the
residence or the worksite county is in Missouri
) ,
setgroup=mo);
*------------------Table 16-----------------------------*;
%let occvar=eeo; %let occfmt=eeofmt;
%doset(libname=&filetype,
memname=ustable16,template=_template_b,
memlabel=%nrbquote(EEO Occupational Groups (14) for counties and places),
geouniv=United_States,
units=Place50Place50,
Keywords=,
Keyvars = &occvar pow_geo_pl res_geo_pl racehsp qsex,
Keyfmats= &occfmt wrkflw wrkflw eeorace eeosex,
Keyquals=,
Description=%nrbquote(+Race/Ethnicity and Sex for
central worksite place with flows from up to nine individual counties, one residual area which aggregates all counties,
places, and balance of counties not included in the nine areas separately identified.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable16,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable16,template=ustable16,
geouniv=Missouri,sortprio=1,
units=Place50Place50,
Keyvars = &occvar pow_geo_pl res_geo_pl racehsp qsex,
Keyfmats= &occfmt wrkflw wrkflw eeorace eeosex,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable10 dataset where either the
residence or the worksite county is in Missouri
) ,
setgroup=mo);
*------------------Table 17-----------------------------*;
%let occvar=eeo_1; %let occfmt=eeo1fm;
%doset(libname=&filetype,
memname=ustable17,template=_template_b,
memlabel=%nrbquote(EEO Occupational Groups (9) for counties and places),
geouniv=United_States,
units=Place50Place50,
Keywords=,
Keyvars = &occvar pow_geo_pl res_geo_pl racehsp qsex,
Keyfmats= &occfmt wrkflw wrkflw eeorace eeosex,
Keyquals=,
Description=%nrbquote(+Race/Ethnicity and Sex for
central worksite place with flows from up to nine individual counties, one residual area which aggregates all counties,
places, and balance of counties not included in the nine areas separately identified.
See Appendix 4.2
for category detail.),
UsageNotes=%nrbquote(+),
SubType=ustable17,
SetGroup=us) ;
%doset(libname=&filetype,
memname=motable17,template=ustable17,
geouniv=Missouri,sortprio=1,
units=Place50Place50,
Keyvars = &occvar pow_geo_pl res_geo_pl racehsp qsex,
Keyfmats= &occfmt wrkflw wrkflw eeorace eeosex,
Keyquals=,
UsageNotes=%nrbquote(+- This is just a subsetting view of the ustable10 dataset where either the
residence or the worksite county is in Missouri
) ,
setgroup=mo);
===========================End commented out================================ */
proc sort data=eeo2000.datasets out=bysortprio; by sortprio; run;
proc print data=bysortprio;
by libname notsorted libpath ;
id memname;
var SortPrio SetGroup SubType VarSet URLmeta GeoUniv years ;
title2 'Listing of Selected Fields from eeo2000.datasets (Sorted by SortPrio)';
run ;
proc datasets library=eeo2000 nolist;
modify datasets;
index delete dataset memname;
index create dataset=(libname memname) / unique;
index create memname;
quit;
options mprint msglevel=i;
%gendshtm(libname=eeo2000,debug=1,runprocc=1);
%include sascode(notify);