Templates
Templates are the data files used to load information into the PIMS data warehouse. Each template specification on this site documents the fields expected for a particular upload and maps to a target table in the data warehouse. Templates support common delimited formats (CSV, tab, pipe). When building a file, every field position in the template must be present even if a value is blank.
If a field is not collected by PDE, it still must be present in the file as an empty value or delimiter placeholder so column positions remain consistent.
This documentation is based on the eScholar templates (v19) used by PIMS. The pages here convert the original template specifications into a web-friendly reference with interactive components and cross-links to related templates and appendices.
Highlights for implementers
- Lookup tables are used to map codes to descriptions (for example, ethnic codes to descriptions). Your extract should use PDE codes expected by PIMS.
- When templates reference other templates (for example, a template that includes a student identifier), that dependent template must be loaded first. See the Dependencies section below for the interactive view.
- A practical place to start is the Student template since many other templates reference student identifiers.
What each template page contains
Every template page on this site includes a summary card and a field-by-field specification. Typical sections include:
- TemplateCard summary (fields, collected count, target table, dependencies)
- Template Description and usage notes
- Field specifications (field number, name, length, required/optional/conditional, codes, definitions, business rules)
- Sample and valid values (when applicable)
Rules (applies to all templates)
- Dates must use ISO format: YYYY-MM-DD.
- PASECUREID values should be unique within an LEA.
- Badges used on field headings indicate column behavior and validation hints:
- Required required field
- Optional optional field
- Conditionally Required conditionally required (see business rules)
- Key component of the primary key
- Updateable value is updatable if the row already exists
- Max Length: 9 length badge showing max characters for free-form fields (example)
- Files may be supplied as delimited text (CSV, tab, pipe) or fixed-width when noted by a template.
The "eScholar Field Name" on each template identifies the exact field name expected by the eScholar load plans. Use it when mapping source system fields to template columns.
Key fields
Fields marked as Key are used to determine record uniqueness. If a key field value was uploaded incorrectly and needs to be changed, the record must be deleted and re-uploaded with the corrected values.
Deleting records
Deletions are handled by PIMS administrators. To request a deletion or other data maintenance action, use the PIMS support resources on the PDE website or the PIMS Help Request form. Contact details and the support form are kept current on the PDE site.
Load sequence and dependencies
Templates that reference identifiers from other templates require those source templates to be loaded first (for example, student identifiers require the Student template). Use the interactive dependencies table below to explore prerequisites and load order.
PIMS Template Dependencies
Each row lists a template that must be loaded before its dependent templates. Use search to locate specific relationships.
Extracting data into template format
This site provides guidance for extracting data from source systems into template format. The main steps are:
- Map source fields to the template field positions
- Apply PDE code mappings and lookup table translations
- Export into the required delimited format and name the file according to the naming convention below
- Submit to PIMS using your LEA's upload process
File naming conventions
Follow this pattern for template file names to ensure clarity and uniqueness:
SubmittingAUN_TargetTable_YYYYMMDDHHMM.xxx
Example: 100000009_STUDENT_202509270915.csv
- Submitting AUN — the 9-digit Administrative Unit Number (e.g.
100000009
) - Target Table — the exact target table name used by eScholar (e.g.,
STUDENT
,COURSE_ENROLL
) - Time stamp — YYYYMMDDHHMM to make each filename unique
- Extension — file separator type (
csv
,tab
, etc.)
- Only authorized PIMS Administrators can perform uploads in the production system.
- For extraction examples and detailed guidance see the official eScholar Guide to Extracting Data.
Templates within a collection and field accountability
Templates required for a particular collection may span multiple domains. Check the collection calendar and the individual template pages for the complete list of required templates. When text says "All fields must be accounted for", it means every field position in the template must be present in the file (as a value or empty placeholder).
Template Submissions by LEA Type
Use the checkboxes below to filter templates by reporting Local Education Agency (LEA) type. Rows with conditional submission requirements always appear.
Domain / Template | Reporting LEAs |
---|---|
Child Accounting Domain | |
School Calendar |
|
School Calendar Fact |
|
Course Domain | |
Course |
|
Course Instructor |
|
Student Course Enrollment |
|
Discipline Domain | |
Incident |
|
Person |
|
Incident Offender |
|
Incident Offender Infraction |
|
Incident Offender Infraction Weapon |
|
Incident Offender Disciplinary Action |
|
Incident Offender Parent Involvement |
|
Incident Victim |
|
District Domain | |
District Fact for Safe Schools |
|
District Fact for Title III Professional Development Activities Survey |
|
District Fact for LIEP Survey |
|
District Fact for EL Nonpublic Student Counts |
|
District Fact for Title I Submit only if serving Title I students |
|
District Fact for Home Education and Private Tutoring |
|
District Fact for Support Personnel Data |
|
Location Domain | |
Location Fact for Safe Schools |
|
Location Fact for Bus Evacuation Drill |
|
Location Fact for Fire and Security Drills |
|
Location Fact for Automatic External Defibrillator (AED) See Volume 1 for more information on PRRI/APS eligibility |
|
Location Fact for Interscholastic Athletic Opportunities Data |
|
Staff Domain | |
Staff |
|
Staff Snapshot |
|
Staff Assignment |
|
Staff Development Fact |
|
Person for EL Coordinator |
|
Person Role for EL Coordinator |
|
Student Domain | |
Student |
|
Student Snapshot |
|
Staff Student Subtest |
|
Student Award Fact for Industry-Recognized Credentials and Work-Based Learning Experiences for Non-CTE Students |
|
Student Fact for Career Standards Benchmarks |
|
Student Local Assessment Subtest For Early Indicators of Success |
|
Student Local Assessment Subtest For Reporting and Analytics |
|
Student Fact for Keystone Exemption Reporting |
|
Career and Technical Education (CTE) Domain | |
CTE Student Fact Submit only if LEA had reportable enrollees in approved reimbursable secondary CTE programs and/or registered adult affidavit programs. | Conditional – see note |
CTE Student Industry Credential Submit only if CTE (secondary and/or adult affidavit) program enrollees earned reportable industry certifications. | Conditional – see note |
Special Education Domain | |
Student |
|
Special Education Snapshot |
|