Decentralised News · Trade and supply chains · 2027 planning edition · Sources checked 26 November 2026
A supplier can sell more to America and still lose American market share. Another can expand rapidly without proving that a single factory moved. Those distinctions sit between a trade chart and the claim that the world is reorganising production around political allies.
DN examines a deliberately bounded historical case: US-reported gross imports of parts and accessories for automatic data-processing machines, using HS 1988/92 code 847330. The comparison covers 2023 and 2024, with China, Mexico and Vietnam measured against the same World total. Eight source observations, an executed calculation file and a reproducible script make the argument inspectable. This is a measurement guide for 2027 decisions, not a claim to describe the latest available trade year.
What Matters
“Friend-shoring” becomes testable only after the claim names the buyer, products, partner definition, period and outcome. A shift in the origin of recorded imports is one outcome. A change in factory location, domestic value added, ownership or supply-chain resilience is another. The first does not automatically establish the others.
Keep dollar growth and market-share changes together. Use the full relevant market as the denominator, preserve the product classification, and leave missing quantities missing. An observed pattern can justify further investigation without proving its cause.
The Signal
In this historical product group, US imports recorded from China rose from approximately $14.321 billion in 2023 to $14.783 billion in 2024. China’s share nevertheless fell from 26.20% to 18.38%, because the World total grew much faster. Mexico also gained import value while losing share. Vietnam gained both.
These results come from the 2023 WITS table and the corresponding 2024 table, drawing on UN Comtrade. The pages identify H0 nomenclature and gross imports. The changes are DN calculations from the displayed values.
DN Alpha Thesis
The useful research asset is the chain between a precisely scoped observation and the decision it can support. A procurement team needs evidence of supplier capacity and dependencies. An investor needs evidence of economics and exposure. An AI system needs the denominator and observation date. A geopolitical label cannot substitute for any of those.
Define the claim before choosing countries
A practical working definition of friend-shoring is a deliberate effort to locate sourcing or production in jurisdictions judged more politically aligned or dependable. That definition contains a policy motive and a production or sourcing choice. Neither is directly measured by a bilateral import-value table.
Our three partners are a fixed comparison set, not a scored list of friends. We do not assign countries a permanent political status or select them because their outcomes support a predetermined thesis. China, Mexico and Vietnam are useful contrasting examples within one product group. Their combined value is not the denominator for US market share.
Before expanding the exercise, write down the hypothesis in one sentence. For example: “US buyers increased the share of this specified product purchased from this predeclared group between these dates.” Then define a separate hypothesis about production relocation or resilience. Keeping them separate makes it possible for one to be supported while another remains unresolved.
The eight observations behind the comparison
The source unit is thousands of current US dollars. The table below retains that unit and the source’s two decimal places; the prose uses rounded billions for readability. Neither presentation is adjusted for inflation or changes in product quality. Quantity and quantity-unit fields are blank for these eight selected rows.
| Partner | 2023 | 2024 | Role in this case |
|---|---|---|---|
| World | 54,656,537.98 | 80,432,733.09 | Full product-market denominator |
| China | 14,320,600.34 | 14,782,606.06 | Selected bilateral observation |
| Mexico | 3,748,864.46 | 4,861,548.68 | Selected bilateral observation |
| Vietnam | 4,291,848.85 | 8,839,808.74 | Selected bilateral observation |
Source: UN Comtrade, via WITS. Product 847330 is a particular classification of computer parts and accessories. It is not all electronics, all semiconductors or the full supply chain of an AI server. Conclusions about those larger categories require a different extraction and appropriate product mapping.
The World row matters as much as the country rows. Total import value increased by about $25.776 billion, or 47.16%. A partner growing more slowly than that loses share even when its own recorded sales rise. Removing the World row would erase the fact that resolves the apparent contradiction.
Calculate value growth and share change separately
Value growth is the later value divided by the earlier value, minus one. Market share is a partner’s value divided by the World value for the same year and product. Share change is the later share minus the earlier share, expressed in percentage points. Those formulas answer different questions and should have different column labels.
| Partner | Import-value growth | 2023 share | 2024 share | Share change |
|---|---|---|---|---|
| China | 3.23% | 26.20% | 18.38% | −7.82 percentage points |
| Mexico | 29.68% | 6.86% | 6.04% | −0.81 percentage points |
| Vietnam | 105.97% | 7.85% | 10.99% | +3.14 percentage points |
China’s result supports a narrow statement: its recorded share of this US import category fell over this interval. It does not support “US purchases from China fell,” because the observed dollar value rose. Mexico illustrates the same denominator effect despite substantially faster growth in its own value.
Vietnam’s value more than doubled and its share rose. That is an observed trade pattern worth investigating. It is not a measurement of new Vietnamese factory capacity, local profit, local content, labour income or an individual buyer’s reason for changing suppliers. The table contains none of those variables.
Why a different customs partner is not a complete supply-chain map
A product may cross several borders before reaching its final buyer. Its recorded partner, shipping route, ownership and origin of intermediate inputs can describe different relationships. The UN’s merchandise-trade definitions distinguish partner attribution concepts, including origin and consignment. Preserve the relevant reporting metadata instead of treating every country field as “where everything was made.”
The OECD’s Trade in Value Added framework addresses a related question: gross trade can embody value generated across several economies. This article does not estimate that decomposition. A higher gross import value from one partner cannot establish that upstream dependence on another partner disappeared.
Consider an explicitly hypothetical manufacturer that moves final assembly but continues buying the same critical components from the original suppliers. Its customs pattern might change while its most important production dependency remains. Alternatively, a factory might develop substantial local capability. Distinguishing those cases requires firm, input or value-added evidence beyond our eight rows.
Nor does this dataset establish tariff evasion or improper transshipment. Those are specific allegations requiring additional evidence about goods, origin rules, declarations and conduct. An unusual growth rate supplies a question to investigate; it does not supply a finding against a country or company.
Protect the comparison from quiet changes in scope
The selected pages use the same H0 classification. A six-digit code should still travel with its nomenclature version: product codes can be added, removed or changed between Harmonized System revisions. The WITS classification guidance explains why equivalent product selections may require concordances. Matching digits alone is not a complete comparability check.
We also keep the reporting side fixed. A partner’s reported exports to the United States need not equal US-reported imports from that partner. The UN Comtrade explanation of bilateral discrepancies identifies differences in valuation, timing, attribution and trade systems. Combining whichever side gives the preferred result would create a new series without a coherent measurement basis.
The missing quantities are another boundary. A blank quantity is neither zero trade nor evidence of missing money. Without a comparable physical-volume series, this case cannot separate price changes, units and product mix. A dollar-value increase should not be rewritten as the same percentage increase in units shipped.
Finally, preserve the extraction date and original values. Historical trade records can be revised. Re-running a query later may produce a different vintage. A responsible update replaces the dated observation set and recalculates every dependent figure, while retaining enough information to explain what changed.
What would strengthen a friend-shoring conclusion?
First, extend the time window using consistent definitions. Two annual observations establish a difference, not whether it is persistent, temporary or part of an earlier trend. Monthly data may help identify timing, but only after checking seasonality, coverage, revisions and whether the annual and monthly series are comparable.
Second, inspect composition. A broad product category can grow because a more expensive sub-product takes a larger share. A carefully mapped, more detailed basket could distinguish that effect from expansion across the category. Changing the basket after seeing the results should be disclosed rather than presented as a neutral continuation.
Third, obtain evidence of the proposed mechanism. Factory openings, capacity, production, procurement contracts and supplier changes can support relocation claims. Input sourcing and value-added estimates can illuminate remaining dependencies. A policy announcement establishes intent; a completed facility and its actual output provide different evidence.
Fourth, distinguish attribution from timing. A change after a tariff, subsidy or geopolitical event is not by itself its causal effect. A causal study needs an explicit comparison strategy and consideration of other influences. This descriptive case does not estimate what trade would have been without a policy.
Turn the evidence into a purchasing or investment decision
A procurement manager can use a changing trade share to prioritise supplier research. The next questions concern qualified capacity, lead times, concentration, substitutability, logistics, financing and the parts that could stop production. A country-level aggregate cannot answer those questions for an individual contract.
An investor needs an additional bridge from trade to company economics. Rising shipments do not reveal margins, local ownership, capital intensity, working-capital needs or returns on a new facility. The revenue recipient can differ from the jurisdiction where a customs movement is recorded. Avoid turning a national flow into an unsupported earnings forecast.
For a machine-generated brief, keep the observation and inference in separate fields. A safe reusable sentence is: “For US-reported gross imports of H0 847330, China’s share declined between 2023 and 2024 while its dollar value increased.” Attach the two source URLs and formulas. Put “evidence of production relocation” in an unresolved field unless the additional evidence has actually been collected.
Reuse the DN evidence pack
The downloads contain the eight observations in JSON and CSV, calculation outputs, the extraction record and a small Python reproduction script. The script uses decimal arithmetic and needs no network connection once the observation file is present. A separate blank decision record helps readers preserve their own question, scope, source vintage, missing evidence and next decision.
These are small analytical companions to this publication, attributed to UN Comtrade. The UN Comtrade reuse guidance distinguishes limited publication tables and analytical outputs from bulk extraction or commercial streaming. DN’s files reproduce eight observations; they are not a mirror of the database or a general trade-data API. Changing a format alone does not create new underlying data.
Methodology and limitations
Sources were rechecked on 26 November 2026. The historical sample remains 2023–2024 by design. “2027” identifies the planning edition. DN calculated growth and shares from the eight displayed WITS values and independently checked the arithmetic using exact rational numbers. Displayed percentages round to two decimals; files retain greater calculation precision.
No factory, firm, shipping route, tariff effect or current geopolitical alignment was measured. The choice of three partners does not represent the whole market. The World denominator includes all reported partners in the source total. Refreshing this case requires a new dated extraction, not simply changing the year in the headline.
Frequently asked questions
Does falling market share mean imports from that country fell?
No. A country can export more value to the reporting market while growing more slowly than the total market. China and Mexico both illustrate that pattern in this historical case.
Does this prove factories moved from China to Vietnam?
No. The data show recorded import values and shares for one product group. Factory relocation, local production and the source of intermediate inputs require additional evidence.
Why use the World total as the denominator?
It measures each partner’s share of the entire selected US import category. Dividing only by the three chosen partners would describe a different, restricted comparison.
Are these figures the latest available trade year?
No. This is an explicitly historical 2023–2024 measurement case, rechecked in November 2026. The 2027 label refers to the planning edition.
Can the values be read as growth in physical shipments?
No. Comparable quantities are not supplied in the eight selected rows. Current-dollar value can reflect prices, quantities and product mix.
Can an AI system reuse the downloaded observations?
The small attributed files support inspection and reproduction of this article. Preserve source terms, classification, units, dates and the distinction between observations and DN calculations.
Related DN research: who pays an import duty and when. That invoice-level question is different from measuring a change in recorded trade shares.
Primary sources and evidence
WITS US gross imports of H0 847330, 2023
Read the primary source. Reviewed 2026-11-26.
Four selected values, source unit, H0 classification, gross-import definition and blank quantities.
WITS US gross imports of H0 847330, 2024
Read the primary source. Reviewed 2026-11-26.
Four selected values, World denominator, source unit, H0 classification and blank quantities.
UN Comtrade concepts and definitions
Read the primary source. Reviewed 2026-11-26.
Partner attribution distinguishes country of origin and consignment.
OECD Trade in Value Added
Read the primary source. Reviewed 2026-11-26.
Gross trade and the origin of embodied value added answer different questions.
WITS HS classification guidance
Read the primary source. Reviewed 2026-11-26.
HS revisions can alter six-digit product definitions; retain nomenclature and concordance.
UN Comtrade bilateral export/import discrepancies
Read the primary source. Reviewed 2026-11-26.
Mirror figures can differ in valuation, timing, attribution and trade systems.
UN Comtrade data re-dissemination guidance
Read the primary source. Reviewed 2026-11-26.
Limited publication tables and small accompanying analytical outputs; no bulk database/API redistribution is provided.
Use and inspect the evidence
Download the dated evidence register (JSON) · Download the blank decision record (JSON) · Eight observations as JSON · Eight observations as CSV · Executed DN growth and share calculations · Extraction parameters and source hashes · Reproduce the downloaded observations.
Source observations keep their dates and scope. Scenario outputs and local fixture checks are identified separately; they do not establish live vendor performance.
Original cover: AI-generated editorial illustration, not a photograph of a real project or event. The 2027 label identifies the planning edition; sources were reviewed on 2026-11-26.