Fetch AP/IB Participation and Performance Data
Source:R/fetch_college_career.R
fetch_ap_participation.RdDownloads and extracts Advanced Placement (AP) and International Baccalaureate (IB) coursework participation and exam performance from the SPR database.
Value
Data frame with AP/IB participation and performance including:
end_year, county_id, county_name, district_id, district_name
school_id, school_name (for school-level data)
apib_coursework_school - Percentage students in AP/IB coursework
apib_coursework_state - State percentage in AP/IB coursework
apib_exam_school - Percentage taking AP/IB exams
apib_exam_state - State percentage taking AP/IB exams
ap3_ib4_school - Percentage scoring AP 3+ or IB 4+
ap3_ib4_state - State percentage scoring AP 3+ or IB 4+
dual_enrollment_school - Dual enrollment participation
dual_enrollment_state - State dual enrollment percentage
Aggregation flags (is_state, is_county, is_district, is_school, is_charter)
Participation columns are character in every year so published suppression and other text tokens survive. Exam participation and AP/IB performance are not published by this interface in 2025 and are NA. The 2017 long sheet is reshaped by ReportCategory. On its state row the source's blank DistrictPercent remains NA in the entity carrier; the published StatePercent is retained in the corresponding state column.