<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yoana Popova</title>
    <description>The latest articles on DEV Community by Yoana Popova (@popovayoana).</description>
    <link>https://dev.to/popovayoana</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1094330%2F8c7aa447-0c3d-42e1-940d-9ac58e33c45a.jpeg</url>
      <title>DEV Community: Yoana Popova</title>
      <link>https://dev.to/popovayoana</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/popovayoana"/>
    <language>en</language>
    <item>
      <title>Postal codes are the easy part: reference data lessons from 249 countries</title>
      <dc:creator>Yoana Popova</dc:creator>
      <pubDate>Thu, 19 Nov 2026 17:30:22 +0000</pubDate>
      <link>https://dev.to/datopian/postal-codes-are-the-easy-part-what-global-companies-actually-need-from-reference-data-47aa</link>
      <guid>https://dev.to/datopian/postal-codes-are-the-easy-part-what-global-companies-actually-need-from-reference-data-47aa</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: The author works at Datopian, the team behind &lt;a href="https://datahub.io" rel="noopener noreferrer"&gt;DataHub&lt;/a&gt;. This post is based on our own work building postal-code and region reference data — no sponsors, no affiliate links. Originally published on the &lt;a href="https://datahub.io/blog/postal-codes-are-the-easy-part" rel="noopener noreferrer"&gt;DataHub blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you have ever joined two datasets on "region" and got zero matches, or shipped an address form that only spoke one language, this post is for you.&lt;/p&gt;

&lt;p&gt;Checkout validation, parcel routing, delivery pricing, customer-record checks and regional reporting all start with the same request: "we need a worldwide postal-code database". We get that request a lot, and when we work through it with the team asking, the problem moves away from postal codes fast. The same four needs come up again and again:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Coverage:&lt;/strong&gt; postal codes for every country, or at least for every country they ship to.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clear codes for regions:&lt;/strong&gt; knowing whether a region code is an ISO code, a national official code, or someone's own identifier.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Regions as data in their own right:&lt;/strong&gt; a list of provinces, counties and districts, not just the ones that happen to appear next to a postal code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Names in more than one language:&lt;/strong&gt; local names, English, and the official languages of multilingual countries.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;On top of that, almost every company has a few fields of its own. This post goes through each need with data and code, and shows why "postal codes" is the easy part of reference data.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not every country has postal codes
&lt;/h2&gt;

&lt;p&gt;Start with coverage, because the answer surprises people. ISO 3166-1 lists 249 countries and territories. We publish postal codes for 131 of them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwsrv.nl%2F%3Furl%3Dr2.datahub.io%2Fcmwnfwdp0003fl208rkateq4x%2Fmain%2Fraw%2Fcoverage-map.svg%26output%3Dpng%26w%3D1920" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwsrv.nl%2F%3Furl%3Dr2.datahub.io%2Fcmwnfwdp0003fl208rkateq4x%2Fmain%2Fraw%2Fcoverage-map.svg%26output%3Dpng%26w%3D1920" alt="World map of the 249 ISO 3166 countries and territories coloured by postal-code status. Most of the Americas, Europe, Russia, China, India, Southeast Asia and Australia have postal codes on DataHub (131). Large parts of Central and West Africa, and Qatar, have no postal-code system (50). Several countries in North and East Africa, the Middle East, Central Asia, Myanmar, Venezuela and Cuba have postal codes only from closed or paid sources (60). South Korea and Paraguay are among 8 with an open source not yet added." width="1920" height="940"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwsrv.nl%2F%3Furl%3Dr2.datahub.io%2Fcmwnfwdp0003fl208rkateq4x%2Fmain%2Fraw%2Fcoverage-status.svg%26output%3Dpng%26w%3D1920" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwsrv.nl%2F%3Furl%3Dr2.datahub.io%2Fcmwnfwdp0003fl208rkateq4x%2Fmain%2Fraw%2Fcoverage-status.svg%26output%3Dpng%26w%3D1920" alt="Bar of the 249 countries and territories: 131 with postal codes on DataHub, 8 with an open source not yet added, 60 where codes exist but only closed or paid sources, 50 with no postal-code system." width="1920" height="300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The other 118 fall into three groups:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No postal-code system (50).&lt;/strong&gt; Many countries never introduced one, or deliver by PO box, building number or neighbourhood instead. Qatar, Jamaica, the Bahamas, Angola and much of Central and West Africa are in this group. For some of them we publish a directory of localities and districts instead, with the postal-code column left empty on purpose.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codes exist, but only behind closed doors (60).&lt;/strong&gt; Saudi Arabia, Israel, Egypt, Kazakhstan, Nigeria and Venezuela all use postal codes, but the national post either sells them, offers only a one-at-a-time lookup on its website, or publishes no terms we could rely on. "Open data" stops here.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An open source exists and we haven't added it yet (8).&lt;/strong&gt; South Korea, Paraguay and Armenia are already in GeoNames under an open licence; La Poste publishes Saint-Barthélemy and Saint-Martin in its open file. These are on our list.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So the honest answer to "all 249?" is: every country and territory can be in the &lt;em&gt;divisions&lt;/em&gt; table, because every one of them has an ISO code and most have regions, but postal codes stop where national postal systems stop. Any vendor promising postal codes for all 249 is counting differently.&lt;/p&gt;

&lt;p&gt;The status of each country is in &lt;a href="https://datahub.io/blog/postal-codes-are-the-easy-part/_r/-/data/countries.csv" rel="noopener noreferrer"&gt;&lt;code&gt;data/countries.csv&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Many of the "no postal-code system" calls rest on Universal Postal Union addressing sheets, some of them old. We re-check a country before telling a customer it has no codes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Every country codes its regions differently
&lt;/h2&gt;

