Skip to contents

Imports school directory data from a locally saved file. Use this function when automatic downloads from the DCCED ArcGIS API are not available.

Usage

import_local_directory(file_path, tidy = TRUE)

Arguments

file_path

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

tidy

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

Value

Tibble with school directory data

Details

You can export school directory data from the DCCED open data portal: https://dcra-cdo-dcced.opendata.arcgis.com/

The DCCED portal provides data from 4 layers: School Enrollment View, Alaska Schools, District Contacts, and School Contacts. For the richest directory data, use fetch_directory() which queries all 4 layers. This function processes a single exported file at a time.

Examples

if (FALSE) { # \dontrun{
# After downloading directory data from the DCCED portal:
data <- import_local_directory("~/Downloads/AK_Schools_Directory.csv")
} # }