Skip to content

Dataset

Primavera P6 schedule datasets for AI training

A Primavera P6 dataset is a set of Oracle Primavera P6 schedules exported as XER or XML files: projects with their WBS, activities, typed relationships with lags, calendars, resources and resource assignments, activity codes, user defined fields, steps and notebook topics, together with the baselines and the dated update files saved over each job. SourceX sources it to a buyer's spec from established contractors, owners and scheduling consultants that run P6. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
P6 schedule files with activities, relationships, calendars, resources and codes, as a baseline and a series of dated updates
Typical systems
Oracle Primavera P6 Professional and P6 EPPM; XER and P6 XML exports, restored baselines, schedule logs and Schedule Comparison reports
Typical history
Varies by project; one file per update period is common, so specify the baseline, the updates and the as-built file you need
Modality
Structured tables per schedule file, with free text in activity names, notebook topics and step names
Delivery formats
Native XER or P6 XML per data date, plus Parquet or JSONL per table with Activity IDs matched across updates
Preparation
Project and party names screened in names, codes and notebooks; export user and logins removed; resources and costs handled as agreed
Licensing
Scoped per project and update series; contract and claim restrictions reviewed; Oracle's license terms checked by owner and buyer
Availability
Sourced to your spec; update count, baselines and cost loading depend on the supplier, and supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
project_refobjectThe Project row: pseudonymous key, data date, planned start and must finish by date.
update_seriesobjectWhere this file sits among the Project's saved files: Baseline or numbered update, format, and the file holding its Baseline.
wbs_patharrayThe WBS elements from the project node down to the one the Activity sits under, with code and name.
activity_idstringThe Activity ID the scheduler sees (task_code in an XER), the key used to match an Activity across update files.
activityobjectThe Activity's name, activity type such as task dependent, milestone or level of effort, and status.
durationsobjectThe Activity's original and remaining duration in hours with its percent complete type and value.
datesobjectThe Activity's planned, early, late and actual start and finish, with suspend and resume dates where entered.
float_and_constraintsobjectThe Activity's total and free float in hours, primary and secondary constraint with date, and longest path flag.
predecessorsarrayRelationships into the Activity: predecessor Activity ID, type (FS, SS, FF or SF) and lag in hours.
calendarobjectThe Calendar assigned to the Activity: name, global, project or resource type, hours per day and parsed exceptions.
resource_assignmentsarrayResource Assignments on the Activity: keyed Resource, type, budgeted, actual and remaining units and, where in scope, cost.
code_assignmentsarrayActivity Codes assigned to the Activity, each with its code name, global, EPS or project scope, and value.
udf_valuesarrayUser Defined Fields set on the Activity, with the field's label and value.
notebook_and_stepsobjectNotebook Topics written on the Activity, as text, and its Steps with name, weight and completed flag.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "project_ref": {"proj_key": "prj_5d20a7", "data_date": "2024-07-01 00:00", "plan_start_date": "2023-10-02 00:00", "must_finish_by": "2025-08-29 00:00"},
  "update_series": {"file_role": "update", "sequence": 7, "format": "XER", "baseline_file": "prj_5d20a7_bl01", "export_user": null},
  "wbs_path": ["TWR", "TWR.3 Structure", "TWR.3.2 Level 4"],
  "activity_id": "STR-L04-1030",
  "activity": {"task_name": "FRP columns and shear walls Level 4", "task_type": "TT_Task", "status_code": "TK_Active"},
  "durations": {"target_drtn_hr_cnt": 80, "remain_drtn_hr_cnt": 32, "complete_pct_type": "CP_Phys", "phys_complete_pct": 55},
  "dates": {"target_start_date": "2024-06-10 07:00", "target_end_date": "2024-06-21 16:00", "act_start_date": "2024-06-17 07:00", "act_end_date": null, "early_end_date": "2024-07-05 16:00", "late_end_date": "2024-07-03 16:00"},
  "float_and_constraints": {"total_float_hr_cnt": -8, "free_float_hr_cnt": 0, "cstr_type": null, "driving_path_flag": "Y"},
  "predecessors": [
    {"pred_activity_id": "STR-L03-1090", "pred_type": "PR_FS", "lag_hr_cnt": 0},
    {"pred_activity_id": "STR-L04-1010", "pred_type": "PR_SS", "lag_hr_cnt": 16}
  ],
  "calendar": {"clndr_name": "5 Day 8 Hour with Holidays", "clndr_type": "CA_Project", "day_hr_cnt": 8, "exceptions_in_window": ["2024-07-04"]},
  "resource_assignments": [
    {"rsrc_key": "rs_19", "rsrc_type": "RT_Labor", "target_qty": 640, "act_reg_qty": 352, "remain_qty": 256, "target_cost": null}
  ],
  "code_assignments": [
    {"code_type": "Area", "scope": "AS_Project", "value": "L04"},
    {"code_type": "Responsibility", "scope": "AS_Global", "value": "CONC-SUB"}
  ],
  "udf_values": [
    {"udf_label": "Pour Sequence", "value": "4B"}
  ],
  "notebook_and_steps": {"topics": [{"topic": "Update Notes", "text": "Start held one week by rebar delivery."}], "steps": [{"proc_name": "Rebar inspection", "complete_flag": "Y"}, {"proc_name": "Pour", "complete_flag": "N"}]}
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train schedule-review agents on real logic

