|
Name |
|
|
Dimensional Type |
Fact |
|
Comment |
This fact table holds counts of particular answers to particular questions on particular survey versions, given to particular subjects on particular dates and times. It is really only useful for surveys where the answers can be treated as nominal data, although each fact row here has a SQL type and stat type (nominal, ordinal, etc.) attached to it, to facilitate type conversions, if needed. |
|
CKT_MF_SURVEYCELLDATA |
|
Name |
Parent Table |
Foreign Key Columns |
|
Relationship_12 |
MD_SurvAdm_SurrogateKey |
|
|
Relationship_84 |
MD_Date_DateInteger |
|
|
Relationship_85 |
MD_CollPers_SurrogateKeyDStu |
|
|
Relationship_85 |
MD__MD_CollPers_SurrogateKey3 |
|
|
Relationship_85 |
MD_CollPers_SurrogateKeyEmp |
|
|
Relationship_85 |
MD_Prosp_SurrogateKey |
|
|
Relationship_85 |
MD_DevPers_SurrogateKey |
|
|
Relationship_86 |
MD_SurvQA_SurrogateKey |
|
|
Relationship_87 |
MD_Time_TimeInteger |
|
Name |
|
Name |
Comment |
Domain |
Data Type |
Length |
|
MD_SurvQA_SurrogateKey |
|
<None> |
numeric |
|
|
MD_SurvAdm_SurrogateKey |
|
<None> |
numeric |
|
|
MD_Date_DateInteger |
Integer representation of the date (e.g., 20070101 for 1 Jan 2007). Defaults to 99991231, for situations where a date is required but none is available. |
DW_DateInteger |
int |
|
|
MD_Time_TimeInteger |
Integer representing the time of day in the format HHMMSS (e.g., 23:01:01 at one minute one second after eleven o'clock in the evening). Not typically used for reporting. |
<None> |
int |
|
|
MD_Prosp_SurrogateKey |
|
<None> |
numeric |
|
|
MD_DevPers_SurrogateKey |
|
<None> |
numeric |
|
|
MD_CollPers_SurrogateKeyEmp |
|
<None> |
numeric |
|
|
MD_CollPers_SurrogateKeyDStu |
|
<None> |
numeric |
|
|
MD__MD_CollPers_SurrogateKey3 |
|
<None> |
numeric |
|
|
MF_SData_PosNegOrNeutral |
This field contains one of five values: Positive, Negative, Neutral, Not Applicable, or Unknown (the latter being the default). |
DW_CodeDescShort |
varchar(16) |
16 |
|
MF_SData_StatType |
One of four keywords: Nominal, Ordinal, Interval, Ratio. Defaults to Nominal. In the data warehouse, answers are all recorded as text, so this field is supplied as a hint, to tell us when a type conversion (text -> float) might be helpful. |
DW_CodeDescShort |
varchar(16) |
16 |
|
MF_SData_Weight |
Not used currently. Would (if used) allow us to weight answers to questions on survey instruments. Defaults to 1. Do not expose to users. When and if we do use it, we should bundle it up in calculations. |
<None> |
float |
|
|
MF_SData_SQLDataType |
Not currently used. Do not expose to users. |
DW_CodeDesc |
varchar(32) |
32 |
|
MF_SData_Count |
1 if a given subject answered a given question on a given survey. Zero otherwise. |
<None> |
int |
|
|
MF_SData_AuditKey |
|
DW_AuditKey |
bigint |
|
|
MF_SData_Timestamp |
|
<None> |
timestamp |
|
|
Name |
Unique |
Cluster |
Primary |
Foreign Key |
Alternate Key |
Table |
|
MF_SURVEYCELLDATA_PK |
TRUE |
FALSE |
TRUE |
FALSE |
FALSE |
|
|
RELATIONSHIP_12_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_199_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_201_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_203_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_209_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_85_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
Name |
|
Identifier_1 |
|
|
|