Skip to contents

Fetch Data

Download enrollment data from Montana OPI

fetch_enr()
Fetch Montana enrollment data
fetch_enr_multi()
Fetch enrollment data for multiple years
fetch_directory()
Fetch Montana school directory data
get_available_years()
Get available years of enrollment data

Process & Tidy

Transform data into analysis-ready formats

tidy_enr()
Tidy enrollment data
id_enr_aggs()
Identify enrollment aggregation levels
enr_grade_aggs()
Custom Enrollment Grade Level Aggregates

Cache Management

Manage locally cached data

cache_status()
Show cache status
clear_cache()
Clear the mtschooldata cache

School Directory

Fetch and manage school directory data

fetch_directory()
Fetch Montana school directory data
clear_directory_cache()
Clear school directory cache
import_local_directory()
Import local school directory data file

Data Sources & Import

Data source information and manual import utilities

get_data_sources()
Get data source information
import_local_enrollment()
Import local enrollment data file
slugify_district()
Slugify a district name for URL use