Legs by Booking Class¶
legbuckets¶
This table breaks down each leg’s sales and revenue by booking class. Each row represents one booking class on one leg; a leg-level booking class is also called a bucket.
Use this table when you want to see which classes contribute to a flight’s traffic or revenue. The
values are totals across samples, excluding burned samples. As with the legs table, a connecting
passenger is counted on every leg they travel on.
Access this table as summary.legbuckets.
Index¶
Field |
Type |
Meaning |
|---|---|---|
|
integer |
Leg identifier; joins to |
|
string |
Booking class code. |
Columns¶
Field |
Type |
Meaning |
|---|---|---|
|
string |
Carrier code. |
|
number |
Total passengers sold across retained samples. |
|
number |
Total ticket revenue across retained samples, in simulation currency. |
Activation¶
PassengerSim collects this information automatically during a normal simulation run. You do not need
to enable database recording or add the table to
outputs.reports.
There is no separate on/off switch for collecting this table. If you only want to leave it out of the returned summary, you can use selecting extracted tables to choose which tables to include.