get_ccd: Get data from the NCES's Common Core of Data for year 2009 to...

Description Usage Arguments Value Examples

Description

Get data from the NCES's Common Core of Data for year 2009 to 2016

Usage

1
get_ccd(states = "all", endyear = 2016, variables = "all")

Arguments

states

A string of state names (or name) indicating the states that you want data for.

endyear

A numeric year indicated the end year of a school year (e.g., 2016 to get 2015-2016 data).

variables

A string of variables names for the variables to access. Use "all" for all variables.

Value

A tibble with school-level data for the given year and state(s)

Examples

1
2
3
# Get data from all schools in New York state for the 2014-2015 school year
library(ccdr)
ny_dat <- get_ccd(states = "New York", endyear = 2015, variables = "all")

ramorel/ccdr documentation built on May 12, 2019, 6:17 p.m.