African History

Breaking Africa resource curse with data

CLEON SOGBIE

Use Left/Right to seek, Home/End to jump to start or end. Hold shift to jump forward or backward.

0:00 | 40:13

Send us Fan Mail

The provided sources analyze the architectural framework of African raw material exports and the specialized datasets used to track global commodity pricing. Organizations like the World Bank, IMF, and African Development Bank provide granular data that allow economists to monitor trade flows and assess the macroeconomic sensitivity of African nations to price volatility. These records are essential for identifying Revealed Comparative Advantage in sectors like mining and agriculture while addressing the fiscal challenges of commodity dependence. Transparency initiatives such as the EITI further enhance governance by disclosing revenue from extractive industries to ensure greater accountability. Ultimately, the texts emphasize that leveraging standardized trade statistics is vital for the success of the African Continental Free Trade Area and the continent's structural economic transformation.




Support the show

Imagine um watching the price of raw coffee beans drop on a trading screen, right? Like in London or New York. Right. And using that exact data point to predict the price of a loaf of bread in a local market in Ethiopia. Yeah. Like weeks before it even happens. It sounds like, I don't know, some sort of macroeconomic magic trick. It really does. But um it's actually a mathematical certainty. Well, I mean, if you know how to read the underlying code of the global economy, it is. Which is exactly what we're getting into today. Welcome to the deep dive, everyone. It's great to be here. Aaron Powell So today we are looking at this incredibly dense stack of institutional reports, transparency frameworks, um, macroeconomic outlooks, all focused on African merchandise trade. Trevor Burrus, Jr. Right. Because we are so used to visualizing global trade in purely physical terms. Aaron Powell Colossal container ships, right? Trevor Burrus, Jr. Exactly. Massive open-pit copper mines, um, endless rows of agricultural yields. Trevor Burrus, Jr.: Dirt, metal, sweat, and ships. Aaron Powell Yeah, exactly. But the physical movement of heavy things from point A to point B is well, it's just a lagging indicator. Trevor Burrus, Jr.: Trevor Burrus, Jr.: Right. The true architecture of a continent's economic destiny, it isn't made of steel or concrete. It's built entirely out of CSV files, APIs, and you know, these hyperdense databases. Aaron Powell So our mission for you, the listener today, is to uncover how these massive machine readable data sets are essentially being weaponized. And I mean that in a uh a structural sense by economists and planners. Aaron Powell Yeah, because Africa is in the middle of a pivotal structural transformation right now. Especially with the rollout of the African Continental Free Trade Area or the Aussie FTA. Trevor Burrus, Jr. Right. So we really have to completely discard the notion that a spreadsheet is just like a historical ledger. Trevor Burrus, Jr. Yeah, it's not a dusty record of what crossed the border yesterday. In the realm of international trade and sovereign debt, data is the blueprint for the future. Trevor Burrus, Jr. It dictates foreign exchange reserves, right? Trevor Burrus, it does. It determines a nation's borrowing capacity on the global market. It shapes domestic industrial policy. I mean, we are looking at the evolution of data from a simple receipt of transaction into actionable sovereign intelligence. I promise you, by the time we finish this conversation, you will never look at a mundane CSV file the exact same way again. I highly doubt it. So um let's start at the very bedrock of this matrix. If you want to analyze African merchandise trade, the absolute gateway is a system called Wetz. Right. The World Integrated Trade Solution. Wets. And this wasn't just built by some rogue tech startup. No, no, no. It's a massive collaborative architecture. It was developed by the World Bank, working alongside the UN Conference on Trade and Development. UNCTAP. Right, UNCTAD and the World Trade Organization. Trevor Burrus, Jr. Like the absolute heavy hitters of global economic governance. Trevor Burrus, Jr. Exactly. And WITS essentially serves as your portal into UN Com Trade. Aaron Powell, which is the United Nations Commodity Trade Statistics Database. Trevor Burrus, Jr.: Yeah, it's the gold standard. If you are an economist tracking the flow of global wealth, this is basically where you live. WITS allows you to pull down, you know, decades of trade interactions in bulk machine readable formats. Aaron Powell Because I mean, if you're dealing with millions of rows of global trade interactions, a PDF report is completely useless. You need CSV files to feed into predictive statistical models. But to make all these different countries speak the exact same language, the data has to be categorized. Right. And they use something called the harmonized system or the HS nomenclature. Aaron Powell Yeah. And most African trade data is reported at the HS six-digit level, which is incredibly granular. How granular? Like what does a six-digit level actually mean? Aaron Powell Well, it encompasses over 4,500 distinct product codes. Wow. Okay. So think of it like the ultimate hyperspecific global supermarket barcode system, right? Aaron Powell That's a great way to look at it. The barcode doesn't just say, you know, fruit or apple. It says organic honey crisp apple from this specific supplier in this region. Aaron Powell Right. Because at a macroeconomic level, it is economically meaningless for a customs official in, say, Zambia to just label an outgoing shipment as copper. Aaron Powell Right. Why is that meaningless? I mean, copper is copper. Trevor Burrus, Jr.: Well, meaningless because copper could be dirt or it could be high-tech componentry. Oh, I see. Aaron Powell, are we talking about unrefined copper ores, which have very little value added? Or are we talking about blister copper? Or you know, are we talking about highly refined copper cathodes that are immediately ready for industrial manufacturing? Aaron Powell The HS six-digit code forces you to make that distinction. Aaron Powell Exactly. It tracks whether you are exporting raw, unroasted coffee beans, or roasted, decaffeinated, market-ready coffee. Trevor Burrus, Jr. And that distinction is literally everything. I mean, if the UN Comtray data shows your country is only ever exporting the lowest tier unrefined HS code for a mineral, your national planners can see instantly that you are bleeding out on all the refining margins. We're doing all the heavy lifting, the extraction, and someone else is capturing the real wealth. Aaron Powell Man. Okay. And we have to look closely at how that wealth is valued at the border, right? Because the data sets standardize this valuation. Trevor Burrus, Jr. Right. Exports are typically valued at free on board, or FOB, and imports are valued at cost, insurance, and freight, or CIF. Let's unpack those because FOB and CIF are really the two pillars of trade valuation. They are. So if I'm exporting cocoa from Cote d'Ivoire, free on board means the recorded value in the database is just the cost of the goods plus whatever it took to physically load it onto the ship at the local port. That is correct. The valuation stops the second it is on the vessel. It completely excludes the cost of shipping that cocoa across the ocean to like Rotterdam or London. Exactly. Conversely, if that same nation is importing heavy machinery from Germany, the CIF value cost, insurance, and freight. It includes the price of the machine, the ocean freight, and the marine insurance required to get it all the way to the African port. Okay, so standardizing exports as FOB and imports as CIF lets economists compare apples to apples when calculating a country's trade balance. Right. It's about standardizing the data so the math actually works. But knowing this audience, I think we really need to look at the darker side of that FOB valuation. Oh, absolutely. Because it's not just a benign statistical standard, is it? Not at all. Multinational corporations frequently exploit the gap between FOB export values and CIF import values. Like if I'm a massive mining conglomerate operating in a resource-rich nation, I want my FOB export value to look as low as legally possible, right? Aaron Ross Powell, you are touching on a massive vulnerability in the global tax architecture right there. Transfer pricing. Transfer pricing. How does that work? Okay. So a multinational mining company might sell that unrefined copper to its own offshore subsidiary in a tax haven, and they sell it at an artificially depressed FOB price. Ah. So the African nation taxes that low export value and they capture very little revenue. Exactly. Then that offshore subsidiary turns around and sells the copper to the final buyer in Asia or Europe at the true high global market price. Aaron Powell Wow. Capturing all the profit in a jurisdiction with zero taxes while the host nation is just left with a crater in the ground and a fraction of the revenue. Aaron Powell It's a huge issue. So the FOB data in whites isn't just telling us what the copper is worth, it's often highlighting how aggressively a nation's wealth is being optimized away by external actors. Aaron Powell Which is why economists feed this raw UN Com Trade data into these complex diagnostics, right? Right. And one of the most critical diagnostics is calculating a country's revealed comparative advantage, or the RCA. Okay, RCA. If I remember the math correctly, the RCA formula compares your country's export share of a specific commodity against the global export share of that exact same commodity. You got it. So, okay. If my country's total exports are 10% copper, but globally, copper only makes up 1% of all world trade. I divide 10 by 1, and my RCA score for copper is 10. Your math is spot on. So an RCA of one means your reliance on that product perfectly matches the global average. You are not overly exposed. Right. Anything above one indicates you are specializing. And when you run this RCA formula on ITES data for many sub-Saharan African nations, the numbers are just staggering. They are. They aren't finding scores of 1.5 or 2 in raw materials. They are frequently hitting RCA scores of 10 or even 20. Right. A score of 20 feels less like a comparative advantage and more like an economic hostage situation. Aaron Powell It really does. It signifies a profound but precarious specialization. I mean, your economy is hyper-optimized around digging up or growing one very specific thing. Right. So if you have an RCA of 20 in unroasted coffee and the global price of coffee drops, your entire national economy feels the shock wave 20 times harder than the global average. Yeah. Because WLITs in the UN, they track the six-digit barcodes leaving the port. But who actually decides what those commodities are worth? Right. Who puts the price tag on the world? Exactly. And that brings us to the watchful eye of the International Monetary Fund, the IMF. Aaron Ross Powell Because tracking trade volumes through custom systems only give you half the picture. Yeah. The pricing of African raw materials is meticulously monitored through the IMF's primary commodity price system. The PCPS. PCPS, exactly. Trevor Burrus, So the PCPS tracks 68 individual commodities across four major asset classes, right? Energy, agriculture, fertilizers, and metals. Yes. And this data set is deep. It goes back to 1980, reporting in nominal US dollars. This is basically the global benchmark. And it is a highly engineered benchmark. Like the IMF doesn't just average the prices of those 68 commodities and call it a day. No, they use a very rigorous weighting process. They derive each commodity's weight from its relative trade value in total world trade. And they update these weights every five years to reflect shifts in global consumption. So there's a fascinating detail about this five-year update in the sources. Yeah. Recently, the IMF added rapeseed oil to the index and they removed coconut oil based entirely on changing international trade volumes. Right. But I have to push back here for a second. We are talking about billions of dollars in sovereign debt and the structural transformation of an entire continent. Why does a tiny, seemingly bureaucratic tweak like swapping coconut oil for rapeseed oil in a Washington, D.C. database, why does that matter to a finance minister in Nairobi or Abuja? Because that tiny tweak dictates a secondary, highly critical database that the IMF maintains, the commodity terms of trade or the CTOT. The CTOT. Right. The CTOT tracks country-specific indices for 182 economies. It takes the international price changes of those 68 commodities and weights them by each individual country's specific trade structure. Oh, I see. So Nigeria's CTOT index is heavily weighted toward fuel. Yes. Zambia and the Democratic Republic of Congo lean entirely on metals like copper and aluminum. Right. Kenya and Cote d'Ivoire are weighted toward agriculture, and Morocco leans on fertilizers like phosphate rock. Exactly. Now to answer your question about the cooking oil swap. Right. Why does it matter? If the underlying index inaccurately reflects current global demand, like if it's tracking a commodity the world no longer trades heavily, or it's missing one that is booming the CTOT index for a country exporting those goods will be fundamentally flawed. Because the math is based on outdated assumptions. Exactly. It won't reflect the real localized price shocks hitting their specific economy. I see where this is going. Because these price indices drive national fiscal policy, don't they? They absolutely do. The IMF uses this data for their world economic outlook, which is updated twice yearly. And that provides the five-year projections that inform a country's debt sustainability analysis. The DSA. The DSA and their medium-term expenditure frameworks. And the DSA is basically the absolute linchpin of a nation's financial survival. It is. If the global benchmark weight is slightly off, the five-year projection is wrong. So a country might take on billions in infrastructure loans, genuinely believing their projected commodity revenues will cover the debt service. Right. But if the data was flawed from the start, the revenue falls short, the debt sustainability analysis fails, and the country spirals toward sovereign default. Exactly. The data is literally the foundation of the sovereign credit rating. It's terrifying how a slight miscalculation and an index can just cascade into a national default. It's the butterfly effect, but with macroeconomic data. And this deep reliance on single commodities often triggers a much broader macroeconomic trap, right? Something known as the resource curse or the Dutch disease. Yeah, Dutch disease is a really critical concept to understand when analyzing this data. Where does that term even come from? Aaron Powell It originated in the 1970s after the Netherlands discovered massive natural gas reserves in the North Sea. Aaron Powell I always find this dynamic completely counterintuitive. You find a massive deposit of valuable resources and it actually destroys your economy. How does that mechanism actually work? Aaron Powell Right. It sounds backwards, but let's apply it directly to an African context, say Angola with petroleum or Zambia with copper. Okay. So a massive commodity boom occurs, global prices spike. Suddenly, billions of dollars of foreign currency are flooding into the national central bank to buy that specific commodity. Because the whole world wants their copper. Exactly. And because the demand for the country's export is so incredibly high, the value of the local currency appreciates violently. It skyrockets in value compared to other global currencies. Which, I mean, feels like a victory if you're a citizen looking to travel abroad. Or if you want to import luxury goods from Europe, your money goes much further. Aaron Powell Oh, it's fantastic for consumption. It is devastating for production. Well, imagine you have a nascent manufacturing sector, maybe a domestic textile industry trying to export garments, or you know, a a light electronics assembly sector. Right. Because your local currency is now hyperinflated against the dollar, your textiles are suddenly incredibly expensive for the rest of the world to buy. Oh wow. So the global market just looks elsewhere for textiles? Yes. And your manufacturing exports collapse. You are completely hollowed out. The commodity boom artificially inflates the currency, crushing the competitiveness of every single other sector. You deindustrialize before you even fully industrialize. Exactly. And you become even more hyper-reliant on that single raw material. The IMF historical data sets vividly illustrate this Dutch disease dynamic here across several resource-rich African nations over the last few decades. So the IMF dictates the global price, and that price dictates the currency strength and the debt rating. Right. But a global price tag means nothing if the actual cash crossing the border vanishes before it hits the national treasury. Ah, that's how do we track the physical dollars once they leave the international matrix and enter the domestic plumbing? Well, that is where the data architecture has to shift from a record of international transactions into a tool for domestic accountability. Okay. Enter the Extractive Industries Transparency Initiative, the EITI. The EITI. So this is currently active in 28 implementing countries in Africa. Yes. And it is the global standard for the open and accountable management of oil, gas, and mineral resources. But it goes way beyond the UN COM trade volume data we talked about earlier. Beyond. EITI mandates the systematic disclosure of data across the entire extractive value chain, right? Aaron Powell They do. They require public standardized data on the initial licensing of the mines, the actual production volumes pulled from the earth, the specific revenues paid to the government, and violently the beneficial ownership of the companies operating the assets. Aaron Powell Let's pause on beneficial ownership for a second, because that is the ultimate weapon against the transfer pricing and tax evasion we discussed earlier. It absolutely is. Beneficial ownership means cutting through the labyrinth of shell companies in like the Cayman Islands or Mauritius to expose the actual human beings taking the dividends. Right. EI forces the real owners into the light. Trevor Burrus, Jr. And they integrate this transparency with the systems we've already covered, don't they? Aaron Powell Yes. ETI data utilizes the same HS codes and ISO currency standards as the UN and the IMF. Trevor Burrus, Jr. So they all speak the same language. Aaron Ross Powell Exactly. This allows a researcher to seamlessly compare the fiscal tax take from a copper mine in Zambia with a copper mine in the Democratic Republic of the Congo. Wow. It allows citizens to see if their government is negotiating a fair cut compared to their neighbors. Okay. So think of EEIT like following the plumbing of a house. Aaron Ross Powell I like that analogy. Trevor Burrus, Jr. Wits tells us water is flowing out of the tap. Right. The IMF tells us what the water bill should be based on global rates. But the EITI allows citizens to basically inspect every single pipe under the floorboards to ensure there are no leaks into private pockets. And historically, the most massive leaks occur within state-owned enterprises or SOEs. Trevor Burrus Like national oil companies or mining companies. Exactly. The financial flow between a national mining company and the central bank is a notorious area of risk for revenue leakage in many African states. The EITI maintains specific databases to track those internal transfers. The impact of this data transparency is really stark, especially when you look at the Democratic Republic of the Congo. The DRC data is incredible. The EITI numbers for the DRC in 2021 are almost hard to comprehend. Yeah. The extractive sector, copper, cobalt, gold, accounted for 46% of all government revenues. Right. And it accounted for 98.9% of their total exports. Aaron Powell 98.9%. I mean, it is the absolute extreme of an RCA specialization. Trevor Burrus, Jr. Almost 100% of what leaves the country is just rocks. Basically. The vulnerability there is existential. And the data proves exactly how fast that vulnerability can trigger a crisis. It really does. When there was a drop in global cobalt demand, the extractive sector's contribution to the DRC's GDP plummeted from 20.1% in 2018 down to 13.8% in 2021. That's a massive drop. A single minerals price fluctuation erased a huge chunk of the nation's gross domestic product in just three years. The data here isn't just numbers on a page. It is a blaring early warning system. But you know, as rigorous as the EITI standard is, significant blind spots remain in the architecture. Right, because the plumbing inspection is only effective if you know where all the pipes are. Exactly. Which brings us to the fascinating problem of ghost data. Ghost data. And the case study of Zambia. Okay, let's talk about Zambia because Zambia actually scores exceptionally well on formal transparency. They do. They fully meet the EITI objectives for tracking their large-scale, formalized copper and gold exports. And those make up over 70% of the trade. So the big multinational pipes are well monitored. But the blind spot lies in the informal sector. Specifically artisanal and small-scale mining, or ASM. ASM. We are talking about millions of individuals panning for gold in rivers or mining gemstones in decentralized, incredibly dangerous small-scale operations. Aaron Ross Powell Right. And because it is completely informal, it operates entirely outside official customs channels. The gold is just smuggled across borders. Or sold to opaque middlemen who launder its origin. Wow. So it registers as an absolute zero on the UN Com Trade and IMF macro dashboards. It is chronically underreported. Imagine being the finance minister of Zambia. You have this incredible API integrated dashboard telling you exactly what the massive copper conglomerates are doing down to the decimal point. Right. But you have a multi-million dollar gold trade happening right under your nose, employing hundreds of thousands of your citizens, and it is entirely invisible to your macroeconomic models. You can't project a tax base on ghost data. You literally can't. And while minerals generate the massive headline-grabbing export revenues, the extractive sector actually employs a relatively small percentage of the formal workforce. Right. Compared to the whole population. Exactly. The sector that employs the vast majority of the continent's population presents a completely different set of data challenges. Because it's driven by weather, daily price volatility, and just intense logistical hurdles. Agriculture. Right. The Food and Agriculture Organization of the United Nations. FastAt provides free access to food and agriculture data for over 245 countries and territories. And the records are continuous, stretching all the way back to 1961. It's a massive database. It tracks everything from cotton lint in Burkina Faso to natural rubber in Liberia, and it goes beyond export volumes, right? Oh, yeah. It tracks farm level production quantities, producer prices, and granular bilateral trade flows. And the pricing volatility in agriculture is just brutal. It really is. Like, look at the International Cocoa Organization, the ICCO. Recently, daily cocoa prices surged past $5,000 per metric ton. Yeah, that has an immediate massive impact on primary producers like Côte d'Ivoire and Ghana. And the International Coffee Organization, the ICO, tracks a similarly volatile composite index. But what economists are doing with this agricultural data goes far beyond historical charting. Right. They are utilizing data sets with over 12,500 rows of daily coffee values to build predictive models. Okay, this brings us back to the hook I mentioned at the very beginning of the show. The coffee predicting inflation mechanism. Yes. Using a daily fluctuation in the price of a coffee bean in London to predict inflation and exchange rate movements in Ethiopia or Uganda. It's fascinating. Let's trace the exact causality of that mechanism because it perfectly illustrates how interconnected this data matrix really is. The causality is beautifully logical. Let's start with Ethiopia. In Ethiopia, coffee exports are a primary engine for foreign exchange earnings. US dollars. Exactly. US dollars. The central bank absolutely relies on those dollars to maintain its foreign exchange reserves. Because Ethiopia, like many nations, has to import its essential survival goods, right? Right. Refined fuel, pharmaceuticals, heavy machinery, manufactured foods. And the global market demands payment for those imports in US dollars. Exactly. So let's say the global price of coffee drops significantly on a Tuesday in London. Okay. Ethiopia suddenly receives far fewer dollars for the exact same physical volume of coffee exported. They ship the same amount of coffee but got less money. Right. So their central bank's foreign exchange reserves shrink. Dollars become scarce within the domestic banking system. And when a currency becomes scarce, its value rises relative to the local currency. Oh, I can see the Ethiopian bird depreciates against the dollar. It suddenly takes much more local currency to buy a single US dollar to pay for those essential imports. So the cost of importing refined fuel skyrockets in local terms. Exactly. Fuel gets more expensive, which means the trucks transporting flour from the port to the capital have to charge more. Which means the bakery's overhead goes up, and suddenly the price of a loaf of bread and Addia Zababa spikes. That imported inflation bleeds directly into the domestic economy. And by feeding those 12,500 rows of daily coffee prices into an algorithm, economists can measure the exact lag time. So they know precisely how many weeks it takes for a price drop on a London trading screen to transmit through the central bank's depleted reserves and manifest as food inflation in a local African market. Exactly. The FastAt API developer portal has actually made this data accessible, allowing developers to build custom applications or digital tools for farmers. But there is a tragic limitation here, isn't there? There is. The World Bank has identified a severe innovation capacity gap. The RD gap. Right. The African Union set a clear benchmark. Nations should be spending at least 1% of their GDP on research and development. To build the intellectual infrastructure required for structural transformation. But the data shows sub-Saharan African countries are typically spending only Bureau.1% to 0.4% of their GDP on RD. Wow. So they have access to this incredible globally generated data through APIs, but they lack the domestic funding to build the algorithms and the tech infrastructure needed to actually utilize it. Man. And this heavy reliance on external global markets selling raw coffee to Europe or raw copper to Asia and importing the finished goods back at a premium. Yeah. That brings us to the central paradox of African trade data. Why export raw to Europe instead of trading locally? Aaron Powell The Intra-African paradox. This is the defining challenge of the AFC FTA. The continental free trade area. Right. The entire success of the FCFTA relies on boosting intra-African trade. But when you look at the data sets from the regional economic communities, the numbers are pretty bleak. Let's look at the East African community, the EAC. Intra regional trade there represents only 15 to 20 percent of their total trade volumes. 60 to 70 percent in the EU versus 15 to 20 percent in the EAC. That is geographically absurd. It really is. I mean, it is often cheaper and easier for a West African nation to load crude oil onto a massive tanker, sail it thousands of miles across the ocean to China, and buy back refined plastics than it is to sell that oil to the country right next door. And the data proves exactly why. It is a staggering infrastructure gap. The roads. The regional network simply cannot support the trade. Paved roads account for only 36% of the regional network. Wow. Thirty-six percent. Because of this, transportation costs across the continent can be triple those found in developed regions. Trevor Burrus, Jr. Triple the cost just to move a truck across a land border. Aaron Powell Exactly. And the Observatory of Economic Complexity, the OEC, provides 2024 data that starkly illustrates the result. Let me guess, most of the exports are leaving the continent entirely. So they are barely trading with their neighbors. Primarily exporting to China and the EU. And they are exporting the exact same primary commodities, right? Crude petroleum and gold for ECOS, refined copper and gold for the EAC. Right. But the regional blocks are fighting back. They are building their own data architectures to monitor and stimulate this intra-regional flow. We see the SADC statistics database in the south and the ECOS trade information system, known as ECODIS, in the West. ECODIS provides dashboards specifically designed to highlight intra-regional trade. But the most brilliant innovation I've found in this entire stack of research is a sub-platform of ECOS called the EcoICBT. Ah, yes. The ECOIS Informal Cross Border Trade Platform. This is a direct localized solution to the ghost data problem we discussed with Zambian mining earlier. Exactly. Because official customs data only captures the formal economy. It misses the reality on the ground. It misses the woman crossing a porous border on foot with a basket of yams. Right. It misses the small trader moving 10 bags of maize on a motorbike. But thousands of those small, unrecorded movements every single day, they add up to millions of tons of food. So how do you track it? The EcoICBT doesn't rely on digital custom skates, do they? No, they literally deploy enumerators, physical data collectors, with clipboards to border markets and crossing points. That is amazing. These enumerators visually track and record the informal movement of 178 specific agricultural and food products. So by doing this, EcoWus is completely bypassing the blind spots of formal UN Com Trade data. Right. They are mapping the actual living food security network of the region. Because, think about it, if a drought hits and you only look at official UN statistics, you might conclude a region is starting and has absolutely no food coming in. Exactly. But the EcoICBT enumerator data might show a massive informal flow of grain adapting on the ground to feed the local population. It proves that when official global data conflicts with reality, African institutions must take sovereign control over their own statistics. Which leads us to a recurring nightmare for any macroeconomic researcher. Yeah. Conflicting data source. Oh, it is a massive headache. If you pull trade data from UN Comtrade in New York, it may differ significantly from the exact same trade figures provided by a country's National Statistical Office or NSO. It happens all the time. I always struggle with this. It's the same physical border, it's the same truck passing through customs. How can the UN and the national government look at the exact same event and publish completely different CSV files? Well, it comes down to reporting lags and estimation methodologies. Okay, walk me through that. First consider the chronology. An NSO might update their internal database daily, but they only transmit an aggregated data dump to the UN annually. Right. So by the time the UN publishes that data, the NSO has already revised its own historical figures based on late customs receipts or audits. They're perpetually out of sync. That makes sense. But what if a country just doesn't report its data to the UN for a specific quarter? Does the UN just leave the spreadsheet blank? No, the UN Compt System hates blanks. But what do they do? If a country fails to report, the UN uses estimation methodologies. Specifically something called mirror statistics. Mirror statistics. How does that work? They look at the import data of the partner countries. So if an African nation didn't report its exports, the UN looks at what China officially claims it imported from that African nation. Oh, I see. And they use that Chinese import number to backcalculate and estimate what the African country must have exported. I can see how that gets incredibly messy, especially when you factor in transit hubs or the fact that the African country values the export FOB, but China values the import at CIF. The mere is completely disorder. Exactly. Mir statistics are notoriously unreliable. So to solve this massive discrepancy and reclaim data sovereignty, the African Union Commission established Statafic. Statafrict, which is the African Union Institute for Statistics based in Tunis. Right. Statafric's mission is bold. Stop relying on external organizations to estimate Africa's economic reality. They are tasked with collecting, harmonizing, and aggregating data directly from the 55 member states. And they are using a framework called Shasa II. The strategy for the harmonization of statistics in Africa. Right. The goal is to make the Statafrick data portal the single indisputable source of truth for the entire continent. And technically, they are achieving this harmonization through a standard called SDMX. SDMX. Statistical data and metadata exchange. How does SDMX actually solve the problem of 55 different countries having 55 completely different ways of formatting a spreadsheet? Think of SDMX like a universal electrical adapter. Okay. If Senegal tries to plug their uniquely formatted national database directly into a continental database in Tunis, it causes a digital short circuit. Because the columns don't match, the date formats are wrong, the currency symbols clash. Exactly. Yeah. SDMX is the adapter. It forces every single data point, whether it's an HS code, a date, or a volume metric, into a universal machine readable shape before it ever leaves the country. Oh wow. It maps data automatically without human error. It basically ensures everyone is filling out the exact same form. Yes. And this harmonization isn't just about administrative neatness, it is an urgent financial imperative. Right. Because the African Development Bank, the AFDB, which champions data transparency through its Africa Information Highway, they have quantified a terrifying financial hurdle. The financing gap. The financing gap. The AFDB identifies an annual financing gap of approximately $402 billion USD required for strategic investments in energy, education, and infrastructure to achieve the AU's agenda 2063. $402 billion a year. You simply cannot attract $402 billion in private or strategic investment if your national statistics conflict with UN estimates. Right. If they can't trust your data to project your tax revenues and prove your debt sustainability, they just take their capital elsewhere. Exactly. You need that harmonize SDMX standard data to prove your viability. And the AFDB is actively providing the tools to help bridge this gap, right? They are. And they are pushing structural solutions, like expanding digital tax capacity to capture the informal sector and building special agroindustrial processing zones or SAPZ to mobilize domestic resources. But to truly grasp the gravity of this data revolution and where this structural transformation is heading, we have to pull back and look at the deep historical context. Because Africa has been trapped in this cycle of raw material export for a very, very long time. We've spent this whole hour talking about APIs and CSV files, which feel very modern. But there is an extraordinary resource for economic historians called the African Commodity Trade Database, the ACTD. The ACTD is just mind-blowing. Funded by Wagoning University, it covers export and import series at the product level for over two and a half centuries of African trade. It is massive. From 1737 all the way to 2010. It allows researchers to trace the long-term structural evolution of Africa's role in the global economy. Reading the trajectory of the ACTD is profound and frankly sobering. It tracks the horrific era of the transatlantic slave trade. Then it tracks the 19th century shift to what colonial powers termed legitimate commerce, the mass extraction and export of palm oil and natural rubber to lubricate and feed the European Industrial Revolution. Then it tracks the mineral booms of the late 19th and 20th centuries, and finally the modern era of petroleum dominance. It perfectly contextualizes the RCA scores. You remember those revealed comparative advantage numbers of 10 or 20 that we discussed in the very beginning? Right. The intense specialization. Wow. The continent has continuously pivoted its raw material output to feed whatever the latest global era demanded without ever being allowed to capture the industrial value chain itself. And the proof that this trap is still active today is hidden right there in the current macro outlook for 2024 and 2025. Yes, it is. Real GDP growth for the continent is projected to pick up slightly, right? To 3.7% in 2024 and 4.3% in 2025. Aaron Powell, but the debt crisis is a massive anchor. The median public debt ratio remains staggeringly high at approximately 63.5%. 63.5%. And rising interest payments are crowding out the exact strategic investments like the RD, the infrastructure that are needed to actually break the cycle. But the most vital data point in the entire macro outlook is the divergence in growth rates between different types of African economies. Aaron Powell The divergence is stark. And it completely validates everything we discussed earlier about Dutch disease. Right. The data shows that non-resource intensive economies, countries that do not rely on massive exports of a single commodity, are projected to grow at a robust 5.3% to 5.6%. Exactly. While the resource-dependent nations, the ones sitting on billions of dollars of oil, copper, or gold, are growing slower, remaining entirely at the mercy of the commodities supercycle. The countries without the massive mineral wealth are literally forced to diversify, to industrialize. And as a result, they're actually growing faster than the ones seemingly blessed with abundant resources. So as we look to the future, the global economy is shifting paradigms once again. The green energy transition. The world is demanding massive quantities of critical minerals for the global green energy transition. Lithium, cobalt, rare earth metals for electric vehicle batteries, and solar panels. The ultimate question this data poses is this. Right. Or will African governments use the actionable intelligence provided by Citafric and the AFDB to implement ecosystem-based industrial policies. Capturing the value chain. Right. Using the data to break the 270-year cycle by refusing to just export raw lithium, but insisting on refining it, building the battery cells domestically, and exporting the finished technology. What a massive journey we've taken today. We started at the granular six-digit HS codes of WITS and unpacked how multinational transfer pricing exploits the gap between FOB and CIF valuations. Right. We looked at the IMF benchmark weights and how a flawed index can crash a nation's bond rating. We crawled through the EITI plumbing to expose beneficial ownership, traced the invisible borders of the EcoS informal food trade, and looked at the African Union's fight for statistical independence through SDMX standards. It's a lot of data. But if there is an overarching synthesis to draw from this massive stack of sources, it is that we are witnessing the final frontier in Africa's economic development. It really is. It is the critical transition from treating data as a mere record of transactions, a historical ledger of what was taken to utilizing data as actionable intelligence and the primary driver of sovereign reform. Thank you so much for joining us on this deep dive. We want to leave you with a final thought to mull over. The next time you hear about a global price shock, whether it's the cost of your morning coffee, a spike in copper, or inflation hitting your local grocery store, don't just think about what it costs at the register. Think about the massive hidden architecture of CSV files, APIs, and customs codes working relentlessly behind the scenes to price the world. If data truly is the new oil, then the ultimate power doesn't belong to the one who digs it out of the ground. The power belongs to the one who structures the spreadsheet. Who do you think is writing the formulas for the future?