| # | year | period_start | flow | product | measure | level | status | value | unit |
|---|---|---|---|---|---|---|---|---|---|
| loading... | |||||||||
| COLUMN | TYPE | DESCRIPTION | UNIT |
|---|---|---|---|
| year | int64 | Calendar year | - |
| period_start | date | 1 January of the year | - |
| flow | string | Imports, Domestic exports, Re-exports, Total exports, or Net balance. The first three are the sections KNBS prints; the last two are the rows it closes the table with. | - |
| product | string | Petroleum Fuels, Lubricating Oils, Lubricating Greases, or Total. Names are KNBS's own; the footnote digit it prints after "Petroleum Fuels" is removed, and only because the table prints a footnote of that number. | - |
| measure | string | quantity or value, the two bands the table prints side by side | - |
| level | string | component for one product inside a flow, flow total for that flow's own printed TOTAL, or derived for Total exports and Net balance. Filter on this before summing, or the same figures are counted three times. | - |
| status | string | final or provisional | - |
| value | float64 | Thousand tonnes where measure is quantity, KSh million where it is value. Absent where KNBS prints no figure, which is every quantity of Net balance and every product breakdown of Total exports. | - |
| unit | string | thousand_tonnes or ksh_million, following measure | - |
import imibare as imi
df = imi.load("ke.knbs.petroleum-trade.annual")
print(df.head()) import duckdb
duckdb.sql("""
ATTACH 'https://catalog.cloudflarestorage.com/imibare-data'
AS imi (TYPE ICEBERG, READ_ONLY)
""")
duckdb.sql("SELECT * FROM imi.ke_knbs_petroleum-trade_annual LIMIT 10").show() curl -L "https://api.imibare.org/v1/data/ke.knbs.petroleum-trade.annual/download" \
-o "ke.knbs.petroleum-trade.annual.parquet" # List all datasets
curl "https://api.imibare.org/v1/datasets"
# Get metadata for this dataset
curl "https://api.imibare.org/v1/datasets/ke.knbs.petroleum-trade.annual" Every version is a change in the data, and every one is retained; snapshots are never overwritten. Each entry is a dated Parquet snapshot in the dataset's versions/ archive.
- 2026-08-18 Aug 18, 2026 LATEST189 rows · 6.9 KB · initial version
imibare contributors. (2026). Petroleum Trade by Flow and Product [Data set]. imibare. v2026-08-18. https://imibare.org/datasets/ke.knbs.petroleum-trade.annual
@dataset{imibare_ke_knbs_petroleum-trade_annual, author = {imibare contributors}, title = {Petroleum Trade by Flow and Product}, year = {2026}, publisher = {imibare}, version = {v2026-08-18}, url = {https://imibare.org/datasets/ke.knbs.petroleum-trade.annual} }
imibare contributors. Petroleum Trade by Flow and Product. v2026-08-18. imibare, 2026. https://imibare.org/datasets/ke.knbs.petroleum-trade.annual.
imibare contributors. Petroleum Trade by Flow and Product. v2026-08-18, imibare, 2026, https://imibare.org/datasets/ke.knbs.petroleum-trade.annual.