Activities, relationships, constraints and calendars from working P6 files show how schedulers tie work together.

Forecast completion from an update series

Each update is a dated forecast, and later files in the series supply the actual dates to score it.

Explain what changed between two updates

Consecutive files matched on Activity ID give added, deleted and re-tied activities for change detection.

Teach agents to read native schedule files

Raw XER and P6 XML files paired with parsed tables train tools that must open what a scheduler sends.

Build held-out tests with known outcomes

Hold back the later updates of a project and ask a model which activities will drive the finish date.

Use-case guides: Enterprise and computer-use agents, Private evaluation sets, Document AI, enterprise search and RAG

What makes this data valuable

Unbroken update series

Data dates step forward period by period with no file missing before completion.

Baselines delivered as files

Each baseline arrives as its own project, tied to its schedule and labeled accepted or internal.

Stable Activity IDs

Few IDs renumbered or reused, so each activity can be followed through the job.

Files saved at the time

Updates exported at each data date, not regenerated later from a live database.

Codes that mean something

Activity codes for area, phase, trade and responsibility are filled in consistently.

Loading stated

The manifest says whether activities carry resource units and costs, and which were removed.

Record timeline

Primavera P6 dataset

This page covers primavera P6 project schedules.Illustrative

An update overwrites the dates, so P6 history lives in saved files

P6 holds a schedule as rows: activities, typed relationships with a lag on each, calendars and assignments. When the scheduler statuses the job, enters actual dates and remaining durations, moves the data date and reschedules, the early and late dates and the float on every activity are recalculated and written over the old values. Last month's forecast is gone. What P6 can keep is a baseline, a full copy of the project attached to the current one, and what the scheduler can keep is a copy or export saved before each update.

The planned dates on an activity are not that memory. P6 carries a planned start and finish beside the early dates, and for an activity that has not started they normally move with the current schedule, then stop moving once it starts. The baseline columns a scheduler prints come from whichever baseline is assigned to the project, and with none assigned P6 falls back to the current project's own planned dates. A bar chart can therefore show baseline bars no owner ever accepted.

Lining up updates has its own trap. Each activity has an internal key and the Activity ID the scheduler sees. Many schedulers copy the project every period and update the copy, which gives every activity a new internal key, so the Activity ID is the only thread across files, and it can be edited or reused. Global calendars and the resource dictionary are shared by every project in a database. A file saved at each data date holds the calendar as it then stood. An old update exported today holds today's.

