MA_schools: Massachusetts Public High Schools Data

Description Usage Format Source Examples

Description

Data on Massachusetts public high schools in 2017

Usage

1

Format

A data frame of 332 rows representing Massachusetts high schools and 4 variables

school_name

High school name.

average_sat_math

Average SAT math score. Note 58 of the original 390 values of this variable were missing; these rows were dropped from consideration.

perc_disadvan

Percent of the student body that are considered economically disadvantaged.

size

Size of school enrollment; small 13-341 students, medium 342-541 students, large 542-4264 students.

Source

The original source of the data are Massachusetts Department of Education reports http://profiles.doe.mass.edu/state_report/, however the data was downloaded from Kaggle at https://www.kaggle.com/ndalziel/massachusetts-public-schools-data

Examples

1
2
3
4
5
library(ggplot2)
ggplot(MA_schools, aes(x = perc_disadvan, y = average_sat_math, color = size)) +
  geom_point() +
  geom_smooth(method = "lm", se = FALSE) +
  labs(y = "Math SAT score", x = "Percentage economically disadvantaged", color = "School size")

tessington/qsci381 documentation built on Sept. 26, 2020, 12:40 p.m.