Skip to contents

Imports school directory data from a locally saved file. Use this function when automatic downloads from the Idaho SDE are not available. Download the "Enrollment by Building" file from the SDE finance page and save locally.

Usage

import_local_directory(file_path, end_year = NULL, tidy = TRUE)

Arguments

file_path

Path to the local directory data file (CSV, XLSX, or XLS)

end_year

School year end to assign. If NULL, attempts to detect from data.

tidy

If TRUE (default), processes data to standard schema.

Value

Tibble with school directory data

Examples

if (FALSE) { # \dontrun{
# After downloading the Enrollment by Building file from SDE:
data <- import_local_directory("~/Downloads/Enrollment-by-Building.xlsx")
} # }