About dataseries
Switzerland's economic statistics are provided by many independent data providers. This website brings 70 datasets together in one place. Search for a dataset, plot it, download it, or import it into any software. The data stays under each provider's own license (see Licenses).
Where it comes from
A first version of dataseries was launched in 2016. Its homepage said it aimed "to end my lifelong struggle with Swiss data". What began as a hobby project is now a full rewrite maintained by cynkra.
The simple format behind it (a CSV for the data, a JSON for the metadata) grew out of swissdata, a joint effort with the KOF Swiss Economic Institute at ETH Zurich to make public data machine-readable without specialized infrastructure.
What it covers
The catalog spans national accounts, prices, the labour market, business sentiment, interest and exchange rates, financial markets, the external sector, money and banking, population, and payment systems. The full list is on the datasets page.
Only Swiss data is included. For international series, FRED and similar sources are the better place to look.
How it is built
Everything that fetches and publishes the data is public, in the dataseries-data repository. It holds the scraping logic, the code, and the data files as CSV, JSON and Parquet.
The API and the website live in a separate, private repository. The API is a read-only plumber2 API on top of DuckDB. The website is a TypeScript application that gets all its data through that same API.
There is an R package on CRAN and a Python package on PyPI. Any other software can read a CSV straight from the API; see Libraries and APIs.
Missing a dataset, or found an error? Open an issue on GitHub.
Thanks
Many people have contributed to dataseries and its predecessors over the years. Special thanks to Matthias Bannert for all the thinking and collaboration on swissdata; and to Severin Thöni, Thomas Knecht, Jannes Muenchow and Karolis Koncevičius for their contributions to earlier versions of dataseries.