You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dbt/models/marts/misc/_misc_models.yml
+74-1Lines changed: 74 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,8 @@ models:
12
12
13
13
- name: dim_foorms
14
14
description: |
15
-
This model contains the formatted survey responses for all foorm surveys (e.g. YWinCS ambassador application)
15
+
This model contains the formatted survey responses for all foorm surveys (e.g. YWinCS ambassador application).
16
+
Note: when querying this model, be sure to filter for the form_name you're looking for results from.
16
17
columns:
17
18
- name: form_name
18
19
@@ -62,13 +63,85 @@ models:
62
63
- how many sections did each ambassador have?
63
64
- what course(s) was the student activity associated with?
64
65
columns:
66
+
- name: user_id
67
+
description: the user_id associated with the ambassador's teacher account
68
+
69
+
- name: code_studio_name
70
+
description: the ambassador's name as it appears in code studio
71
+
72
+
- name: email
73
+
description: the email associated with the ambassador's teacher account
74
+
75
+
- name: section_id
76
+
description: the section_d associated with the ambassador's teacher account
77
+
78
+
- name: section_name
79
+
description: the name of the section associtated with the ambassador's teacher account
80
+
81
+
- name: section_created_dt
82
+
description: the timestamp for when the section was created by the ambassador
83
+
65
84
- name: school_year
66
85
description: the school year in which students were added to the section
86
+
87
+
- name: student_id
88
+
description: the id of the student associated with the given section
89
+
90
+
- name: course_name
91
+
description: the course associated with the student's activity
92
+
93
+
- name: script_name
94
+
description: the script associated with the given student's activity
95
+
67
96
config:
68
97
tags: ['released']
69
98
70
99
- name: dim_ambassador_apps
71
100
description: |
72
101
this model contains information from the ambassador applications (imported periodically from google form output). There is one row per application submitted.
102
+
columns:
103
+
- name: created_dt
104
+
description: the timestamp for when the app was submitted
105
+
- name: teacher_email
106
+
description: the email of the teacher of the ambassador
107
+
- name: cdo_teacher
108
+
description: survey response to whether or not the teacher teaches using code.org
109
+
- name: teacher_first_name
110
+
- name: teacher_last_name
111
+
- name: teacher_email_school
112
+
- name: teacher_email_cdo
113
+
description: the email the teacher uses on code.org
114
+
- name: teacher_email_alt
115
+
description: alternate teacher email, if provided
116
+
- name: state
117
+
- name: courses_taught
118
+
- name: taught_csp
119
+
description: 1 if the teacher indicated they taught csp, 0 otherwise
120
+
- name: taught_csa
121
+
description: 1 if the teacher indicated they taught csa, 0 otherwise
122
+
- name: taught_csd
123
+
description: 1 if the teacher indicated they taught csd, 0 otherwise
124
+
- name: applicant_type
125
+
description: first time applicant, or application renewal
126
+
- name: ambassador_first_name
127
+
- name: ambassador_last_name
128
+
- name: ambassador_email
129
+
- name: ambassador_email_receive_comms
130
+
description: whether or not the ambassador indicated they can receive emails on the email provided, null if no response
131
+
- name: ambassador_email_alt
132
+
description: alternate email for the ambassador, if provided
133
+
- name: ambassador_grade
134
+
description: the grade level of the ambassador
135
+
- name: parent_email
136
+
- name: school_name
137
+
description: school name entered by the ambassador- not NCES verified
138
+
- name: courses_taken
139
+
description: full list of the courses the ambassador indicated they have taken
140
+
- name: took_csp
141
+
description: 1 if the ambassador indicated they took csp, 0 otherwise
142
+
- name: took_csa
143
+
description: 1 if the ambassador indicated they took csa, 0 otherwise
144
+
- name: took_csd
145
+
description: 1 if the ambassador indicated they took csd, 0 otherwise
0 commit comments