Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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.ews_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

ColumnData TypeSourceDescription
​StudentKey​intStudentSchoolAssociation.StudentUniqueId​
SchoolKeyintStudentSchoolAssociation.SchoolId
DateKeyvarchar

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
IsInstructionalDaybit

CalendarDateCalendarEvent.CalendarDateCalendarEventDescriptorId matches to Descriptor Constant for "InstructionalDay"

Is this date an instructional day
IsEnrolledbitNoneAlways 1 - a convenience column for sums and counts
IsPresentSchoolbitStudentSchoolAttendanceEvent.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.

In some education agencies, attendance is only calculated in the negative: records showing absence. Thus for a particular organization, a student might be considered to have attended school so long as IsAbsentFromSchoolExcused = 0 and IsAbsentFromSchoolUnexcused = 0 - even though IsPresent =0 as well!

IsAbsentFromSchoolExcusedbitStudentSchoolAttendanceEvent.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)

IsAbsentFromSchoolUnexcusedbitStudentSchoolAttendanceEvent.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).

IsTardyToSchoolbitStudentSchoolAttendanceEvent.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.

IsPresentHomeroombitStudentSectionAttendanceEvent.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.

IsAbsentFromHomeroomExcusedbitStudentSectionAttendanceEvent.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)

IsAbsentFromHomeroomUnexcusedbitStudentSectionAttendanceEvent.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).

IsTardyToHomeroombitStudentSectionAttendanceEvent.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.

IsPresentAnyClassbitStudentSectionAttendanceEvent.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.

IsAbsentFromAnyClassExcusedbitStudentSectionAttendanceEvent.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)

IsAbsentFromAnyClassUnexcusedbitStudentSectionAttendanceEvent.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).

IsTardyToAnyClassbitStudentSectionAttendanceEvent.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.

CountByDayOfStateOffensesintStudentDisciplineIncidentAssociation where incident descriptor matches Descriptor Constant "Behavior.StateOffense"Count of records on the given calendar date
CountByDayOfConductOffsensesintStudentDisciplineIncidentAssociation where incident descriptor matches Descriptor Constant "Behavior.Behavior.SchoolCodeOfConductOffense"Count of records on the given calendar date

Contents

  • No labels