What an XER file carries, and what it leaves in the database

An XER export writes out the P6 tables for the projects selected, and more than the schedule comes along. Beside TASK and TASKPRED sit RSRC and TASKRSRC for resources and assignments, ACTVTYPE, ACTVCODE and TASKACTV for activity codes, UDFTYPE and UDFVALUE for user defined fields, TASKMEMO for notebook topics, TASKPROC for steps and SCHEDOPTIONS for the scheduling settings. Global data the project touches comes too, so one job's file can hold named people in the resource table, their rates, and global code values defined for other work. The header line names the exporting user, and activity rows carry the logins that created and last changed them.

What stays behind matters as much. Baselines are not in the XER. Each has to be restored as a project of its own and exported, and then must be tied back to its schedule. The P6 XML export, in the releases that offer it, has an option to include a project's baselines, so ask which format, release and options were used. Layouts, which define the view the scheduler printed, are saved separately. A relationship to an activity in a project that was not exported can arrive with one end missing.

Test a sample series by parsing it. Every predecessor and successor should resolve to an activity in the file. Every calendar should parse, including its exceptions, which are stored as day serial numbers inside one packed text field. Data dates should step forward file by file, and no actual date should fall after its file's data date. Match Activity IDs between consecutive updates and count those added, deleted or renamed. On activities not started, compare planned with early dates to see whether the planned dates were held.

What to check before licensing

  • Have the data owner and your counsel read Oracle's license terms for Primavera P6 on exported data and on API or database access before a permitted use is agreed.
  • Confirm the supplier may license schedules it prepared under contract for an owner, and ask whether any was part of a delay claim or settlement that counsel should review.
  • State whether resource names, unit rates and cost loading are in or out of scope, and check how the resource table and assignments were treated.
  • Ask how each baseline was obtained, restored and exported as its own project or rebuilt, and which one the owner accepted.
  • Ask whether each update was saved at its data date or exported recently from a live database, where global calendars and resources may have changed.
  • Check that the XER header's user name, the created-by and updated-by logins on activities and names in notebook topics were removed or re-keyed.
  • On one project's series, match Activity IDs across consecutive updates and count those changed, deleted or reused.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What is the difference between an XER file and a P6 XML file?

An XER file is a tab-delimited text dump of P6's tables for the selected projects, while a P6 XML file holds the schedule as XML with its own export options. In the releases that offer it, the XML export can include a project's baselines, which an XER does not carry. Ask which format each file is in, which release wrote it and which options were chosen at export.

Are baselines included in a P6 export?

Not in an XER file. P6 keeps a baseline as a copy of the project attached to the current schedule, and an XER export leaves it behind. Each baseline has to be restored as a project and exported separately. A P6 XML export may include them if that option was chosen. Ask for baselines as their own files, labeled with the schedule they belong to.

How are activities matched across monthly updates?

By Activity ID. P6 also gives each activity an internal key, but that key changes when a project is copied, and many schedulers copy the project before every update. The Activity ID the scheduler typed is what persists, so a delivery should flag IDs that were renumbered, reused for different work, or dropped between files.

Does a P6 schedule include costs and resource names?

Only if the scheduler loaded them. Some schedules carry no resources at all, some carry labor units, and some carry costs through resource assignments or expenses. Where resources are loaded, the export includes the resource table, which can name people and firms. Say in your request whether units, costs and rates are needed.

Do P6 files show who changed the schedule and why?

Only in part. An activity row records who created it and who last changed it, with dates, but not what changed. Reasons sit in notebook topics, in the narrative sent with the update and in reports from P6's Schedule Comparison tool. Comparing consecutive files shows what moved.

Is SourceX affiliated with Oracle?

Primavera P6 is named to identify the system the records come from. That does not imply a partnership with or endorsement by Oracle. The records belong to the business that runs Primavera P6, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies