education

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 1 Imported by: 0

README

Spain Education Open Data & PAU/Becas Reference Library (2026/2027)

Public Go library (v1.0.0) and structured reference specifications for Spain's regulated higher education, vocational training (FP), regional university cutoffs, and statutory scholarship formulas (RD 534/2024, RD 659/2023, RD 1085/2020, and RUCT / SIIU).

Designed for civic tech apps, student counseling tools, academic research, and open-data consumption.

Core Datasets & Live Interactive Tools (Spanish Reference)

Rather than duplicating full national tables inside static source files, this package documents the formulas alongside verified live calculators and open datasets:

Quick Go Usage

package main

import (
	"fmt"
	education "github.com/PabloCirre/spain-education-open-data-2026"
)

func main() {
	score := education.ComputePAUAdmission(education.PAUInput{
		BachilleratoOrCFGS: 9.10,
		FaseObligatoria:    8.80,
		Specific1Score:     9.25,
		Specific1Weight:    0.2,
		Specific2Score:     8.50,
		Specific2Weight:    0.2,
	})
	fmt.Printf("PAU Admission Score: %.3f / 14.000\n", score)
}

Regional Public Fee Snapshot (2026/2027 First Enrolment)

Region Min EUR/ECTS Max EUR/ECTS Statutory Highlights
Andalucía 12.62 12.62 99% credit bonus on passed subjects (Andalucía DUA)
Galicia 11.95 13.93 Free first enrolment meeting academic threshold (Galicia CIUG)
Comunidad de Madrid 18.92 25.65 Math II & Physics weight 0.2 in UAM/URJC Health Sciences (Madrid DUM)
Cataluña 17.69 18.46 AGAUR Equitat brackets + Teaching PAP test (Cataluña Canal)
Comunitat Valenciana 12.79 18.08 Unified 5-public-university pre-enrolment (Valencia GVA)

Maintained under MIT License with open civic datasets from RNEC · Red Nacional de Estudios y Cursos.

Documentation

Overview

Package education provides open reference calculations and statutory constants for the Spanish higher education and vocational training system (2026/2027), implementing RD 534/2024 (PAU/EvAU access score), BOE Beca MEC income brackets, regional ECTS tuition fee ranges, and FP credit transfer mappings (RD 1085/2020).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputePAUAdmission

func ComputePAUAdmission(in PAUInput) float64

ComputePAUAdmission returns the Spanish university admission grade clamped to [0, 14].

Types

type PAUInput

type PAUInput struct {
	BachilleratoOrCFGS float64 // 0..10 (60% weight for Bachillerato; 100% if CFGS path)
	FaseObligatoria    float64 // 0..10 (40% weight; ignored when FromCFGS is true)
	FromCFGS           bool
	Specific1Score     float64 // 0..10 (only counts if >= 5.0)
	Specific1Weight    float64 // 0.1 or 0.2 per Distrito Unico table
	Specific2Score     float64 // 0..10 (only counts if >= 5.0)
	Specific2Weight    float64 // 0.1 or 0.2 per Distrito Unico table
}

PAUInput models the access and admission exam components in Spain.

type RegionalECTSFee

type RegionalECTSFee struct {
	Region       string
	MinECTSEUR   float64
	MaxECTSEUR   float64
	KeyBonusNote string
}

RegionalECTSFee summarizes first-enrolment public degree ECTS pricing in Spain (EUR/ECTS).

func ReferenceRegionalECTS

func ReferenceRegionalECTS() []RegionalECTSFee

ReferenceRegionalECTS returns verified 2026/2027 public first-enrolment ECTS ranges across key regions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL