Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        The Work Gym / Free resources / Free practice datasets

        Shipping and logistics dataset

        Two months of freight shipments from Copperline Freight, a fictional Canadian carrier: each shipment's customer, lane, ship date, promised date and delivery date, and the stream of status updates behind them. Built for on-time delivery analysis, the first thing a logistics analyst is asked for.

        Download

        • shipping.xlsxExcel workbook, one sheet per table (2) · 31 KB
        • shipping.sqlSQL script for PostgreSQL, MySQL, SQLite and DuckDB · 92 KB

        CSV files, one per table

        The data is fictional and free to use for practice, teaching and portfolio work. A link back is appreciated.

        What to practice

        Copperline Freight is a fictional carrier moving freight on six Canadian lanes, such as Toronto to Montreal, for eight business customers. The data covers September and October 2026. Every name and number is invented.

        1. Work out the on-time rate by lane and by customer from shipments.
        2. Rebuild shipments from shipment_events by keeping each shipment's latest update.
        3. Decide what to do with cancelled and in-transit shipments before you count on-time deliveries, and say why.

        Practice with checked exercises

        • Move the on-time report into the warehouse

          Copperline's on-time report is a spreadsheet someone rebuilds every Monday. Rebuild it on the warehouse: one current row per shipment in Snowflake, a tested dbt model, and a Tableau view operations can trust.

        • Two dashboards, two on-time numbers

          Operations reports one on-time rate and finance reports a lower one, for the same month. Find out why, write the measure both teams agree on, and recommend which number goes to customers.

        Data dictionary

        Table and column names are exactly as they appear in the files.

        shipment_events495 rows

        Every status update, one row each.

        shipment_idVARCHAR
        Shipment number
        customerVARCHAR
        Customer
        laneVARCHAR
        Origin to destination
        statusVARCHAR
        Booked, In transit, Delivered or Cancelled
        shipped_onDATE
        Ship date
        promised_onDATE
        Promised delivery date
        delivered_onDATE
        Delivery date (empty until delivered)
        weight_kgDOUBLE
        Weight in kilograms
        revenue_cadDOUBLE
        Revenue in Canadian dollars
        updated_atTIMESTAMP
        Time of the update
        First rows
        shipment_idcustomerlanestatusshipped_onpromised_ondelivered_onweight_kgrevenue_cadupdated_at
        CF-26035Tamarack ToolsVancouver to CalgaryBooked2026-09-012026-09-04412.6344.452026-08-31 15:19:00
        CF-26140Glacier OutfittersCalgary to EdmontonBooked2026-09-012026-09-02642.7375.632026-08-31 15:40:00
        CF-26021Harbourview FoodsToronto to MontrealBooked2026-09-012026-09-031694.61119.542026-08-31 15:45:00
        CF-26003Tamarack ToolsToronto to MontrealBooked2026-09-012026-09-031095.9736.382026-08-31 15:47:00
        CF-26036Glacier OutfittersCalgary to EdmontonBooked2026-09-012026-09-02172.4126.372026-08-31 15:48:00

        shipments170 rows

        The current state of each shipment.

        shipment_idVARCHAR
        Shipment number
        customerVARCHAR
        Customer
        laneVARCHAR
        Origin to destination
        statusVARCHAR
        Delivered, In transit or Cancelled
        shipped_onDATE
        Ship date
        promised_onDATE
        Promised delivery date
        delivered_onDATE
        Delivery date (empty until delivered)
        on_timeBOOLEAN
        Delivered on or before the promised date (empty when not delivered)
        First rows
        shipment_idcustomerlanestatusshipped_onpromised_ondelivered_onon_time
        CF-26001Tamarack ToolsWinnipeg to ReginaDelivered2026-09-132026-09-152026-09-15true
        CF-26002Birchwood HomeWinnipeg to ReginaDelivered2026-09-052026-09-072026-09-07true
        CF-26003Tamarack ToolsToronto to MontrealCancelled2026-09-012026-09-03
        CF-26004Birchwood HomeToronto to MontrealDelivered2026-09-212026-09-232026-09-23true
        CF-26005Harbourview FoodsToronto to MontrealDelivered2026-09-272026-09-292026-09-29true

        Questions

        Why are there two shipment tables?

        shipment_events is the raw feed, one row per status update; shipments is the current state of each shipment. Turning the first into the second is a common data modeling task, and the two give different on-time numbers if you are not careful.

        More datasets

        Free practice datasets

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        New accounts get 12 hours of full access: every course, unit, project and exam. The clock starts when you open your first lesson.

        Plan your practice from a job ad or syllabus

        Have a referral code?

        or

        You can keep practicing without an account.

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.