-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.qmd
596 lines (437 loc) · 14.5 KB
/
index.qmd
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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
---
title: "Democratizing Access to Education Data"
subtitle: "The Urban Institute's Education Data Portal"
author: "Erika Tyagi"
format:
revealjs:
menu: false
embed-resources: true
theme: urbn.scss
logo: images/urban-institute-logo-2.png
footer: <https://educationdata.urban.org>
include-after-body: format-title-page.html
title-slide-attributes:
data-background-image: images/urban-institute-logo-1.png,images/educationdata-hex.png
data-background-size: 25%,15%
data-background-position: 3% 85%,97% 84%
---
## The Education Data Portal bridges the gap between **<span style="color:#1696d2;">data availability</span>** and **<span style="color:#1696d2;">data accessibility</span>**.
::: {.incremental}
1. What do I mean by the availability-accessibility gap?
2. How does the portal bridge this gap so effectively?
3. Why does bridging this gap matter?
:::
## The Education Data Portal
::: columns
::: {.column width="36%"}
![](images/educationdata-hex.png)
:::
::: {.column width="64%"}
::: {style="font-size: 78%"}
* **What?** A freely available **<span style="color:#1696d2;">one-stop-shop</span>** <br> for 100+ datasets released by government agencies and other institutions on schools, districts, and colleges in the U.S.
::: {.fragment fragment-index=1}
* **How?** **<span style="color:#1696d2;">Harmonized</span>** to account for changes <br> to data and file structures over time
:::
::: {.fragment fragment-index=2}
* **Why?** To make it easier for both **<span style="color:#1696d2;">technical</span>** and <br> **<span style="color:#1696d2;">non-technical users</span>** to look at trends over time and combine data from different sources
:::
:::
:::
:::
---
## What do I mean by the availability-accessibility gap?
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: columns
::: {.column width="50%"}
::: {.fragment fragment-index=1}
![](images/carleton-campus.jpeg){height=300 fig-align="center"}
:::
:::
::: {.column width="50%"}
::: {.fragment fragment-index=2}
![](images/line-chart.png){height=300 fig-align="left"}
:::
:::
:::
## **<span style="color:#1696d2;">Without</span>** the Education Data Portal...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
. . .
![](images/likert.png){.absolute top=125 left=420 height="220"}
## **<span style="color:#1696d2;">Without</span>** the Education Data Portal...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: {style="font-size: 60%"}
* Find the agency collecting the data
:::
![](images/likert-1.png){.absolute top=125 left=420 height="220"}
## **<span style="color:#1696d2;">Without</span>** the Education Data Portal...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: {style="font-size: 60%"}
* Find the agency collecting the data
* Read the data documentation
:::
![](images/likert-1.png){.absolute top=125 left=420 height="220"}
## **<span style="color:#1696d2;">Without</span>** the Education Data Portal...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: {style="font-size: 60%"}
* Find the agency collecting the data
* Read the data documentation
* Download data files for each year
:::
![](images/likert-2.png){.absolute top=125 left=420 height="220"}
## **<span style="color:#1696d2;">Without</span>** the Education Data Portal...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: {style="font-size: 60%"}
* Find the agency collecting the data
* Read the data documentation
* Download data files for each year
* Load each file into R or Python
:::
![](images/likert-2.png){.absolute top=125 left=420 height="220"}
## **<span style="color:#1696d2;">Without</span>** the Education Data Portal...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: {style="font-size: 60%"}
* Find the agency collecting the data
* Read the data documentation
* Download data files for each year
* Load each file into R or Python
* Notice anomalies in the data
:::
![](images/likert-3.png){.absolute top=125 left=420 height="220"}
## **<span style="color:#1696d2;">Without</span>** the Education Data Portal...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: {style="font-size: 60%"}
* Find the agency collecting the data
* Read the data documentation
* Download data files for each year
* Load each file into R or Python
* Notice anomalies in the data
* Re-read the data documentation
:::
![](images/likert-3.png){.absolute top=125 left=420 height="220"}
## **<span style="color:#1696d2;">Without</span>** the Education Data Portal...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: {style="font-size: 60%"}
* Find the agency collecting the data
* Read the data documentation
* Download data files for each year
* Load each file into R or Python
* Notice anomalies in the data
* Re-read the data documentation
* Update the code per the documentation
:::
![](images/likert-4.png){.absolute top=125 left=420 height="220"}
## **<span style="color:#1696d2;">Without</span>** the Education Data Portal...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: {style="font-size: 60%"}
* Find the agency collecting the data
* Read the data documentation
* Download data files for each year
* Load each file into R or Python
* Notice anomalies in the data
* Re-read the data documentation
* Update the code per the documentation
* Remember to repeat the process again next year
:::
![](images/likert-4.png){.absolute top=125 left=420 height="220"}
## **<span style="color:#1696d2;">Without</span>** the Education Data Portal...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: {style="font-size: 60%"}
* Find the agency collecting the data
* Read the data documentation
* Download data files for each year
* Load each file into R or Python
* Notice anomalies in the data
* Re-read the data documentation
* Update the code per the documentation
* Remember to repeat the process again next year
* (And hope nothing changes)
:::
![](images/likert-5.png){.absolute top=125 left=420 height="220"}
## **<span style="color:#1696d2;">Without</span>** the Education Data Portal...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: {style="font-size: 60%; color: #9d9d9d"}
* Find the agency collecting the data
* Read the data documentation
* Download data files for each year
* Load each file into R or Python
* Notice anomalies in the data
* Re-read the data documentation
* Update the code per the documentation
* Remember to repeat the process again next year
* (And hope nothing changes)
:::
![](images/likert-5.png){.absolute top=125 left=420 height="220"}
**<span style="color:#1696d2;">This is tedious, error-prone, and not fun.</span>**
## Using the portal **<span style="color:#1696d2;">R package</span>**...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
. . .
::: columns
::: {.column width="55%"}
```{.r code-line-numbers="4-13"}
library(educationdata)
# Get data
data <- get_education_data(
level = "college-university",
source = "ipeds",
topic = "academic-year-tuition",
filters = list(
year = c(1990:2020),
unitid = "173258",
tuition_type = "4"
)
)
# Plot data
data %>%
ggplot(aes(x = year, y = tuition_fees_ft)) +
geom_line()
```
:::
::: {.column width="45%"}
![](images/carleton-tuition-plot-r.png){.absolute top=200 left=580 width="500"}
:::
:::
::: {style="font-size: 65%; color: #696969"}
The R package is available on CRAN.
:::
---
## Using the portal **<span style="color:#1696d2;">Python package</span>**...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: columns
::: {.column width="55%"}
```{.python code-line-numbers="4-13"}
import educationdata
# Get data
data = get_education_data(
level = "college-university",
source = "ipeds",
topic = "academic-year-tuition",
filters = {
"year": range(1990, 2020),
"unitid": "173258",
"tuition_type": "4"
}
)
# Plot data
data.plot.line(
x = "year", y = "tuition_fees_ft"
)
```
:::
::: {.column width="45%"}
![](images/carleton-tuition-plot-python.png){.absolute top=200 left=580 width="500"}
:::
:::
::: {style="font-size: 65%; color: #696969"}
The Python package is not yet publicly available.
:::
---
## Using the portal **<span style="color:#1696d2;">Stata package</span>**...
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: columns
::: {.column width="55%"}
```{.code code-line-numbers="2-7"}
* Get data
educationdata using ///
"college ipeds academic-year-tuition", sub( ///
year=1990/2020 ///
unitid=173258 ///
tuition_type=4 ///
)
* Plot data
twoway (line tuition_fees_ft year)
```
:::
::: {.column width="45%"}
![](images/carleton-tuition-plot-stata.png){.absolute top=200 left=600 width="480"}
:::
:::
::: {style="font-size: 65%; color: #696969"}
The Stata package is available on SSC.
:::
---
## Using the portal **<span style="color:#1696d2;">Data Explorer</span>**
::: {style="font-size: 90%"}
**Example**: How has tuition at my alma mater risen over my lifetime?
:::
::: columns
::: {.column width="55%"}
![](images/explorer.gif){.absolute top=130 left=0 width="560"}
:::
::: {.column width="45%"}
![](images/carleton-tuition-plot-excel.png){.absolute top=200 left=600 width="480"}
:::
:::
## How does the portal bridge this gap so effectively?
. . .
1. By focusing on the **<span style="color:#1696d2;">underlying API</span>**
2. By focusing on **<span style="color:#1696d2;">data documentation</span>**
## The underlying API
Provides **<span style="color:#1696d2;">the foundation</span>** of the portal
::: columns
::: {.column width="40%"}
![](images/api.png){.absolute top=160 left=20 width="350"}
:::
::: {.column width="60%"}
::: {.incremental}
* 100+ data endpoints <br> (***with*** the data)
* 12+ metadata endpoints <br> (***about*** the data)
* All other tools, packages, and documentation are built from these endpoints
:::
:::
:::
## Data documentation
Considered a **<span style="color:#1696d2;">first-order feature</span>** of the portal
::: columns
::: {.column width="40%"}
![](images/documentation.png){.absolute top=160 left=20 width="400"}
:::
::: {.column width="60%"}
::: {.incremental}
* Written for ***both*** <br> humans and machines
* Provides the user with <br> details ***on demand***
:::
:::
:::
## Data documentation {.nostretch}
Written for ***both*** humans and machines
![](images/documentation-example.png){width="55%"}
## Data documentation
Written for ***both*** humans and machines
::: columns
::: {.column width="35%"}
![](images/documentation-example.png){width="100%"}
:::
::: {.column width="65%"}
```{.code}
{
"results": [
{
"variable": "urban_centric_locale",
"label": "Degree of urbanization (urban-centric locale)",
"format": "urban_centric_locale",
"data_type": "integer",
"values": "{
1: '1 - Large city',
2: '2 - Midsize city',
3: '3 - Urban fringe of large city',
4: '4 - Urban fringe of midsize city',
[...]
}
}
]
}
```
:::
:::
::: {style="font-size: 55%; color: #696969"}
https://educationdata.urban.org/api/v1/api-variables/?<span style="color:#003B4F;">variable=urban_centric_locale</span>
:::
## Data documentation {.nostretch}
Provides the user with details ***on demand***
::: columns
::: {.column width="50%"}
![](images/details-on-demand-2.png){width="85%"}
:::
::: {.column width="50%"}
::: {.fragment fragment-index=1}
![](images/details-on-demand-1.png){width="85%"}
:::
:::
:::
## How does the portal bridge this gap so effectively?
::: {style="font-size: 90%;"}
By focusing on the **underlying API** and **data documentation**... through collaboration with **<span style="color:#1696d2;">education</span>** and **<span style="color:#1696d2;">technology**</span> experts
:::
::: columns
::: {.column width="33%"}
![](images/education.png){width="220" fig-align="right"}
:::
::: {.column width="33%"}
![](images/teamwork.png){.absolute top=285 left=400 width="200"}
:::
::: {.column width="33%"}
![](images/technology.png){width="210" fig-align="left"}
:::
:::
::: {style="font-size: 55%; color: #696969"}
* Education contributors: Erica Blom, Jay Carter, Leonardo Restrepo
* Technology contributors: Ben Chartoff, David D'Orio, Graham MacDonald, Kyle Ueyama, and Vivian Zheng
:::
## Why does bridging this gap matter?
. . .
Different people ask different questions.
## Why does bridging this gap matter?
Different people ask different questions.
![](images/women-graduates.png){width="620"}
![](images/pbs-grey.png){.absolute top=140 left=710 width="250"}
![](images/principal-grey.png){.absolute top=380 left=710 width="250"}
## Why does bridging this gap matter?
Different people ask different questions.
![](images/principal.png){width="500"}
![](images/women-graduates-grey.png){.absolute top=160 left=690 width="270"}
![](images/pbs-grey.png){.absolute top=350 left=700 width="250"}
## Why does bridging this gap matter?
Different people ask different questions.
![](images/pbs.png){width="520"}
![](images/principal-grey.png){.absolute top=160 left=700 width="250"}
![](images/women-graduates-grey.png){.absolute top=410 left=690 width="270"}
## Each month, thousands of users ask questions through the portal {.nostretch}
![](images/usage-plot.png){width="95%" fig-align="left"}
## Why does bridging this gap matter?
::: columns
::: {.column width="55%"}
::: {style="font-size: 120%"}
By unlocking data for more people, we can allow more questions to find **<span style="color:#1696d2;">evidence-based answers</span>** that **<span style="color:#1696d2;">drive impact</span>**.
:::
:::
::: {.column width="45%"}
![](images/questions.png)
:::
:::
## Get in touch
::: columns
::: {.column width="50%"}
::: {style="font-size: 85%;"}
* **Access the portal**
<https://educationdata.urban.org>
* **Email the portal**
* **Email me**
:::
:::
::: {.column width="50%"}
![](images/educationdata-hex.png){.absolute top=40 left=560 width="430"}
:::
:::
---