&lt;p&gt;"What do the region codes mean?" has a different answer for almost every country. Postal datasets usually carry three administrative levels with a name and a code each, but the code systems underneath are whatever each country uses. Here is one place in each of ten large economies, as the codes appear in postal data:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Country&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;th&gt;Level 1 code&lt;/th&gt;
&lt;th&gt;Same region in ISO 3166-2&lt;/th&gt;
&lt;th&gt;Level 2 code&lt;/th&gt;
&lt;th&gt;Level 3 code&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Australia&lt;/td&gt;
&lt;td&gt;Sydney&lt;/td&gt;
&lt;td&gt;&lt;code&gt;NSW&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;AU-NSW&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;17200&lt;/code&gt; (ABS local government area)&lt;/td&gt;
&lt;td&gt;–&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Canada&lt;/td&gt;
&lt;td&gt;Toronto&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ON&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;CA-ON&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;3520&lt;/code&gt; (census division)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;3520005&lt;/code&gt; (census subdivision)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;China&lt;/td&gt;
&lt;td&gt;Hefei&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;CN-AH&lt;/code&gt; (ISO 3166-2)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;CN-AH&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;3401&lt;/code&gt; (GB/T 2260 prefecture, first 4 of 6 digits)&lt;/td&gt;
&lt;td&gt;–&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;France&lt;/td&gt;
&lt;td&gt;Lyon&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;84&lt;/code&gt; (INSEE region)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;FR-ARA&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;69&lt;/code&gt; (département)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;691&lt;/code&gt; (arrondissement)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Germany&lt;/td&gt;
&lt;td&gt;Munich&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;BY&lt;/code&gt; (ISO without prefix)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;DE-BY&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;091&lt;/code&gt; (Regierungsbezirk)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;09162&lt;/code&gt; (Kreisschlüssel)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Italy&lt;/td&gt;
&lt;td&gt;Milan&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;25&lt;/code&gt; (ISO region number)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;IT-25&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;MI&lt;/code&gt; (province abbreviation)&lt;/td&gt;
&lt;td&gt;–&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Japan&lt;/td&gt;
&lt;td&gt;Sapporo&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;01&lt;/code&gt; (prefecture number)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;JP-01&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;a GeoNames ID, not an official code&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;01102&lt;/code&gt; (JIS X 0402)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Spain&lt;/td&gt;
&lt;td&gt;Seville&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;AN&lt;/code&gt; (ISO without prefix)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ES-AN&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;41&lt;/code&gt; (INE province)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;41091&lt;/code&gt; (INE municipality)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;United Kingdom&lt;/td&gt;
&lt;td&gt;Westminster&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;E92000001&lt;/code&gt; (ONS GSS)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;GB-ENG&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;E09000033&lt;/code&gt; (GSS district)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;E05…&lt;/code&gt; (GSS ward)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;United States&lt;/td&gt;
&lt;td&gt;Los Angeles&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;CA&lt;/code&gt; (USPS)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;US-CA&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;06037&lt;/code&gt; (Census FIPS county)&lt;/td&gt;
&lt;td&gt;–&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Three things follow:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The same region has several codes.&lt;/strong&gt; England is &lt;code&gt;E92000001&lt;/code&gt; to the Office for National Statistics and &lt;code&gt;GB-ENG&lt;/code&gt; to ISO. Auvergne-Rhône-Alpes is &lt;code&gt;84&lt;/code&gt; to INSEE and &lt;code&gt;FR-ARA&lt;/code&gt; to ISO. If two of your systems use different ones, they won't join.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not every code is official.&lt;/strong&gt; Open datasets often fill a gap with their own identifiers, as GeoNames does for Japan's cities. That is fine as long as the data says so. A code that looks official but isn't is worse than a blank.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Level 2" means different things.&lt;/strong&gt; In Germany it is the Regierungsbezirk, which only some states have; in France the département; in Canada a census division. A level number on its own tells you little.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our answer is to put a &lt;code&gt;code_system&lt;/code&gt; on every code, so a reader always knows whether &lt;code&gt;3520&lt;/code&gt; is a StatCan census division or something else, and to keep a crosswalk to ISO 3166-2 at level 1, which is the only level with one code system worldwide.&lt;/p&gt;

&lt;p&gt;Codes by country: &lt;a href="https://datahub.io/blog/postal-codes-are-the-easy-part/_r/-/data/admin-code-systems.csv" rel="noopener noreferrer"&gt;&lt;code&gt;data/admin-code-systems.csv&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Divisions are a dataset of their own
&lt;/h2&gt;

&lt;p&gt;Most requests end up asking for three tables, not one, and that is the right design. A postal-code file only contains the regions that happen to have postal codes, and it repeats each region on thousands of rows. A company that wants a dropdown of provinces, or a list of every county to assign to a shipping zone, needs the divisions themselves.&lt;/p&gt;

&lt;p&gt;A small example of the three tables, joined on codes:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;divisions&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Country&lt;/th&gt;
&lt;th&gt;Level&lt;/th&gt;
&lt;th&gt;Code&lt;/th&gt;
&lt;th&gt;Code system&lt;/th&gt;
&lt;th&gt;Parent&lt;/th&gt;
&lt;th&gt;English&lt;/th&gt;
&lt;th&gt;Local&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ES&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ES&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;ISO 3166-1&lt;/td&gt;
&lt;td&gt;–&lt;/td&gt;
&lt;td&gt;Spain&lt;/td&gt;
&lt;td&gt;España&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ES&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ES-CT&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;ISO 3166-2&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ES&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Catalonia&lt;/td&gt;
&lt;td&gt;Catalunya&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ES&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ES:08&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;INE province&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ES-CT&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Barcelona&lt;/td&gt;
&lt;td&gt;Barcelona&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ES&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ES:08019&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;INE municipality&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ES:08&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Barcelona&lt;/td&gt;
&lt;td&gt;Barcelona&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;US&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;code&gt;US-CA&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;ISO 3166-2&lt;/td&gt;
&lt;td&gt;&lt;code&gt;US&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;California&lt;/td&gt;
&lt;td&gt;California&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;US&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;&lt;code&gt;US:06037&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Census FIPS&lt;/td&gt;
&lt;td&gt;&lt;code&gt;US-CA&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Los Angeles County&lt;/td&gt;
&lt;td&gt;Los Angeles County&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;postal_codes&lt;/strong&gt; and &lt;strong&gt;postal_code_divisions&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Country&lt;/th&gt;
&lt;th&gt;Postal code&lt;/th&gt;
&lt;th&gt;Place&lt;/th&gt;
&lt;th&gt;Level 1&lt;/th&gt;
&lt;th&gt;Level 2&lt;/th&gt;
&lt;th&gt;Level 3&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ES&lt;/td&gt;
&lt;td&gt;&lt;code&gt;08002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Barcelona&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ES-CT&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ES:08&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ES:08019&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;US&lt;/td&gt;
&lt;td&gt;&lt;code&gt;90012&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Los Angeles&lt;/td&gt;
&lt;td&gt;&lt;code&gt;US-CA&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;US:06037&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;–&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;How big is the divisions table? At level 1 alone, ISO 3166-2 has 3,590 subdivisions in 200 countries. The other 49 countries and territories, mostly small islands and overseas territories, have no subdivisions at all.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwsrv.nl%2F%3Furl%3Dr2.datahub.io%2Fcmwnfwdp0003fl208rkateq4x%2Fmain%2Fraw%2Flevel1-divisions.svg%26output%3Dpng%26w%3D1920" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwsrv.nl%2F%3Furl%3Dr2.datahub.io%2Fcmwnfwdp0003fl208rkateq4x%2Fmain%2Fraw%2Flevel1-divisions.svg%26output%3Dpng%26w%3D1920" alt="Bar chart of the 249 countries and territories by number of first-level divisions in ISO 3166-2: 49 have none, 67 have 1 to 9, 78 have 10 to 19, 45 have 20 to 49, 9 have 50 to 99, and 1 has more than 100." width="1920" height="660"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The one country with more than 100 is Slovenia, whose 212 municipalities are its first level in ISO 3166-2. Russia (83), Türkiye (81), North Macedonia (80) and Thailand (78) follow. Below level 1 the numbers grow fast: about 3,100 counties in the United States, about 8,100 municipalities in Spain and about 5,200 census subdivisions in Canada.&lt;/p&gt;

