Skip to content

Commit 27bd29c

Browse files
more documentation (#145)
2 parents 0f6677c + 3ee0e42 commit 27bd29c

File tree

1 file changed

+74
-1
lines changed

1 file changed

+74
-1
lines changed

dbt/models/marts/misc/_misc_models.yml

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ models:
1212

1313
- name: dim_foorms
1414
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.
1617
columns:
1718
- name: form_name
1819

@@ -62,13 +63,85 @@ models:
6263
- how many sections did each ambassador have?
6364
- what course(s) was the student activity associated with?
6465
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+
6584
- name: school_year
6685
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+
6796
config:
6897
tags: ['released']
6998

7099
- name: dim_ambassador_apps
71100
description: |
72101
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
73146
config:
74147
tags: ['released']

0 commit comments

Comments
 (0)