Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
map
 
 
 
 
 
 
 
 

README.md

Visualizing Results From College Scorecard Data

This project visualizes the data from the college report card, https://collegescorecard.ed.gov/data/, using R.

To create HTML page using RStudio

You can simply run scorecard_county_map.Rmd in RStudio using the Knit HTML button at the top of the screen.

To create HTML page using R and rmarkdown

To create the HTML file from the primary script file, open an R session in the ./scripts directory and use

rmarkdown::render('scorecard_county_map.Rmd')

Required data

Aside from the files hosted in the repository, a few other larger data sources must be in the ./data/ folder:

Required R packages

The following R packages and their dependencies are required:

libs <- c('dplyr',                 # make data wrangling easier
          'gstat',                 # kriging
          'geojsonio',             # to handle geojson data type
          'htmlwidgets',           # way to bind javascript libraries
          'knitr',                 # combine R code and markdown
          'leaflet',               # interactive mapping module
          'maptools',              # mapping projections
          'RColorBrewer',          # create color palettes
          'readr',                 # faster reading of large csv files
          'rgdal',                 # interact with gdal GIS framework
          'rgeos',                 # interact with geos GIS framework
          'tidyr')                 # make data wrangling easier

rmarkdown is also required to produce the final HTML file if you choose not to use RStudio.

Note that the geospatial packages (e.g., rgdal and rgeos) may require the installation of geospatial libraries on your local machine. For OS X, many can be installed using prepackaged binaries found here.

About

Visualizing Results From College Scorecard Data

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.