Founding offer — 25% off applied automatically at checkout. Ends 1 November 2026 or after our first 30 orders. See pricing →
← Back to Training Hub Changelog Skip to document content

Attendance Export

Training Hub can export attendance and related records as CSV spreadsheets (for Excel, Google Sheets, a student-management system or an audit file) and as print-ready documents. This page lists every export, where its button lives, what it contains and who can use it.


How exporting works

There is no separate export page. Every export is a button on the report that holds the data:

  • CSV buttons download a UTF-8 spreadsheet immediately. Files open correctly in Excel, including names with accented characters.
  • PDF / print buttons depend on your plan:
    • Free opens a clean, print-ready page with your letterhead. Click Print / Save as PDF on that page and choose “Save as PDF” as the destination (Close returns you).
    • Pro downloads a branded, page-numbered PDF file from the same button.

Your organisation name and logo for printed and PDF reports are set under Settings → Pages & Reports → PDF Reports (PDF Logo — the image must be stored on your own site; a warning appears if the file is missing).

Who can export

Exports need the Training Hub reporting capability (administrators, your LMS instructor role and any Backend Access Roles). Trainers can only export courses they teach and students enrolled in those courses; anything else returns “Permission denied”. Students can’t export.


Export reference

Export Button and location Format Plan
Course attendance Attendance CSV / Attendance PDF — Course Report, Tutorial Attendance tab, below the matrix CSV / PDF Free
Attendance sheet (by venue) Attendance Sheet → Generate Attendance Sheet PDF — Course Report header PDF Free
Session roll (one session) Attendance Sheet → Session Roll → Generate Session Roll PDF — Course Report header PDF Free
Student attendance Export to CSV / Print / Save as PDF — Student Report, Attendance Report tab CSV / PDF Free
Student subject results / progress snapshot Subject Results / Progress Snapshot — Student Report, expanded course row PDF Free
Student clinic attendance Export to CSV / Print / Save as PDF — Student Report, Clinic Attendance tab CSV / PDF Free
Course clinic attendance Export to CSV / Print / Save as PDF — Clinic Report (or Course Report, Clinic Attendance tab) CSV / PDF Free
Session notes (one session) Export PDF — Training Hub → Session Notes, after choosing a session PDF Free
Student engagement CSV / PDF — Student Report, Engagement tab CSV / PDF Pro
Assessment report Export to CSV / Export to PDF — Course Report, Assessment Report tab CSV / PDF Pro
Assignment & assessment, all subject results, all progress snapshots Assignment & Assessment PDF, Download All Subject Results, Download All Progress Snapshots — Course Report, below the matrix PDF Pro
Attendance audit trail Pro Audits screen — see 17 — Attendance Audit Trail CSV Pro

There is no export of recording claims; claim outcomes are visible on the student report (Pro Recording Claims tab) and in the claims queue — see 06 — Recording Claims.


What’s in each CSV

Course attendance CSV

File name: attendance-<course>-<date>.csv. One row per student:

Column Contents
Student Number From the student’s profile, or “-“
Student Name First and last name
Email Account email
One column per tutorial Headed with the session date (YYYY-MM-DD). Each cell holds the status (for example Present, Absent, Late_arrival), Excluded, Not Required for ad-hoc-only students, or “-” when unmarked
Total Attended Sessions attended
Total Tutorials Sessions required (held, not excluded)
Attendance Rate % One decimal place, or “-” when nothing was required

Clinic sessions are not included — use the clinic export. The rate is calculated the same way as on screen; see 07 — Student Reports.

Student attendance CSV

File name: student-attendance-<student number or name>-<date>.csv. A short header block (Student Number, Name, Email, Report Date) followed by one row per course — Course, Total Tutorials, Attended, Attendance Rate % — and an OVERALL row.

Student clinic attendance CSV

A header block (Student Number, Name, Report Date) then one row per clinic shift: Date, Time, Course, Location, Status (“Not Marked” when unmarked), Clients, Notes.

Course clinic attendance CSV

One row per student: Student Name, Email, one column per clinic shift, Total Clinics, Attended, Attendance %.


Step by step: exporting a course for an audit file

  1. Go to Training Hub → Course Report and open the course.
  2. Click Refresh Data so the export reflects the latest marking.
  3. Scroll below the matrix and click Attendance CSV for the spreadsheet, and Attendance PDF for a signed-off printable copy.
  4. If the course has clinic shifts, open the Clinic Attendance tab and export that too.

Scheduled report delivery

🔒 Pro feature — requires Dantian Training Hub Pro.

Pro can email reports to nominated recipients on a schedule. Setup, timing and contents are documented in 26 — Scheduled Reports and Early Warning.


WP-CLI (for site administrators with server access)

Training Hub registers commands under wp dthub (the older wp tam prefix still works but is deprecated). For exports:

🔒 Pro feature — the audit-trail export needs Dantian Training Hub Pro.

wp dthub audit-export --user=<admin-username> --course_id=42 --from=2026-01-01 --to=2026-06-30 > audit.csv

Run it as an administrator (--user=) and redirect the output to a file as shown.

The wp dthub export-report command is not currently working — use the report buttons above for course and student exports.


Data and privacy

Exports contain personal information — names, emails, student numbers, attendance and notes. Treat downloaded files as confidential records: store them in access-controlled locations and delete copies you no longer need. Exports are generated on request and are not stored on the server.

Troubleshooting

  • “Permission denied” — you don’t teach that course or student, or your role lacks reporting access.
  • “No data to export” — the course or student has no attendance data yet.
  • “Unrecognised export request.” — the export link was incomplete (for example copied without its course). Return to the report and click the button again.
  • The PDF button opens a web page instead of downloading. That’s the Free print view — use your browser’s print dialog and choose “Save as PDF”.
  • The status column says “Late_arrival” rather than “Late Arrival”. CSV cells use the status’s internal name; rename in your spreadsheet if needed.

Worked example

At the end of term a clinic coordinator needs evidence for the annual compliance review. For each of the three diploma courses she opens the Course Report, clicks Refresh Data, then Attendance CSV and Attendance PDF, and on the Clinic Attendance tab, Export to CSV. She files the six documents in the course’s compliance folder. For one student under review she also opens the Student Report and clicks Print / Save as PDF to add a single-student summary.

Was this helpful?