Lab Problem Set 1



Labs

Overview

This lab covers three primary topics: (a) Working with R Markdown Files (b) working with downloading some education datasets using an API that’s simpler than the one we did in the first class/lab!; and (3) extending the visualizations from Labs 2

Data

You’ll work with Urban Institute’s Education Data Portal which contains several education datasets and learn to download a relevant dataset

You’ll also work with the combined births by day dataset used in Lab 2 to create a heatmap

Lab PS1 Tasks

Glance through the data and the repo that has excellent documentation.

By the end, however, you should have:

1. Install educationdata package and see what the endpoints are

2. Get Relevant Data

Return a data.frame of enrollment across all grades for the most recent academic year for which the data is available from the Common Core of Data (just show head)

3. Initial exploration

Create histograms and density plots of the enrollment. Try at least four different binning methods.

4. Re-load the combined births by day dataset used in Lab2 and generate a heatmap of average births by day

Finishing up

When you have finished the above, upload your rendered (knit) HTML/pdf file to canvas.