View VMF_SectionGrade

Card of view VMF_SectionGrade

Name

VMF_SectionGrade

Comment

See MF_SectionGradeByTerm. This fact view is used to calculate grades in non-traditional ways (i.e., not just by student - cumulative or otherwise). E.g., if you want to know what the average grade was for the class of 2013 in the spring of 2011 for classes in Economics, then this is your table. Alternatively, if you want to compare grades across subjects, or departments, or any other characteristic that can be tied to a section/course, then this is your source.

Dimensional Type

Fact


SQL query of the view VMF_SectionGrade

select
MD_Sect_SurrogateKey,
MF_SectGrade_CollID,
MD_Course_SurrogateKey,
MD_CarlTerm_SurrogateKey,
MD_Grade_SurrogateKey, -- The transcripted grade (not assigned grade)
MD_CollPers_SurrogateKey,
MD_CollPers_SurrogateKeyNonDegr,
MD_CollPers_SurrogateKeyFAidPers,
CASE
-- Assigned grades aren't as reliable as transcripted ones here, because we have no corresponding letter grade and thus can't exclude
-- non-aggregatable values as easily as we can with the transcripted ones (where we have the letter grade available here)
WHEN MF_SECTGRADE_ASSIGNEDGRADE = 0 THEN NULL
ELSE MF_SECTGRADE_ASSIGNEDGRADE
END AS MF_SectGrade_AssignedGrade,
CASE
-- We don't really have an assigned numeric grade on a scrunched course if we find a zero here
WHEN MF_SECTGRADE_ASSIGNEDGRADE = 0 THEN NULL
WHEN MF_SECTGRADE_ASSIGNEDGRADE IS NULL THEN NULL
WHEN MF_SECTGRADE_ATTEMPTEDCREDIT IS NULL THEN NULL
-- Use attempted credit here, because in the case of an F, no credit is completed, but there is still credit attempted
ELSE MF_SECTGRADE_ASSIGNEDGRADE * MF_SECTGRADE_ATTEMPTEDCREDIT
END AS MF_SECTGRADE_AssignedGradeTimesCreditsAttempted,
CASE
-- We don't really have an assigned numeric grade on a scrunched course if we find a zero here
WHEN MF_SECTGRADE_ASSIGNEDGRADE = 0 THEN NULL
WHEN MF_SECTGRADE_ASSIGNEDGRADE IS NULL THEN NULL
WHEN MF_SECTGRADE_ATTEMPTEDCREDIT IS NULL THEN NULL
-- Use attempted credit here, because in the case of an F, no credit is completed, but there is still credit attempted
ELSE MF_SECTGRADE_ATTEMPTEDCREDIT
END AS MF_SectGrade_AssignedGradedCreditsAttempted,
/*
* This attribute contains numeric equivalents to A, A-, B+, B, etc. (letter grades) only; no S, CR, NC, etc. equivalents are
* kept here because users could accidentally mix and match them, which would lead to false averages
*/
MF_SectGrade_TranscriptedGrade,
CASE
WHEN MF_SECTGRADE_TRANSCRIPTEDGRADE IS NULL THEN NULL
WHEN MF_SECTGRADE_ATTEMPTEDCREDIT IS NULL THEN NULL
-- Use attempted credit here, because in the case of an F, no credit is completed, but there is still credit attempted
ELSE MF_SECTGRADE_TRANSCRIPTEDGRADE * MF_SECTGRADE_ATTEMPTEDCREDIT
END AS MF_SectGrade_GradeTimesCreditsAttempted,
CASE
WHEN MF_SECTGRADE_TRANSCRIPTEDGRADE IS NULL THEN NULL
WHEN MF_SECTGRADE_ATTEMPTEDCREDIT IS NULL THEN NULL
-- Use attempted credit here, because in the case of an F, no credit is completed, but there is still credit attempted
ELSE MF_SECTGRADE_ATTEMPTEDCREDIT
END AS MF_SectGrade_GradedCreditsAttempted,
MF_SectGrade_CompletedCredit,
MF_SectGrade_AttemptedCredit

from
MF_SECTIONGRADE



List of outgoing view references of the view VMF_SectionGrade

Name

Parent Table/View

ViewReference_163

VMD_NonDegreeStudent

ViewReference_164

VMD_FinancialAidPerson (Shortcut)

ViewReference_165

VMD_Section

ViewReference_166

VMD_DegreeStudent (Shortcut)

ViewReference_167

VMD_Course

ViewReference_169

VMD_Grade


List of referenced objects of the view VMF_SectionGrade

Name

MF_SectionGrade


List of diagrams containing the view VMF_SectionGrade

Name

ViewsAcademicRecordDiagram


List of permissions of the view VMF_SectionGrade

Grant

User

SELECT,VIEW DEFINITION

AcadRecordReader


List of view columns of the view VMF_SectionGrade

Name

Data Type

Comment

Length

MD_Sect_SurrogateKey

numeric

 

 

MF_SectGrade_Collid

char(7)

 

 

MD_Course_SurrogateKey

numeric

 

 

MD_CarlTerm_SurrogateKey

numeric

Link to first regular term in which a course is offered (the distinction between this and the course term only matters in the case of multi-term courses).

 

MD_Grade_SurrogateKey

numeric

 

 

MD_CollPers_SurrogateKey

numeric

 

 

MD_CollPers_SurrogateKeyNonDegr

numeric

 

 

MD_CollPers_SurrogateKeyFAidPers

numeric

 

 

MF_SECTGRADE_ASSIGNEDGRADE

 

 

 

MF_SECTGRADE_ASSIGNEDGRADETIMESCREDITSATTEMPTED

 

 

 

MF_SECTGRADE_ASSIGNEDGRADEDCREDITSATTEMPTED

 

 

 

MF_SectGrade_TranscriptedGrade

float

 

 

MF_SECTGRADE_GRADETIMESCREDITSATTEMPTED

 

 

 

MF_SECTGRADE_GRADEDCREDITSATTEMPTED

 

 

 

MF_SectGrade_CompletedCredit

float

 

 

MF_SectGrade_AttemptedCredit

float