Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Purpose
This is the center of the star schema for the Early Warning System, bringing together all relevant measures for a student with separate rows for each measure entry.
SQL Object Name
analytics.StudentEarlyWarningFact
Usage Notes
Which factors are used for calculating attendance depends on the school and on how attendance is recorded in the source systems. Some systems may record attendance in the positive sense (student is present), while others might only record when the student is absent or late.
Data Definition and Sources
Column | Data Type | Source | Description | ||
---|---|---|---|---|---|
StudentKey | int | StudentSchoolAssociation.StudentUniqueId | |||
SchoolKey | int | StudentSchoolAssociation.SchoolId | |||
DateKey | varchar | CalendarDateCalendarEvent.Date Selects all records for the given school where the Calendar Date is greater than or equal to the StudentSchoolAssociation.EntryDate and less than or equal to the StudentSchoolAssociation.ExitWithdrawDate. | YYYY-MM-DD | ||
IsInstructionalDay | bit | CalendarDateCalendarEvent.CalendarDateCalendarEventDescriptorId matches to Descriptor Constant for "InstructionalDay" | Is this date an instructional day | ||
IsEnrolled | bit | None | Always 1 - a convenience column for sums and counts | ||
IsPresentSchool | bit | StudentSchoolAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants | 1 if there are any attendance event records matching to the Descriptor constant "Present". Else 0 - the student was not marked as present at school.
| ||
IsAbsentFromSchoolExcused | bit | StudentSchoolAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants | 1 if there are any attendance event records matching to the Descriptor Constant "Excused Absence" Else 0 - the student was marked as absent from school (excused) | ||
IsAbsentFromSchoolUnexcused | bit | StudentSchoolAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants | 1 if there are any attendance event records matching to the Descriptor Constant "Unexcused Absence" Else 0 - the student was marked as absent from school (unexcused). | ||
IsTardyToSchool | bit | StudentSchoolAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants | 1 if there are any attendance event records matching to the Descriptor Constant "Tardy" Else 0 - the student was tardy to school. | ||
IsPresentHomeroom | bit | StudentSectionAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants, where StudentSectionAssociation.HomeroomIndicator = 1 | 1 if there are any attendance event records matching to the Descriptor constant "Present". Else 0 - the student was not marked as present at homeroom. | ||
IsAbsentFromHomeroomExcused | bit | StudentSectionAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants, where StudentSectionAssociation.HomeroomIndicator = 1 | 1 if there are any attendance event records matching to the Descriptor Constant "Excused Absence" Else 0 - the student was marked as absent from homeroom (excused) | ||
IsAbsentFromHomeroomUnexcused | bit | StudentSectionAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants, where StudentSectionAssociation.HomeroomIndicator = 1 | 1 if there are any attendance event records matching to the Descriptor Constant "Unexcused Absence" Else 0 - the student was marked as absent from homeroom (unexcused). | ||
IsTardyToHomeroom | bit | StudentSectionAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants, where StudentSectionAssociation.HomeroomIndicator = 1 | 1 if there are any attendance event records matching to the Descriptor Constant "Tardy" Else 0 - the student was tardy to homeroom. | ||
IsPresentAnyClass | bit | StudentSectionAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants | 1 if there are any attendance event records matching to the Descriptor constant "Present". Else 0 - the student was not marked as present in any class. | ||
IsAbsentFromAnyClassExcused | bit | StudentSectionAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants | 1 if there are any attendance event records matching to the Descriptor Constant "Excused Absence" Else 0 - the student was marked as absent from at least one class (excused) | ||
IsAbsentFromAnyClassUnexcused | bit | StudentSectionAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants | 1 if there are any attendance event records matching to the Descriptor Constant "Unexcused Absence" Else 0 - the student was marked as absent from at least one class (unexcused). | ||
IsTardyToAnyClass | bit | StudentSectionAttendanceEvent.AttendanceEventDescriptorId matching to "attendance" type Descriptor Constants | 1 if there are any attendance event records matching to the Descriptor Constant "Tardy" Else 0 - the student was tardy to at least one class. | ||
CountByDayOfStateOffenses | int | StudentDisciplineIncidentAssociation where incident descriptor matches Descriptor Constant "Behavior.StateOffense" | Count of records on the given calendar date | ||
CountByDayOfConductOffsenses | int | StudentDisciplineIncidentAssociation where incident descriptor matches Descriptor Constant "Behavior.Behavior.SchoolCodeOfConductOffense" | Count of records on the given calendar date |
Contents
Table of Contents | ||
---|---|---|
|