edfinr

An R package for downloading and analyzing education finance data from multiple sources.

Installation

You can install edfinr from CRAN with:

install.packages("edfinr")

You can install the development version of edfinr from GitHub with:

# pak::pkg_install("bellwetherorg/edfinr")
install.packages("edfinr", repos = c('https://bellwetherorg.r-universe.dev', 'https://cloud.r-project.org')) 

Data Sources

This package provides access to education finance data from:

Data Processing Methods

Data Processing Detail

Full data processing methods and scripts are available on GitHub via bellwetherorg/edfinr_data_cleaning.

NCES F-33 Survey Data

Data source: NCES Common Core of Data text files of F-33 data from 2011-12 through 2022-23.

Raw variables selected:

Adjustments:

CCD Directory Data

Data source: NCES CCD Directory data obtained via the educationdata package.

Raw variables selected:

Adjustments:

SAIPE Poverty Estimates

Data source: Census Bureau SAIPE Estimates

Raw variables selected:

Adjustments:

ACS 5-Year Estimates

Data source: American Community Survey 5-Year Estimates accessed via the tidycensus package

Raw variables selected:

Adjustments:

CPI

Data source: U.S. Bureau of Labor Statistics, specifically the Consumer Price Index for All Urban Consumers (CPI-U)

Raw variables selected:

Adjustments:

Census Gazetteer Files

Data source: U.S. Census Bureau Gazetteer Files, school district vintages.

Raw variables selected:

Adjustments:

Joining Data

Revenue Adjustments

Additional transformations are applied after the join:

Exclusions

Data Notes and Cautions

Users should note the following when working with the edfinr datasets:

Authors