&lt;p&gt;Because every row has a &lt;code&gt;parent&lt;/code&gt;, you can walk up the tree to the code you need. For example, to find the ISO 3166-2 region for any division, whatever level and code system it starts from:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="c1"&gt;-- From any division (here Barcelona municipality, ES:08019)&lt;/span&gt;
&lt;span class="c1"&gt;-- up to its level-1 region with an ISO 3166-2 code&lt;/span&gt;
&lt;span class="k"&gt;WITH&lt;/span&gt; &lt;span class="no"&gt;RECURSIVE&lt;/span&gt; &lt;span class="n"&gt;up&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;level&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;code_system&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;name_en&lt;/span&gt;
  &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;divisions&lt;/span&gt;
  &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;code&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'ES:08019'&lt;/span&gt;
  &lt;span class="k"&gt;UNION&lt;/span&gt; &lt;span class="k"&gt;ALL&lt;/span&gt;
  &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;level&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;code_system&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name_en&lt;/span&gt;
  &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;divisions&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;
  &lt;span class="k"&gt;JOIN&lt;/span&gt; &lt;span class="n"&gt;up&lt;/span&gt; &lt;span class="k"&gt;ON&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;code&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;up&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parent&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;name_en&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;up&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;level&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;code_system&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'ISO 3166-2'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="c1"&gt;-- → ES-CT, Catalonia&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The same rule applies when joining your own data: match on the code &lt;em&gt;and&lt;/em&gt; its code system, never on the code alone. &lt;code&gt;08&lt;/code&gt; is a Spanish province, a French département and a lot of other things.&lt;/p&gt;

&lt;p&gt;No single open source has official codes for every level of every country under a licence that allows commercial use. The most complete global boundary set, GADM, is free for academic and non-commercial use only. So the practical recipe is layers: ISO 3166-2 for level 1 everywhere, national statistics offices for the countries that matter most, and open global sources, clearly labelled, for the rest.&lt;/p&gt;

&lt;h2&gt;
  
  
  Names in more than one language
&lt;/h2&gt;

&lt;p&gt;Address forms, invoices and reports often need a region's name in more than one language: the local name, an English one, and in multilingual countries every official language. Spain has co-official languages in several regions (Catalan, Basque, Galician and others), Canada has two official languages, and the United Kingdom recognises Welsh and Scottish Gaelic.&lt;/p&gt;

&lt;p&gt;Wikidata, the open knowledge base behind Wikipedia, has names in hundreds of languages for most administrative divisions, and it carries each country's official codes, so names can be joined on codes rather than on spelling. We measured how many divisions have a name in a second language there:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwsrv.nl%2F%3Furl%3Dr2.datahub.io%2Fcmwnfwdp0003fl208rkateq4x%2Fmain%2Fraw%2Fname-coverage.svg%26output%3Dpng%26w%3D1920" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwsrv.nl%2F%3Furl%3Dr2.datahub.io%2Fcmwnfwdp0003fl208rkateq4x%2Fmain%2Fraw%2Fname-coverage.svg%26output%3Dpng%26w%3D1920" alt="Heatmap of the share of divisions with a name in a second language in Wikidata, joined on official codes. Canada French: 100, 93 and 78 percent at levels 1 to 3. United Kingdom Welsh: 100, 98, 21. Scottish Gaelic: 100, 20, 0.4. Spain Catalan, Basque and Galician: 98 to 100 percent at every level. Italy German and Slovenian: 99 to 100 percent. United States Spanish: 98 and 95.5. For comparison, Chinese names: Canada 92, 16, 7; United Kingdom 100, 52, 0.8." width="1920" height="900"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Three lessons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Official languages are well covered; others thin out further down.&lt;/strong&gt; Spain's municipalities have names in Catalan, Basque and Galician almost everywhere. Canada's census subdivisions have French names in 78% of cases. But for a language that isn't local, such as Chinese in Canada or the UK, coverage falls from nearly complete at level 1 to under 10% at level 3.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not every name is right.&lt;/strong&gt; One UK council area came back with a Chinese label meaning "Edinburgh politics", because its code was attached to two different items and we picked the wrong one. Many labels are also in the wrong script variant. A wrong name in a checkout form is worse than a missing one, so we never machine-translate and we leave a name blank when no established name exists.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A label is not an official name.&lt;/strong&gt; Spain's municipalities have official names in Catalan, Basque and Galician. Wikidata records those separately from the everyday label, and only for some municipalities. For official local names, the national register wins.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Coverage by country, language and level: &lt;a href="https://datahub.io/blog/postal-codes-are-the-easy-part/_r/-/data/name-coverage.csv" rel="noopener noreferrer"&gt;&lt;code&gt;data/name-coverage.csv&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fields companies add on top
&lt;/h2&gt;

