-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatapackage.json
243 lines (243 loc) · 6.66 KB
/
datapackage.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
{
"name": "bullying",
"datapackage_version": "1.0-beta.18",
"title": "Bullying",
"description": "Bullying reports the Total number of bullying incidents and the number of students with at least 1 bullying incident at the school district and state level.",
"version": "1.0",
"licenses": [{
"url": "http://opendatacommons.org/licenses/pddl/",
"name": "Open Data Commons Public Domain",
"version": "1.0",
"id": "odc-pddl"
}],
"sources": [{
"name": "ctsde",
"web": ""
}],
"author":[{
"name": "CTData Collaborative",
"email": "[email protected]",
"web": "https://ctdata.org"
}],
"contributor": [],
"resources": [{
"path": "data/bullying_2013-2021.csv",
"format": "csv",
"schema": {
"fields": [{
"name": "District",
"type": "string",
"dimension": false
}, {
"name": "FIPS",
"type": "string",
"dimension": false
}, {
"name": "Year",
"type": "string",
"dimension": false
}, {
"name": "Incident Type",
"type": "string",
"dimension": true,
"constraints": {
"enum": ["Bullying"]
}
}, {
"name": "Measure Type",
"type": "string",
"dimension": true,
"constraints": {
"enum": ["Number"]
}
}, {
"name": "Variable",
"type": "string",
"dimension": true,
"constraints": {
"enum": ["Students with at least 1 incident",
"Total Incidents"
]
}
}, {
"name": "Value",
"type": "number",
"dimension": false
}]
}
}
],
"last_modified": "08/04/2022",
"ckan_extras": {
"full_description": {
"ckan_name": "Full Description",
"value": "Data are reported as part of the Student Disciplinary Offense Data Collection (ED166). According to EdSight, bullying incidents are associated with repeated negative behaviors intended to frighten or discomfort. In the 2019-20 school year, due to the COVID-19 pandemic, in-person classes were cancelled in mid-March; all districts switched to fully remote instruction for the remainder of the school year.",
"type": "string"
},
"suppression": {
"ckan_name": "Suppression",
"value": "Observations of less than 6 have been suppressed and denoted with an asterisk (*) or -9999 in the raw data view. Missing values are denoted with a -6666.",
"type": "string"
},
"technical_notes": {
"ckan_name": "Technical Notes",
"value": "In the 2019-20 school year, due to the COVID-19 pandemic, in-person classes were cancelled in mid-March; all districts switched to fully remote instruction for the remainder of the school year.",
"type": "string"
},
"socrata": {
"ckan_name": "Socrata",
"value": "False",
"type": "string"
},
"socrata_url": {
"ckan_name": "Socrata Dataset URL",
"value": "",
"type": "string"
},
"domain": {
"ckan_name": "Domain",
"value": "Education",
"type": "string"
},
"subdomain": {
"ckan_name": "Subdomain",
"value": "Student Behavior",
"type": "string"
},
"geography": {
"ckan_name": "Geography",
"value": "District",
"type": "string",
"constraints": {"enum": ["Town", "County", "Town/County", "District", "Other"]}
},
"frequency": {
"ckan_name": "Frequency",
"value": "Annual",
"type": "string"
},
"years_in_catalog": {
"ckan_name": "Years in Catalog",
"value": ["2012-2013", "2013-2014", "2014-2015", "2015-2016", "2016-2017", "2017-2018", "2018-2019", "2019-2020", "2020-2021"],
"type": "array"
},
"latest_year": {
"ckan_name": "Latest Year Available",
"value": "2020-2021",
"type": "string"
},
"disabled_views": {
"ckan_name": "Disabled Views",
"value": [],
"type": "array",
"constraints": {"enum": ["map", "table", "bar", "line"]}
},
"units": {
"ckan_name": "Units",
"value": {
"Number": "",
"Percent": "%"
}
},
"expected_number_of_geographies": {
"ckan_name": "Expected Number of Unique Geographies",
"value": 205,
"type": "string"
},
"default": {
"ckan_name": "Default",
"value": {
"District": "Connecticut",
"Year": ["2020-2021"],
"Measure Type": "Number",
"Incident Type": "Bullying",
"Variable": ["Total Incidents", "Students with at least 1 incident"]
},
"type": "object"
}
},
"spot_checks": [
{
"type": "$lookup",
"filter": {
"District": "Connecticut",
"Year": "2012-2013",
"Incident Type": "Bullying",
"Variable": "Students with at least 1 incident",
"Measure Type": "Number"
},
"expected": {
"type": "$match",
"number type": "int",
"value": 1258
}
},
{
"type": "$lookup",
"filter": {
"District": "Amistad Academy District",
"Year": "2013-2014",
"Incident Type": "Bullying",
"Variable": "Total Incidents",
"Measure Type": "Number"
},
"expected": {
"type": "$match",
"number type": "int",
"value": 9
}
},
{
"type": "$lookup",
"filter": {
"District": "Madison School District",
"Year": "2014-2015",
"Incident Type": "Bullying",
"Variable": "Students with at least 1 incident",
"Measure Type": "Number"
},
"expected": {
"type": "$match",
"number type": "int",
"value": -9999
}
},
{
"type": "$lookup",
"filter": {
"District": "Sterling School District",
"Year": "2015-2016",
"Incident Type": "Bullying",
"Variable": "Total Incidents",
"Measure Type": "Number"
},
"expected": {
"type": "$match",
"number type": "int",
"value": -6666
}
},
{
"type": "$lookup",
"filter": {
"District": "Windham School District",
"Year": "2016-2017",
"Incident Type": "Bullying",
"Variable": "Students with at least 1 incident",
"Measure Type": "Number"
},
"expected": {
"type": "$match",
"number type": "int",
"value": 7
}
}
],
"dimension_groups": [
{
"Measure Type": ["Number"],
"Incident Type": ["Bullying"],
"Variable": ["Students with at least 1 incident",
"Total Incidents"]
}
]
}