Module csv_parser

Module csv_parser 

Source
Expand description

CSV parser for curriculum data

This module handles parsing CSV files from CurricularAnalytics.org format into the internal School data model. The parsing happens in three passes:

  1. First pass: Load all courses and build ID-to-key mappings
  2. Second pass: Determine storage keys (handling duplicates)
  3. Third pass: Add prerequisites, corequisites using resolved keys

Structs§

CurriculumMetadata
Represents parsed curriculum metadata from CSV header

Functions§

parse_curriculum_csv
Parse a curriculum CSV file and return a School object with all courses and degrees