&lt;p&gt;Even with clean codes and names, the list doesn't stop there. What companies really want are answers about each postal code that no postal authority publishes in one place. For a business that ships goods, these are typical:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Special tax and customs territories.&lt;/strong&gt; Some postal codes are inside a country but outside its VAT or customs area. Shipping to them means different duties and paperwork.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Military, PO-box-only and business-only codes&lt;/strong&gt;, which some carriers won't deliver to or treat differently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Remote areas&lt;/strong&gt;, as each carrier defines them, with their surcharges.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The company's own shipping zones&lt;/strong&gt;, mapped onto postal codes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The first of these is a short, stable table. These territories are part of an EU country but outside its VAT area, and some are outside the customs territory too, under Article 6 of the EU VAT Directive (2006/112/EC):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Territory&lt;/th&gt;
&lt;th&gt;Country&lt;/th&gt;
&lt;th&gt;Postal codes&lt;/th&gt;
&lt;th&gt;EU VAT area&lt;/th&gt;
&lt;th&gt;EU customs territory&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Canary Islands&lt;/td&gt;
&lt;td&gt;ES&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;35xxx&lt;/code&gt;, &lt;code&gt;38xxx&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;td&gt;inside&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ceuta, Melilla&lt;/td&gt;
&lt;td&gt;ES&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;51xxx&lt;/code&gt;, &lt;code&gt;52xxx&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Büsingen am Hochrhein&lt;/td&gt;
&lt;td&gt;DE&lt;/td&gt;
&lt;td&gt;&lt;code&gt;78266&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Heligoland&lt;/td&gt;
&lt;td&gt;DE&lt;/td&gt;
&lt;td&gt;&lt;code&gt;27498&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Livigno&lt;/td&gt;
&lt;td&gt;IT&lt;/td&gt;
&lt;td&gt;&lt;code&gt;23041&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Campione d'Italia&lt;/td&gt;
&lt;td&gt;IT&lt;/td&gt;
&lt;td&gt;&lt;code&gt;22061&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;td&gt;inside&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mount Athos&lt;/td&gt;
&lt;td&gt;GR&lt;/td&gt;
&lt;td&gt;&lt;code&gt;63086&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;td&gt;inside&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Åland Islands&lt;/td&gt;
&lt;td&gt;AX&lt;/td&gt;
&lt;td&gt;&lt;code&gt;22xxx&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;td&gt;inside&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;French outermost regions&lt;/td&gt;
&lt;td&gt;FR&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;971xx&lt;/code&gt;–&lt;code&gt;974xx&lt;/code&gt;, &lt;code&gt;976xx&lt;/code&gt;, &lt;code&gt;97150&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;outside&lt;/td&gt;
&lt;td&gt;inside&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Even a table this small has traps. Two of these places have changed postal code, and some open datasets still carry the old ones (Livigno &lt;code&gt;23030&lt;/code&gt;, Campione d'Italia &lt;code&gt;22060&lt;/code&gt;). The French regions and Åland also have their own ISO country codes (GP, MQ, GF, RE, YT, MF, AX), so the same address can be filed under two countries.&lt;/p&gt;

&lt;p&gt;In code, a first pass is a prefix lookup. The traps above are the parts worth commenting:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# EU territories outside the VAT area (Art. 6, Directive 2006/112/EC).&lt;/span&gt;
&lt;span class="c1"&gt;# (country, postal-code prefix, territory, inside EU customs territory?)&lt;/span&gt;
&lt;span class="no"&gt;SPECIAL_TERRITORIES&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"ES"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"35"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Canary Islands"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"ES"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"38"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Canary Islands"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"ES"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"51"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Ceuta"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"ES"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"52"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Melilla"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"DE"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"78266"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Büsingen am Hochrhein"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"DE"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"27498"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Heligoland"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"IT"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"23041"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Livigno"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;          &lt;span class="c1"&gt;# formerly 23030&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"IT"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"22061"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Campione d'Italia"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  &lt;span class="c1"&gt;# formerly 22060&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"GR"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"63086"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Mount Athos"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"AX"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"22"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Åland Islands"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;         &lt;span class="c1"&gt;# also filed as FI 22xxx&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"FI"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"22"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Åland Islands"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="c1"&gt;# French outermost regions; also have their own ISO codes&lt;/span&gt;
    &lt;span class="c1"&gt;# (GP, MQ, GF, RE, YT, MF), so check those too&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"FR"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"971"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Guadeloupe / Saint-Martin"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"FR"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"972"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Martinique"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"FR"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"973"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"French Guiana"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"FR"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"974"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Réunion"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"FR"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"976"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Mayotte"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;eu_special_territory&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;country&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;postal_code&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="s2"&gt;"""Return the territory if this address is outside the EU VAT area, else None."""&lt;/span&gt;
    &lt;span class="n"&gt;pc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;postal_code&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;replace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;" "&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;prefix&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;in_customs&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="no"&gt;SPECIAL_TERRITORIES&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;country&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;pc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;startswith&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;prefix&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"territory"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"eu_vat_area"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                    &lt;span class="s2"&gt;"eu_customs_territory"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;in_customs&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;

&lt;span class="nf"&gt;eu_special_territory&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"ES"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"38001"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# Santa Cruz de Tenerife → Canary Islands&lt;/span&gt;
&lt;span class="nf"&gt;eu_special_territory&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"IT"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"23030"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# None: the old Livigno code slips through&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The last line is the point: a lookup is only as good as the codes you feed it, so normalise old and alternative codes first.&lt;/p&gt;

&lt;p&gt;Full list with notes: &lt;a href="https://datahub.io/blog/postal-codes-are-the-easy-part/_r/-/data/special-territories.csv" rel="noopener noreferrer"&gt;&lt;code&gt;data/special-territories.csv&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The other fields depend on the customer: their carriers' remote-area lists, their own zones. That is the pattern we see again and again: a shared base of open, well-documented reference data, and a thin layer of fields specific to one company, built with them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who needs this
&lt;/h2&gt;

&lt;p&gt;The same shape of request turns up well beyond shipping:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Banks and payment companies&lt;/strong&gt; keep country, currency, holiday and subdivision tables for onboarding and compliance, and need to know which codes are official.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Marketplaces and retailers&lt;/strong&gt; need clean address forms in many languages, and regions that match how each country actually divides itself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Logistics companies&lt;/strong&gt; need postal codes, airports and ports joined to the same regions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Public bodies and researchers&lt;/strong&gt; need stable codes and a record of when divisions change.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What they share is that the base data is public but scattered across hundreds of national sources with different formats, licences and update cycles, and the value is in putting it together carefully, saying where every value came from, and keeping it current.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rules that keep reference data trustworthy
&lt;/h2&gt;

&lt;p&gt;Whether you build this yourself or buy it, these rules have saved us the most pain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Use official or openly licensed sources only&lt;/strong&gt;, record the licence for each source before you use it, and ship the attribution with the data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Put a code system on every code.&lt;/strong&gt; Never dress up a home-made identifier as an official one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't machine-translate names.&lt;/strong&gt; Blank is better than wrong.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check licences for what you do next.&lt;/strong&gt; Non-commercial or share-alike terms can block you from passing the data on. That rules out GADM and OpenStreetMap-derived data for anything licensed onwards.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep provenance for every release:&lt;/strong&gt; which file, from where, when, and its checksum.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We follow these in our &lt;a href="https://datahub.io/solutions/worldwide-postal-code-database?utm_source=devto&amp;amp;utm_medium=link&amp;amp;utm_campaign=postal-codes-are-the-easy-part" rel="noopener noreferrer"&gt;worldwide postal code database&lt;/a&gt; and &lt;a href="https://datahub.io/solutions/global-country-region-reference-data?utm_source=devto&amp;amp;utm_medium=link&amp;amp;utm_campaign=postal-codes-are-the-easy-part" rel="noopener noreferrer"&gt;country and region reference data&lt;/a&gt; on DataHub, but they apply to any reference dataset.&lt;/p&gt;

&lt;p&gt;If you work with reference data like this: which of the four needs bites hardest for you? And which countries or code systems have caught you out? We'd like to hear in the comments.&lt;/p&gt;

&lt;h2&gt;
  
  
  About the data in this post
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Postal-code status&lt;/strong&gt; comes from our postal-code product as of 16 November 2026, and from a country-by-country review of postal systems and sources (UPU addressing sheets and national post websites) done in November 2026. "Published" means we have a file with postal codes; 11 countries whose files list localities without postal codes are counted under "no postal-code system". &lt;a href="https://datahub.io/blog/postal-codes-are-the-easy-part/_r/-/data/countries.csv" rel="noopener noreferrer"&gt;&lt;code&gt;countries.csv&lt;/code&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Divisions&lt;/strong&gt; are ISO 3166-2 first-level subdivisions as published in Unicode CLDR release 49 (Unicode License v3), with the country list from ISO 3166-1. ISO allows free use of its country codes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Names&lt;/strong&gt; were measured in Wikidata (CC0) on 19 November 2026 by joining each country's official code property and counting labels per language; for Chinese, only &lt;code&gt;zh-hans&lt;/code&gt; and &lt;code&gt;zh-cn&lt;/code&gt; count. Several queries ran on the QLever mirror of Wikidata because the main query service was throttled that day.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Special territories&lt;/strong&gt; are from Article 6 of Council Directive 2006/112/EC (consolidated text of 1 January 2025, EUR-Lex), read on 19 November 2026. Postal codes were checked against GeoNames and, for Livigno, Campione d'Italia and Mount Athos, against Wikidata.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code examples&lt;/strong&gt; are from our country datasets' documentation; the map uses Natural Earth (public domain), on which many small territories are too small to see.&lt;/li&gt;
&lt;li&gt;Charts are made by &lt;a href="https://datahub.io/blog/postal-codes-are-the-easy-part/_r/-/src/make_charts.py" rel="noopener noreferrer"&gt;&lt;code&gt;src/make_charts.py&lt;/code&gt;&lt;/a&gt; from the CSVs in &lt;code&gt;data/&lt;/code&gt;; the country table by &lt;a href="https://datahub.io/blog/postal-codes-are-the-easy-part/_r/-/src/prepare_data.py" rel="noopener noreferrer"&gt;&lt;code&gt;src/prepare_data.py&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;a href="https://datopian.com" rel="noopener noreferrer"&gt;Datopian&lt;/a&gt; builds open data infrastructure for governments, international organisations, and enterprises. We've been building with and for data since we created &lt;a href="https://ckan.org" rel="noopener noreferrer"&gt;CKAN&lt;/a&gt; in 2006. We've built &lt;a href="https://portaljs.com" rel="noopener noreferrer"&gt;PortalJS&lt;/a&gt;, &lt;a href="https://datahub.io" rel="noopener noreferrer"&gt;Datahub.io&lt;/a&gt;, &lt;a href="https://flowershow.app" rel="noopener noreferrer"&gt;Flowershow&lt;/a&gt; and many others.&lt;/p&gt;

</description>
      <category>data</category>
      <category>opendata</category>
      <category>database</category>
      <category>datascience</category>
    </item>
    <item>
      <title>The Numbers Behind World Cup 2026: Carbon, Prize Money &amp; Ticket Prices</title>
      <dc:creator>Yoana Popova</dc:creator>
      <pubDate>Wed, 10 Jun 2026 10:06:36 +0000</pubDate>
      <link>https://dev.to/datopian/the-numbers-behind-world-cup-2026-carbon-prize-money-ticket-prices-4eio</link>
      <guid>https://dev.to/datopian/the-numbers-behind-world-cup-2026-carbon-prize-money-ticket-prices-4eio</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;This article was originally published on &lt;a href="https://www.datopian.com/blog/world-cup-2026-numbers-carbon-prize-money-tickets" rel="noopener noreferrer"&gt;Datopian's blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The 2026 World Cup is on track to be the most carbon-intensive sporting event ever staged. It is also the most commercially inflated — record prize money, record ticket prices, and a formal legal subpoena over affordability filed just weeks before kickoff. Three datasets we built and published on &lt;a href="https://datahub.io/football" rel="noopener noreferrer"&gt;DataHub&lt;/a&gt; tell the story in full.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Most Polluting Tournament Ever Projected
&lt;/h2&gt;

&lt;p&gt;The 2026 World Cup carbon footprint is projected at &lt;strong&gt;9.0 million tonnes of CO₂e&lt;/strong&gt; — roughly equivalent to the annual emissions of 2 million cars. Against a recalculated 2010–2022 average of 4.71 Mt on the same accounting basis, that is a &lt;strong&gt;+92% increase&lt;/strong&gt;. Nearly all of it — 86%, or 7.72 Mt — comes from air travel. A three-nation tournament spread across the United States, Canada, and Mexico runs on flights.&lt;/p&gt;

&lt;p&gt;This number requires context. Earlier per-edition figures (South Africa 2.75 Mt, Brazil 2.27 Mt, Russia 2.16 Mt, Qatar 3.63 Mt) are FIFA self-reports on a narrower accounting boundary that systematically undercounts aviation. A direct comparison to those figures would be misleading. The honest comparison is the recalculated 4.71 Mt average on a consistent fuller scope — which makes the +92% increase clear and defensible.&lt;/p&gt;

&lt;p&gt;Qatar 2022 drew significant criticism for its carbon accounting. 2026 is projected to exceed it substantially once aviation is counted consistently.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5y5bd8r10po7wd5l91is.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5y5bd8r10po7wd5l91is.png" alt="World Cup 2026 carbon footprint — airplane emissions and route arcs" width="799" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📊 Dataset: &lt;a href="https://datahub.io/football/worldcup-carbon-footprint" rel="noopener noreferrer"&gt;worldcup-carbon-footprint on DataHub&lt;/a&gt; · 📖 &lt;a href="https://datahub.io/football/each-world-cups-carbon-footprint" rel="noopener noreferrer"&gt;Read the full story&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Record Prize Money — and a Gender Gap That Is Closing
&lt;/h2&gt;

&lt;p&gt;The 2026 prize money pool totals &lt;strong&gt;$655M&lt;/strong&gt; — the largest in World Cup history. Winners take home &lt;strong&gt;$50M&lt;/strong&gt;. Teams eliminated in the group stage still earn &lt;strong&gt;$9M&lt;/strong&gt; for qualifying and showing up.&lt;/p&gt;

&lt;p&gt;Zoom out across editions and two trends are stark. The winner's prize has climbed at every edition: $30M (2010), $35M (2014), $38M (2018), $42M (2022), $50M (2026). Meanwhile, the gender gap remains significant: the 2022 men's pool of $440M was &lt;strong&gt;four times&lt;/strong&gt; the $110M awarded at the 2023 Women's World Cup. That gap was infinite until 2007 — women's prize money was simply zero before then. &lt;a href="https://www.fifa.com/en/articles/fifa-council-takes-landmark-decision-on-equal-prize-money" rel="noopener noreferrer"&gt;FIFA has committed to equal prize money by 2027&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;A note on data integrity: the 32 individual team payouts for 2022 in our dataset sum exactly to the published $440M pool. Pre-2014 men's figures use a broader "total contribution" scope rather than pure prize money — flagged clearly in the dataset so comparisons are not made across incompatible definitions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fupea8p1rtq67rqmrk2om.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fupea8p1rtq67rqmrk2om.png" alt="World Cup 2026 prize money — rising prize pool and gender gap" width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📊 Dataset: &lt;a href="https://datahub.io/football/worldcup-prize-money" rel="noopener noreferrer"&gt;worldcup-prize-money on DataHub&lt;/a&gt; · 📖 &lt;a href="https://datahub.io/football/42-million-to-win" rel="noopener noreferrer"&gt;Read the full story&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  A $10,990 Ticket, a Subpoena, and the Widest Affordability Gap in Tournament History
&lt;/h2&gt;

&lt;p&gt;On &lt;strong&gt;May 27, 2026&lt;/strong&gt;, the attorneys general of New York and New Jersey subpoenaed FIFA over 2026 World Cup ticket pricing, citing price gouging and consumer protection concerns. It is the first time a major tournament host's law enforcement has taken formal legal action over World Cup ticket prices. Our data shows exactly why.&lt;/p&gt;

&lt;p&gt;The most expensive face-value ticket to the final is &lt;strong&gt;$10,990&lt;/strong&gt; — a 6.8× increase on the $1,607 top price in 2022. Resale prices are running near &lt;strong&gt;$33,000&lt;/strong&gt; for the final. The cheapest entry point is &lt;strong&gt;$60&lt;/strong&gt; for a Supporter Entry tier. The spread from floor to ceiling is one of the widest in the history of major sporting events. At $10,990, a single final ticket represents more than three months of median US household income.&lt;/p&gt;

&lt;p&gt;The affordability gap between the cheapest and most expensive tickets has widened at every edition since 2010. 2026 is not an anomaly — it is the continuation of a trend, now large enough to attract prosecutors.&lt;/p&gt;

&lt;p&gt;Two data-quality notes: all figures are nominal, not inflation-adjusted. We excluded a widely-cited 2014 figure that appears to reflect resale rather than face value — flagged explicitly rather than silently dropped. Even adjusted for inflation, the 2026 jump holds.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5psdnfnmi25vmslwpn62.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5psdnfnmi25vmslwpn62.png" alt="World Cup 2026 ticket prices — face value increase since 1994" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📊 Dataset: &lt;a href="https://datahub.io/football/worldcup-ticket-prices" rel="noopener noreferrer"&gt;worldcup-ticket-prices on DataHub&lt;/a&gt; · 📖 &lt;a href="https://datahub.io/football/worldcup-ticket-prices" rel="noopener noreferrer"&gt;Read the full story&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What the Data Says
&lt;/h2&gt;

&lt;p&gt;Taken together, these three datasets tell a consistent story: the World Cup is growing in every direction except affordability and environmental accountability. Bigger tournament, more matches, more money — and the costs, financial and ecological, are increasingly concentrated on fans and the atmosphere rather than distributed across the institutions that profit most.&lt;/p&gt;




&lt;h2&gt;
  
  
  Explore the Data
&lt;/h2&gt;

&lt;p&gt;All three datasets are live, open, and downloadable as CSV with full provenance and methodology notes. They join our &lt;a href="https://datahub.io/football/worldcup" rel="noopener noreferrer"&gt;92-years-of-results World Cup dataset&lt;/a&gt; published last month.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://datahub.io/football/worldcup-carbon-footprint" rel="noopener noreferrer"&gt;World Cup 2026 Carbon Footprint&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://datahub.io/football/worldcup-prize-money" rel="noopener noreferrer"&gt;World Cup 2026 Prize Money&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://datahub.io/football/worldcup-ticket-prices" rel="noopener noreferrer"&gt;World Cup 2026 Ticket Prices&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://datahub.io/football" rel="noopener noreferrer"&gt;All football datasets on DataHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;&lt;a href="https://datahub.io" rel="noopener noreferrer"&gt;DataHub.io&lt;/a&gt; is a platform for high-quality open datasets — free to use, fully documented, and built for reuse. Built by &lt;a href="https://datopian.com" rel="noopener noreferrer"&gt;Datopian&lt;/a&gt; · &lt;a href="https://portaljs.com" rel="noopener noreferrer"&gt;PortalJS&lt;/a&gt; · &lt;a href="https://flowershow.app" rel="noopener noreferrer"&gt;Flowershow&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>opendata</category>
      <category>dataviz</category>
      <category>football</category>
      <category>data</category>
    </item>
    <item>
      <title>Multi-Agent AI Is Ready. Your Workflow Infrastructure Isn't.</title>
      <dc:creator>Yoana Popova</dc:creator>
      <pubDate>Wed, 03 Jun 2026 20:35:57 +0000</pubDate>
      <link>https://dev.to/datopian/multi-agent-ai-is-ready-your-workflow-infrastructure-isnt-l4c</link>
      <guid>https://dev.to/datopian/multi-agent-ai-is-ready-your-workflow-infrastructure-isnt-l4c</guid>
      <description>&lt;p&gt;&lt;em&gt;A conversation between &lt;a href="https://rufuspollock.com" rel="noopener noreferrer"&gt;Rufus Pollock&lt;/a&gt;, founder of Datopian, and &lt;a href="http://linkedin.com/in/anuveyatsu?originalSubdomain=uk" rel="noopener noreferrer"&gt;Anuar Ustayev&lt;/a&gt;, CTO — from the &lt;a href="https://ailearnedtoday.substack.com/" rel="noopener noreferrer"&gt;AI Learned Today&lt;/a&gt; minicast.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: The authors work at &lt;a href="https://datopian.com" rel="noopener noreferrer"&gt;Datopian&lt;/a&gt;. This post is based on our own experience running multi-agent AI workflows in production — no sponsors, no affiliate links.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;Two months ago, Anuar Ustayev — Datopian's CTO — adopted &lt;a href="https://github.com/gastownhall/gastown" rel="noopener noreferrer"&gt;Gas Town&lt;/a&gt; as his primary tool for orchestrating multiple AI coding agents. It changed how he worked. Today, if he were starting from scratch, he might not choose it.&lt;/p&gt;

&lt;p&gt;That's not a criticism of Gas Town. It's a signal of how fast the tooling landscape is moving — and how immature the infrastructure around multi-agent AI workflows still is.&lt;/p&gt;

&lt;p&gt;This post is a distillation of two candid conversations about what multi-agent AI development actually looks like in practice: the workflow shifts, the unsolved problems, and the honest answers to questions most AI content avoids.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Bottleneck Has Moved
&lt;/h2&gt;

&lt;p&gt;A year ago, the constraint in software development was execution capacity. You had more work than time to implement it. AI coding assistants helped at the margins: autocomplete, boilerplate, quick fixes.&lt;/p&gt;

&lt;p&gt;That constraint is gone.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Previously it was about having a lot of work to do and then finding time to implement it. Now the bottleneck is around just creating the work — defining it — because you might have ideas, but you need to spec them out."&lt;br&gt;
— Anuar Ustayev&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;With tools like &lt;a href="https://claude.ai/code" rel="noopener noreferrer"&gt;Claude Code&lt;/a&gt;, &lt;a href="https://platform.openai.com/docs/guides/tools" rel="noopener noreferrer"&gt;Codex&lt;/a&gt;, and orchestration layers like &lt;a href="https://github.com/gastownhall/gastown" rel="noopener noreferrer"&gt;Gas Town&lt;/a&gt;, a single developer can now run multiple agents in parallel — each working on a separate task, simultaneously. The implementation layer has been largely commoditised.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The new constraint is upstream: work definition.&lt;/strong&gt; Can you write a specification clear and complete enough that an AI agent will implement the right thing?&lt;/p&gt;

&lt;p&gt;This is not a minor adjustment. It is a fundamental restructuring of where skilled human effort needs to go.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Gas Town Actually Does
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/gastownhall/gastown" rel="noopener noreferrer"&gt;Gas Town&lt;/a&gt; is an open-source tool for orchestrating multiple AI agents from a single terminal interface. Key concepts:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rigs&lt;/strong&gt; — project workspaces, each with its own directory, context, and agents. You can have dozens running simultaneously.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Mayor agent&lt;/strong&gt; — a central orchestrator that manages all rigs. You interact with it via natural language: &lt;em&gt;"What's the status of project X? Dispatch an agent to pick up the next item in the backlog."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/gastownhall/beads" rel="noopener noreferrer"&gt;Beads&lt;/a&gt;&lt;/strong&gt; — an AI-native issue tracker that lives as a local database inside each project. Unlike GitHub Issues or Linear, Beads is designed to be read and written by AI agents directly.&lt;/p&gt;

&lt;p&gt;Anuar's reported time split after several months: &lt;strong&gt;80% planning and supervising, 20% debugging&lt;/strong&gt;. He hasn't written code himself in a long time.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;🎧 We walked through this live in &lt;a href="https://www.youtube.com/watch?v=yNLzWDx9WyI&amp;amp;list=PLMGxXkdb_1KwXc3Rxtg5uw5B7RC51f40d&amp;amp;index=2" rel="noopener noreferrer"&gt;episode 6 of AI Learned Today&lt;/a&gt; — including a real terminal demo of the Mayor agent dispatching work.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  The Setup: Claude Code with Subagents
&lt;/h2&gt;

&lt;p&gt;Gas Town was genuinely novel when it launched in early 2025. Since then, the major AI platforms have caught up. Claude Code now supports subagent workflows natively. Codex Desktop has similar capabilities.&lt;/p&gt;

&lt;p&gt;Anuar's current recommendation for someone starting today:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Whatever LLM you're already subscribed to — start there. You don't need dozens of agents right away. Start with a few."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The practical workflow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Start a planning session with &lt;a href="https://superwhisper.com" rel="noopener noreferrer"&gt;Superwhisper&lt;/a&gt; or similar for spec writing assistance&lt;/li&gt;
&lt;li&gt;Use plan mode to generate a structured spec from a rough idea&lt;/li&gt;
&lt;li&gt;Break the spec into discrete tasks (Beads, GitHub Issues, or local markdown)&lt;/li&gt;
&lt;li&gt;Dispatch agents to execute tasks in parallel&lt;/li&gt;
&lt;li&gt;Review, merge, iterate&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  The Spec Quality Problem
&lt;/h2&gt;

&lt;p&gt;The promise of multi-agent AI is compelling: define work once, let agents execute in parallel, review output. In practice, the quality of what agents produce is highly sensitive to the quality of the input spec.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"I find this with UI issues or others that are quite painful to get to a clear spec for the AI to solve. Right now I might spend 20 minutes trying to spec something to the AI that a human developer would understand in 30 seconds from a screenshot."&lt;br&gt;
— Rufus Pollock&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The current best approaches:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interactive spec refinement&lt;/strong&gt; — tools like Superwhisper and Claude's plan mode ask follow-up questions and force specification decisions before implementation begins.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Screenshot-to-spec&lt;/strong&gt; — for UI issues, take a screenshot, describe the problem in one sentence, let the AI generate the requirements document.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Iterative shaping&lt;/strong&gt; — borrow from &lt;a href="https://basecamp.com/shapeup" rel="noopener noreferrer"&gt;Basecamp's Shape Up methodology&lt;/a&gt;: rough idea → shaped spec → ready to build. Don't hand work to an agent until it's shaped.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ The uncomfortable truth: most developers skip the shaping step because it feels like overhead. With AI agents, skipping it is expensive. A poorly specified task produces something that &lt;em&gt;looks&lt;/em&gt; done but isn't — and unpicking it costs more than starting over.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  The Fragmentation Problem Nobody Is Solving
&lt;/h2&gt;

&lt;p&gt;A realistic day of AI-assisted work looks like this: research thread on ChatGPT on your phone. Continue in Claude on your laptop. Spin up Codex Desktop to implement. Ask a quick question in Gemini because Claude is rate-limited.&lt;/p&gt;

&lt;p&gt;Each session exists in isolation. No unified history. No search across sessions.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"I want all of my chat sessions I ever did to be archived somewhere I can search — but not getting in my way. The way a good issue tracker has the past, but keeps me focused on what's right now."&lt;br&gt;
— Rufus Pollock&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Current workarounds:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stick to one tool&lt;/strong&gt; — the discipline of single-tool consistency is more valuable than marginal features of tool-switching&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Checkpoint documents&lt;/strong&gt; — markdown files that capture decisions, dead ends, and current state; portable across tools and sessions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local-first storage&lt;/strong&gt; — Beads' local database model is the right architecture: source of truth on your disk, not inside a vendor's SaaS&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The tool that builds a unified, searchable, AI-session-aware knowledge layer across Claude, ChatGPT, Codex, and Gemini will be genuinely valuable. It does not yet exist.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Token Cost Reality
&lt;/h2&gt;

&lt;p&gt;Multi-agent workflows are token-hungry. Anuar uses Claude, OpenAI, and Gemini subscriptions concurrently — and regularly hits rate limits on all three simultaneously.&lt;/p&gt;

&lt;p&gt;Mitigation strategies:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Task-appropriate model routing&lt;/strong&gt; — use cheaper models (Claude Haiku, GPT-4o Mini, Gemini Flash) for mechanical tasks. Reserve expensive models for reasoning-intensive work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Locally hosted models&lt;/strong&gt; — &lt;a href="https://llama.meta.com" rel="noopener noreferrer"&gt;Llama 4&lt;/a&gt;, &lt;a href="https://mistral.ai" rel="noopener noreferrer"&gt;Mistral&lt;/a&gt;, via &lt;a href="https://ollama.ai" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt; or &lt;a href="https://developers.cloudflare.com/workers-ai/" rel="noopener noreferrer"&gt;Cloudflare Workers AI&lt;/a&gt; at near-zero marginal cost.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Batching&lt;/strong&gt; — background agents on non-urgent tasks can be rate-limited deliberately, spreading token consumption across time.&lt;/p&gt;




&lt;h2&gt;
  
  
  What This Means in Practice
&lt;/h2&gt;

&lt;p&gt;The shift from implementation-focused work to spec-and-supervise work is not coming. For developers actively using these tools, it is already here.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Invest in spec quality.&lt;/strong&gt; Ten minutes of careful shaping can prevent two hours of agent work in the wrong direction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Build a checkpoint habit.&lt;/strong&gt; Write distillation documents at meaningful points in every AI session — not for the AI, but for you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Choose one orchestration tool and go deep.&lt;/strong&gt; Self-inflicted fragmentation makes the fragmentation problem worse.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Track the shaping pipeline.&lt;/strong&gt; Know which ideas are raw, which are shaped, and which are ready to ship to an agent.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Plan for token costs.&lt;/strong&gt; Model routing and local hosting are budget management, not optional optimisations.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;The tools are evolving faster than the workflows. The problems described here — fragmented session history, manual model routing, immature spec tooling — will be partially addressed by the major platforms.&lt;/p&gt;

&lt;p&gt;What won't be solved by the platforms: the cognitive discipline required to work well with AI agents at scale. The developers building these practices now will have a durable advantage.&lt;/p&gt;

&lt;p&gt;The question worth sitting with: where is the real bottleneck in your workflow? If it's still implementation, the tools in this post will help immediately. If it's already moved to definition, the investment is in a different place entirely.&lt;/p&gt;




&lt;p&gt;Based on two episodes of &lt;a href="https://ailearnedtoday.substack.com/" rel="noopener noreferrer"&gt;AI Learned Today&lt;/a&gt;, a minicast from Datopian. Hosted by &lt;a href="https://rufuspollock.com" rel="noopener noreferrer"&gt;Rufus Pollock&lt;/a&gt; and &lt;a href="http://linkedin.com/in/anuveyatsu?originalSubdomain=uk" rel="noopener noreferrer"&gt;Anuar Ustayev&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Watch on YouTube:&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=yNLzWDx9WyI&amp;amp;list=PLMGxXkdb_1KwXc3Rxtg5uw5B7RC51f40d&amp;amp;index=2" rel="noopener noreferrer"&gt;How to Run Multiple AI Agents at Once — ep. 6&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=N8dt33XwDfA&amp;amp;list=PLMGxXkdb_1KwXc3Rxtg5uw5B7RC51f40d&amp;amp;index=1" rel="noopener noreferrer"&gt;Is Gas Town Still the Best Tool? — ep. 7&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;a href="https://datopian.com" rel="noopener noreferrer"&gt;Datopian&lt;/a&gt; builds open data infrastructure for governments, international organisations, and enterprises. We've been building with and for data since we created CKAN in 2006. We've built PortalJS, Datahub.io, Flowershow and many others.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>programming</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Create a dataset from scratch and publish it with Datahub Cloud</title>
      <dc:creator>Yoana Popova</dc:creator>
      <pubDate>Fri, 09 Aug 2024 14:30:08 +0000</pubDate>
      <link>https://dev.to/datopian/create-a-dataset-from-scratch-and-publish-it-with-datahub-cloud-34f5</link>
      <guid>https://dev.to/datopian/create-a-dataset-from-scratch-and-publish-it-with-datahub-cloud-34f5</guid>
      <description>&lt;p&gt;In our previous article, we talked about DataDatahub Cloud: your stupidly simple and fast tool for turning your data stories or datasets on GitHub into a published, shareable site. It converts raw data and Markdown files into beautifully presented, interactive sites. &lt;/p&gt;

&lt;p&gt;Today, we're going to tell you how to publish a dataset (multiple data files or a single data file) with DataHub Cloud.&lt;/p&gt;

&lt;p&gt;As an example we're going to use an example dataset with an analysis of the top 1000 global universities: &lt;br&gt;
&lt;a href="https://www.kaggle.com/datasets/zahrayazdani81/univercitiesranking?resource=download" rel="noopener noreferrer"&gt;https://www.kaggle.com/datasets/zahrayazdani81/univercitiesranking?resource=download&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What You'll Need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub account and basic knowledge of GitHub UI (especially editing and adding files)&lt;/li&gt;
&lt;li&gt;A DataHub Cloud account.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Create a GitHub repository with the data files and README.md file&lt;/p&gt;

&lt;p&gt;Any DataHub Cloud site is built off of a GitHub repository. This is where you'd put all your dataset file(s) and any related markdown content that you want to publish. For the sake of simplicity, in this tutorial, we're only going to use a single README.md file. It's going to serve as a landing page for our site.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Tip&lt;/strong&gt;&lt;br&gt;
Any README.md or index.md file, either in a root of the repository or in a subfolder, will be treated as a "landing" page (of the whole site or a given folder) by the DataHub Cloud.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Go to your GitHub account and create a new repository. Note, you can check "Add a README file" checkbox. This will make GitHub automatically add an empty README.md file to our repository.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Hint&lt;/strong&gt;&lt;br&gt;
If you're new to GitHub, here are simple instructions on creating a repository: &lt;a href="https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories" rel="noopener noreferrer"&gt;https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Now, let's continue this tutorial in our docs: &lt;a href="https://datahub.io/docs/Create+a+dataset+from+scratch+and+publish+it+with+Datahub+Cloud" rel="noopener noreferrer"&gt;https://datahub.io/docs/Create+a+dataset+from+scratch+and+publish+it+with+Datahub+Cloud&lt;/a&gt; &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;You can check out how a published &lt;strong&gt;dataset page&lt;/strong&gt; looks like here: &lt;a href="https://datahub.io/core/co2-ppm" rel="noopener noreferrer"&gt;https://datahub.io/core/co2-ppm&lt;/a&gt;&lt;br&gt;
You can check out how a published &lt;strong&gt;data story page&lt;/strong&gt; looks like here: &lt;br&gt;
&lt;a href="https://datahub.io/@cheredia19/us-cities-population" rel="noopener noreferrer"&gt;https://datahub.io/@cheredia19/us-cities-population&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>data</category>
      <category>datapublishig</category>
      <category>datapresentation</category>
      <category>dataset</category>
    </item>
    <item>
      <title>Datahub Cloud: a simple and fast tool to turn your data stories or datasets on GitHub into a published, shareable site</title>
      <dc:creator>Yoana Popova</dc:creator>
      <pubDate>Wed, 07 Aug 2024 13:37:21 +0000</pubDate>
      <link>https://dev.to/datopian/datahub-cloud-a-simple-and-fast-tool-to-turn-your-data-stories-or-datasets-on-github-into-a-published-shareable-site-4ehf</link>
      <guid>https://dev.to/datopian/datahub-cloud-a-simple-and-fast-tool-to-turn-your-data-stories-or-datasets-on-github-into-a-published-shareable-site-4ehf</guid>
      <description>&lt;p&gt;Datahub Cloud is your stupidly simple and fast tool for turning your data stories or datasets on GitHub into a published, shareable site. It converts raw data and Markdown files into beautifully presented, interactive sites.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; &lt;br&gt;
The current version of Datahub Cloud runs only off Github.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  How to deploy your first site within seconds
&lt;/h2&gt;

&lt;p&gt;The quickest way to start publishing with Datahub Cloud is to publish our template and customize it to fit your needs. You can do that in 5 simple steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click on the selected template from the ones listed below and click "Use this template" at the top right to create a new repository&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TEMPLATES:&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/datahubio/datahub-cloud-template-story" rel="noopener noreferrer"&gt;Data-rich story template&lt;/a&gt; that renders like &lt;a href="https://datahub.io/@Daniellappv/datahub-cloud-template-story" rel="noopener noreferrer"&gt;this&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/datahubio/datahub-cloud-template" rel="noopener noreferrer"&gt;Dataset template&lt;/a&gt; that renders like &lt;a href="https://datahub.io/@Daniellappv/datahub-cloud-template-dataset" rel="noopener noreferrer"&gt;this&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/datahubio/datahub-cloud-template-pkm" rel="noopener noreferrer"&gt;PKM template&lt;/a&gt; that renders like &lt;a href="https://datahub.io/@Daniellappv/datahub-cloud-template-pkm" rel="noopener noreferrer"&gt;this&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;If you don't have any data files or notes, you can also start from scratch (go to &lt;a href="https://datahub.io/docs#start-from-the-scratch" rel="noopener noreferrer"&gt;Start from scratch&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;Go to the app and create a new site by selecting the repository you just created (leave the "Root Dir" field empty)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj7ddkq94v1gwna3vxnvj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj7ddkq94v1gwna3vxnvj.png" alt="Image description" width="800" height="188"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Done, it is now published!&lt;/strong&gt; Just hit the green "Visit" button at the top right to see what it looks like.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh69accbi6cibaunu3qqk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh69accbi6cibaunu3qqk.png" alt="Image description" width="800" height="94"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ❓ What to do after you publish your first site
&lt;/h2&gt;

&lt;p&gt;After publishing our template and getting a feel for how it works, you have several options:&lt;/p&gt;

&lt;p&gt;👷‍♂️ Customize your template&lt;br&gt;
📈 Add visuals&lt;br&gt;
🏖️ Publish another repo of your own&lt;br&gt;
🆕 Create a new repo&lt;br&gt;
🖋️ Publish your Obsidian notes&lt;/p&gt;

&lt;p&gt;You can also take the template to the next level:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://datahub.io/docs/Customize%20Your%20DataHub%20Cloud%20Site%20with%20CSS" rel="noopener noreferrer"&gt;Customize your site with CSS and HTML&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://datahub.io/docs/Add%20visuals%20and%20data-rich%20components" rel="noopener noreferrer"&gt;Add visuals and data-rich components&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://datahub.io/docs/Add%20sidebar%20navigation" rel="noopener noreferrer"&gt;Add sidebar navigation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>data</category>
      <category>markdown</category>
      <category>datapresentation</category>
      <category>datapublishing</category>
    </item>
  </channel>
</rss>
