get_education_data: Obtain data from the Urban Institute Education Data Portal...

View source: R/get_education_data.R

get_education_dataR Documentation

Obtain data from the Urban Institute Education Data Portal API

Description

Obtain data from the Urban Institute Education Data Portal API

Usage

get_education_data(
  level = NULL,
  source = NULL,
  topic = NULL,
  subtopic = NULL,
  by = NULL,
  filters = NULL,
  add_labels = FALSE,
  csv = FALSE
)

Arguments

level

API data level to query

source

API data source to query

topic

API data topic to query

subtopic

Optional 'list' of grouping parameters to pass to an API call

by

DEPRECATED in favor of 'subtopic'

filters

Optional 'list' of query values to filter an API call

add_labels

Add variable labels (when applicable)? Defaults to FALSE.

csv

Download the full csv file? Defaults to FALSE.

Value

A 'data.frame' of education data


educationdata documentation built on Sept. 29, 2022, 5:11 p.m.