Sandwich data

Every dataset One Sandwich publishes: what it holds, how many rows, when it last changed, and the terms. Some are open. The rest are available on request.

Loading the current counts…

Datasets

Each row is one dataset. "Open" needs no key. "Key" is available on request.

DatasetWhat it holdsRowsHow often it changesAccess and termsWhere
Loading… If this stays, the list is also at api.onesandwich.com/v1/datasets.

Files at fixed addresses

These addresses do not change. Each file is built from the current data when you ask for it. The manifest lists every file with its size, date and SHA-256.

FileDatasetSizeData as ofTerms
Loading…

Load a file in one line

Google Sheets

=IMPORTDATA("https://api.onesandwich.com/data/v1/big-mac-index.csv")

Python

import pandas as pd
df = pd.read_csv("https://api.onesandwich.com/data/v1/big-mac-index.csv")

R

df <- read.csv("https://api.onesandwich.com/data/v1/big-mac-index.csv")

Excel (Power Query)

= Csv.Document(Web.Contents("https://api.onesandwich.com/data/v1/big-mac-index.csv"), [Delimiter=",", Encoding=65001])

Command line

curl -O https://api.onesandwich.com/data/v1/sandwiches-sample.json

Terms and credit

One Sandwich's own data

The sandwich catalog, shop menus as read, historic recipes as read, the ingredient list and the Sandwich Score belong to One Sandwich.

  • Use in a product, a publication or a dataset is licensed for a fee, by written agreement. The key comes with the licence.
  • Every use credits One Sandwich, with a link where the medium allows one.
  • The sample and the pages of this site are free to read and to test with. They are not for republishing or for building a product on.
  • The price depends on what you build and how much data it uses. Say what you have in mind and you get a figure.

Credit lineData: One Sandwich (onesandwich.com)

Big Mac Index

The prices are The Economist's, published under CC BY 4.0. The daily dollar figure is One Sandwich's work on top of them and carries the same licence: free to use, including commercially, with credit.

Credit lineBig Mac Index: The Economist (CC BY 4.0); daily currency update by One Sandwich (onesandwich.com)

Chain branch locations

Branch points come from OpenStreetMap under the Open Database Licence 1.0. A database you build from them stays under that licence.

Credit line© OpenStreetMap contributors

What the data is, and what it is not

  • A Sandwich Score is One Sandwich's own reading of a build. It is an opinion worked out by a fixed method, and it can change when the method does.
  • A catalog sandwich has no recorded layer order, amounts or ingredient quality, so its build assumes the best order, regular amounts and medium quality.
  • Shop menus are read from each shop's own menu page. A menu can change before the nightly check sees it. The shops are in the San Francisco Bay Area.
  • Chain branch counts are what OpenStreetMap has mapped, which runs under the true number where mapping is thin.
  • The Big Mac Index holds The Economist's local prices fixed between its two releases a year. Only the exchange rate moves daily.

Changes

What will not change under /v1

  • Loading…

Change log