Sample supply chain data
1,000 × 12rows × columns in the 1,000-row file
Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.
textnumberdateyes/no
Largest file10,000rows; also 100 and 1,000
Columns12with a data dictionary below
Dates2024-01-01 – 2024-12-31range in the file
LicenceCC0synthetic, free for any use
What is in it
Each row is one fictional shipment in 2024 from one of four warehouses: order, ship and delivery dates, destination state, service (Ground, 2-Day, Overnight, Freight), weight, cost, promised and actual transit days and an on-time flag. Shipments still moving at year end have blank delivery fields.
More practice tables like this one: all 14 newer sample datasets.
First rows
point at a column to light it up
| shipment_idtext | order_datedate | ship_datedate | delivery_datedate | origintext | destination_statetext | servicetext | weight_lbnumber | shipping_costnumber | promised_daysnumber | actual_daysnumber | on_timeyes/no |
|---|---|---|---|---|---|---|---|---|---|---|---|
| SH620001 | 2024-09-15 | 2024-09-17 | 2024-09-19 | WH2 Chicago | NV | 2-Day | 16.6 | 36.26 | 2 | 2 | TRUE |
| SH620002 | 2024-07-16 | 2024-07-18 | 2024-07-24 | WH3 Dallas | TX | Freight | 912.8 | 412.1 | 6 | 6 | TRUE |
| SH620003 | 2024-04-06 | 2024-04-07 | 2024-04-12 | WH4 Reno | CT | Ground | 1.6 | 8.88 | 5 | 5 | TRUE |
| SH620004 | 2024-05-10 | 2024-05-11 | 2024-05-13 | WH3 Dallas | WA | 2-Day | 34.4 | 55.84 | 2 | 2 | TRUE |
| SH620005 | 2024-10-20 | 2024-10-22 | 2024-10-27 | WH1 Newark | NE | Freight | 413 | 252.16 | 6 | 5 | TRUE |
| SH620006 | 2024-05-05 | 2024-05-07 | 2024-05-13 | WH4 Reno | FL | Ground | 29.9 | 24.45 | 5 | 6 | FALSE |
| SH620007 | 2024-03-19 | 2024-03-20 | 2024-03-26 | WH3 Dallas | CA | Freight | 1528.9 | 609.25 | 6 | 6 | TRUE |
| SH620008 | 2024-05-14 | 2024-05-14 | 2024-05-18 | WH2 Chicago | NV | Ground | 1 | 8.55 | 5 | 4 | TRUE |
| SH620009 | 2024-05-11 | 2024-05-12 | 2024-05-16 | WH3 Dallas | LA | 2-Day | 47.3 | 70.03 | 2 | 4 | FALSE |
| SH620010 | 2024-10-28 | 2024-10-30 | 2024-11-08 | WH2 Chicago | NY | Ground | 34.3 | 26.87 | 5 | 9 | FALSE |
Shipping cost by service
USD, 1,000-row file
Show as a table
| service | value |
|---|---|
| Freight | $59,900 |
| Ground | $11,461 |
| 2-Day | $8,932 |
| Overnight | $4,724 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| shipment_id | text | Shipment number |
| order_date | date | Order received (2024) |
| ship_date | date | Left the warehouse |
| delivery_date | date | Delivered; blank if still in transit on 2024-12-31 |
| origin | text | Warehouse code and city |
| destination_state | text | Two-letter state code |
| service | text | Ground, 2-Day, Overnight or Freight |
| weight_lb | decimal | Shipment weight (lb) |
| shipping_cost | decimal | Cost to ship (USD, fictional rates) |
| promised_days | integer | Days from ship_date promised for delivery |
| actual_days | integer | delivery_date - ship_date; blank if in transit |
| on_time | boolean | actual_days <= promised_days; blank if in transit |
Practice questions
answers checked in SQL and in Python
On-time rate by service (delivered shipments)?
2-Day 79.5%; Ground 76.0%; Overnight 73.4%; Freight 72.1%
Excel
=COUNTIFS(G:G,"Ground",L:L,TRUE)/COUNTIFS(G:G,"Ground",L:L,"<>")SQL
SELECT service, ROUND(100.0*SUM(on_time)/COUNT(*),1) AS pct FROM shipments WHERE on_time IS NOT NULL GROUP BY service ORDER BY pct DESC, serviceFile: shipments-1000
Shipping cost by origin warehouse?
WH3 Dallas $24,051.07; WH2 Chicago $20,672.83; WH4 Reno $20,504.70; WH1 Newark $19,787.81
SQL
SELECT origin, ROUND(SUM(shipping_cost),2) AS c FROM shipments GROUP BY origin ORDER BY c DESCFile: shipments-1000