Daniel Bachler
danielbachler.de
Daniel Bachler
@danielbachler.de
Head of Engineering at @ourworldindata.org; likes nuanced discourse, weird creatures and programming languages with ADTs
The way the other nations exports are calculated in Trumps "tariff" chart is so incredibly dumb
April 3, 2025 at 6:46 AM
Someone on x came up with this which seems really dumb and therefore plausible
April 2, 2025 at 10:37 PM
Using the Chart Data API is straightforward! Here’s an example Jupyter notebook that fetches data and metadata using Python:
colab.research.google.com/drive/1HDcqC...
November 21, 2024 at 10:13 AM
For developers, we’ve launched a new Chart Data API that provides the same data and metadata at predictable URLs (just append ".csv" or ".metadata.json" to any chart URL).
November 21, 2024 at 10:13 AM
The updates we’re announcing today make it even easier to work with our data. For spreadsheet users we now offer a ZIP file download package for every chart. The zip file includes the data in CSV format, metadata as JSON and a detailed README file.
November 21, 2024 at 10:13 AM
Here is what this looks like in practice to extract accommodation information from the html content of an email:
March 10, 2024 at 1:34 PM
When programming python, do yourself a favour and install the rich library and add this stanza so you get coloured stack traces (use show_locals to add or hide local variable values):
from rich.traceback import install
install(show_locals=True)
February 17, 2024 at 6:37 PM