knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
options(width=10000)

IPEDS

Lifecycle: stable CRAN status R-CMD-check

IPEDS is a package that contains datasets from The Integrated Postsecondary Education Data System (IPEDS). IPEDS is a system of interrelated surveys conducted annually by the U.S. Department of Education's National Center for Education Statistics (NCES). IPEDS annually gathers information from about 6,400 colleges, universities, and technical & vocational institutions that participate in the federal student aid programs.

Installation

You can install IPEDS from CRAN with:

install.packages("IPEDS")

Or you can install the development version of IPEDS from GitHub with:

``` {r, eval=FALSE}

install.packages("devtools")

devtools::install_github("ajhaller/IPEDS")

## Load

```r
library(IPEDS)
library(dplyr)
library(ggplot2)

Available Tables

Example: Admissions and Test Scores for Fall 2021

head(adm2021)

Data Visualization

ggplot(adm2021, mapping = aes(x = adm_tscores, fill = adm_tscores)) +
  geom_bar() +
  labs(title = "Amount of Schools vs. Test Score Requirement",
       x = "Test Score Requirement",
       y = "Amount of Schools") +
  scale_fill_discrete(name = "Test Score Requirement",
                      labels = c("Considered_but_not_required" = "Considered but not Required",
                                 "Neither_required_nor_recommended" = "Neither Required nor Recommended")) +
  theme(axis.text.x=element_blank(),
        axis.ticks.x=element_blank())

Example: Directory Information for 2021

head(dir_info2021) 

Functionality

admission_reqs # extracts admission requirements for any institution
acceptance_rate # calculates acceptance rate for any institution
school_preferences # provides a dataset of institutions according to your preferences
compare_int # function allows comparison of two institutions and its important qualities 
read_data # function for importing raw data from IPEDS
admission_reqs(167835)
school_preferences(financial_aid = 70, size = 2, region = "New England", diversity_staff = 27)
acceptance_rate(167835)

For further examples and capabilities, please see the vignette

Contributors



ajhaller/IPEDS documentation built on Jan. 30, 2023, 4:44 a.m.