Excel

Export container tracking data to CSV for seamless Excel and BI tool integration.

Tracking shipping containers manually or through web dashboards can be time-consuming and inflexible. This integration allows you to automate container tracking queries and export the results to a CSV file, which is compatible with:

  • Excel
  • Google Sheets
  • Business Intelligence tools (Power BI, Tableau, etc.)
  • Any data processing pipeline

This makes it easy to analyze, share, and visualize shipping data as part of your logistics workflow.


πŸ“₯ Download

Download the integration package:

πŸ‘

The archive contains:

  • tracking_notebook.ipynb β€” the Jupyter Notebook script
  • shipment.csv β€” a sample input file
  • data.csv β€” a sample output file
  • README.md β€” this documentation
πŸ“

You can run the notebook in Visual Studio Code or launch it online using Jupyter Lab.


πŸ› οΈ What It Does

  • Reads shipment.csv to find the shipments and sealines to be tracked

  • Queries the container tracking API

  • Generates data.csv with all container events:

    • Location
    • Vessel
    • Event description
    • Event code
    • Status

One row per container β€” if your shipment has multiple containers, each will have its own line.


πŸ” Before You Start

Make sure to enter your API key at the top of the notebook:

API_KEY = "your-api-key-here"

Without this, the script won’t be able to access the tracking API.


🧩 Easy to Customize

The notebook is written in Python and fully annotated for clarity. It’s easy to modify for advanced use cases.