Overview
EFTS (Equivalent Full-Time Student) is the standard funding metric
for tertiary education in New Zealand. selmaR includes
selma_efts_report() to pro-rate each component’s EFTS
across calendar months — replicating SELMA’s built-in funding
report.
How Pro-Rata Calculation Works
For each component:
- Calculate
total_days= end_date - start_date + 1 - For each calendar month, calculate the overlap days between the component’s date range and the month
- Monthly EFTS = (overlap_days / total_days) * component_efts
This distributes a component’s EFTS across months proportionally to how much of its duration falls within each month.
Usage
library(selmaR)
con <- selma_connect()
components <- selma_components(con)
# Single year
report_2025 <- selma_efts_report(components, year = 2025)The result contains:
| Column | Description |
|---|---|
funding_source |
Funding source label (e.g. “01 Government Funded”) |
category |
Funding category from SELMA |
efts_01..efts_12
|
Pro-rata EFTS for Jan through Dec |
total |
Row total |
Filtering
By default, selma_efts_report():
- Includes statuses: C, FC, FI, WR, WS (all funded)
- Excludes international fee-paying (source “02”)
- Excludes cross-credited enrolments (components summing to zero EFTS)
Customise these:
# Only confirmed and completed
report <- selma_efts_report(
components,
year = 2025,
funded_statuses = c("C", "FC")
)
# Include international students
report <- selma_efts_report(
components,
year = 2025,
exclude_international = FALSE
)