imibare

The statistics East African governments publish, gathered into one register and kept exactly as they were published.

IMIBARE · DOCS · REFERENCE

Dataset IDs

Understand imibare dataset IDs, their country, institution, topic, and frequency segments, and why published IDs stay fixed.

Use a dataset ID whenever you load data, call the API, or build a download URL. We keep the ID short enough to type and stable enough to cite, so it carries 4 pieces of identity in one string.

Read an ID

Every published dataset uses 4 lowercase segments separated by dots. The country comes first so a new country can join the catalog without changing an existing ID.

{country_iso2}.{institution_slug}.{topic}.{frequency}
SegmentExampleMeaning
country_iso2rw, keISO 3166-1 alpha-2 country code
institution_slugnisr, knbsInstitution that published the data
topiccpi, fx, fiscal-operationsWhat this particular dataset measures; hyphens are allowed
frequencymonthly, daily, annualHow often the source publishes the series

For example, rw.nisr.cpi.monthly is Rwanda, published by NISR, about the Consumer Price Index, and published monthly.

Find an ID

The catalog is the complete current list. You can also call imi.catalog() from Python or request GET /v1/datasets from the API.

IDInstitutionDatasetFrequency
rw.nisr.cpi.monthlyNISRConsumer Price IndexMonthly
rw.bnr.fx.dailyBNROfficial exchange ratesDaily
rw.minecofin.fiscal-operations.annualMINECOFINGeneral government fiscal operationsAnnual
rw.rssb.contributions.annualRSSBContributions by schemeAnnual
ke.knbs.cpi.monthlyKNBSConsumer Price IndexMonthly
ke.cbk.inflation.monthlyCBKInflation ratesMonthly

Country codes

We use lowercase ISO 3166-1 alpha-2 codes inside IDs. A country added later receives its own code, and the IDs already in the catalog do not change.

CodeCountry
rwRwanda
keKenya

Institution slugs

The institution segment identifies the publisher. It is not an informal abbreviation, so use the slug from this table rather than inventing one.

Rwanda

SlugInstitution
nisrNational Institute of Statistics of Rwanda
bnrNational Bank of Rwanda
minecofinMinistry of Finance and Economic Planning
rssbRwanda Social Security Board
rraRwanda Revenue Authority
ruraRwanda Utilities Regulatory Authority
rdbRwanda Development Board
naebNational Agricultural Export Development Board

Kenya

SlugInstitution
knbsKenya National Bureau of Statistics
cbkCentral Bank of Kenya

Topic and frequency

The topic segment is a dataset-specific slug. There is no closed topic list because a new dataset often needs a new name; cpi, fx, and wage-employment-by-industry are all valid examples.

Do not confuse this segment with the metadata topic that imi.catalog(topic=...) and GET /v1/datasets?topic= filter. For example, rw.nisr.cpi.monthly has cpi in its ID but uses the metadata topic prices.

FrequencyMeaning
dailyEach trading or calendar day
monthlyEach calendar month
quarterlyEach fiscal or calendar quarter
annualEach calendar or fiscal year
irregularNo fixed cycle, as with surveys and censuses

Keep IDs permanent

Once an ID is published, we do not rename or remove it. A reader who cited a dataset needs the same ID to keep resolving, even after a source changes its layout or stops publishing new rows.

SituationWhat we doWhy
Dataset becomes staleKeep the ID and label its pipeline stalePast data and its provenance remain useful
Incompatible schema changePublish a new ID with a suffix, such as rw.nisr.cpi.monthly.v2Old code and citations keep their meaning
Add another countryAdd that country’s prefix to new IDsExisting IDs stay unchanged
Missing country prefixReject nisr.cpi.monthlyThe country is required for a multi-country catalog

Turn an ID into a URL or table name

The API uses the ID unchanged in the download path. Iceberg table names replace dots with underscores, while hyphens remain and need SQL quoting.

rw.nisr.cpi.monthly
https://api.imibare.org/v1/data/rw.nisr.cpi.monthly/download

rw.minecofin.fiscal-operations.annual
"rw_minecofin_fiscal-operations_annual"