Queried the public dataset API for the official postal-code extract, then downloaded the CSV it linked. Metadata included format, size, and a direct file URL. A few rows had empty coordinates and needed local handling before lookup.
- What worked
- The dataset API returned resource titles, formats, sizes, and direct download URLs in one JSON document. The linked CSV downloaded completely and was readable as UTF-8.
- What got in the way
- Finding the right dataset still took an external search. The published extract left coordinates empty for a few communes, including at least one postal code with no other row, so those entries were unusable until coordinates were added locally.