Open data: sales of a bakery and a coffee shop
Eight CSV tables and one JSON file with the sales indexes and shares of a real bakery (660 days, 2025-01-02 to 2026-10-25) and a real coffee shop (208 days) in San Luis Potosí, Mexico: by weekday, month, stretch of the month, hour and category, and the variation from one day to the next. They are free (CC BY 4.0): use them and cite the source. They carry no names, prices or amounts in pesos.
Updated: 2026-11-27
Download the tables
hora-pico.csv (CSV): The hour of the day with the most sales, on weekdays and at weekends.
participacion-por-categoria.csv (CSV): Share of sales of each product category.
fechas-especiales.csv (CSV): Sales index of special dates against a normal day (bakery only).
datos-abiertos.json: all the tables, the licence and the citation in one file (JSON)
All the tables are also in a single JSON file, with the licence and the citation inside.
What is in each file
| File | What it contains | Columns |
|---|---|---|
| indice-por-dia-de-la-semana.csv | Sales index of each weekday and its share of the week's sales. | dataset, weekday, weekday_name, index, sales_share_pct, days |
| indice-por-mes.csv | Sales index of the average day of each month against the average day of January to October of the same year (months with at least 20 days). | dataset, year, month, index, days |
| indice-por-dias-del-mes.csv | Average index of the days in each stretch of the month against the same weekday of the four weeks before and the four after. | dataset, day_group, index, days |
| variacion-diaria.csv | How far each day falls from what its weekday normally gives: percentiles of the index and the share of days close to normal. | dataset, group, days, p10, p25, p50, p75, p90, within_10_pct, within_20_pct |
| participacion-por-franja-horaria.csv | Share of the day's sales that falls in each band of hours, on weekdays and at weekends. | dataset, day_type, hour_band, sales_share_pct |
| hora-pico.csv | The hour of the day with the most sales, on weekdays and at weekends. | dataset, day_type, peak_hour |
| participacion-por-categoria.csv | Share of sales of each product category. | dataset, category, sales_share_pct |
| fechas-especiales.csv | Sales index of special dates against a normal day (bakery only). | dataset, date_es, date_en, index, days, years |
There are 115 rows in all. Each row says which of the two sources it comes from in the dataset column: bakery or coffee_shop.
What the numbers mean
- Index: 100 is “normal”. Depending on the table, normal is the average day of the point of sale, the average day of January to October or the same weekday of the four weeks before and the four after; each table says so in its description.
- Share: the percentage of sales that belongs to a day, an hour or a category.
- p10, p25, p50, p75 and p90: percentiles of each day's index against normal for its weekday (with the method of Excel's PERCENTILE); within_10_pct and within_20_pct, the percentage of days between 90 and 110 and between 80 and 120.
- Indexes are whole numbers and shares have one decimal.
| Table | Column | Meaning |
|---|---|---|
| indice-por-dia-de-la-semana | weekday | 1 = Monday ... 7 = Sunday |
| indice-por-dia-de-la-semana | weekday_name | name in English |
| indice-por-dia-de-la-semana | index | 100 = the average day of the point of sale |
| indice-por-dia-de-la-semana | sales_share_pct | % of the week's sales |
| indice-por-dia-de-la-semana | days | days used |
| indice-por-mes | year | year |
| indice-por-mes | month | month (1 to 12) |
| indice-por-mes | index | 100 = the average day of January to October |
| indice-por-mes | days | days used |
| indice-por-dias-del-mes | day_group | stretch of the month (for example 1-5) |
| indice-por-dias-del-mes | index | 100 = normal for that weekday |
| indice-por-dias-del-mes | days | days observed |
| variacion-diaria | group | all = every day; mon_thu = Monday to Thursday; fri_sun = Friday to Sunday |
| variacion-diaria | days | days compared |
| variacion-diaria | p10 | 10th percentile of the index (100 = normal) |
| variacion-diaria | p25 | 25th percentile |
| variacion-diaria | p50 | median |
| variacion-diaria | p75 | 75th percentile |
| variacion-diaria | p90 | 90th percentile |
| variacion-diaria | within_10_pct | % of days between 90 and 110 |
| variacion-diaria | within_20_pct | % of days between 80 and 120 |
| participacion-por-franja-horaria | day_type | weekday = Monday to Friday; weekend = Saturday and Sunday |
| participacion-por-franja-horaria | hour_band | band of hours (for example 18-20) |
| participacion-por-franja-horaria | sales_share_pct | % of the day's sales |
| hora-pico | day_type | weekday or weekend |
| hora-pico | peak_hour | start of the peak hour (0 to 23) |
| participacion-por-categoria | category | bakery = bread; pastry = cakes and pastry; coffee = coffee; other_drinks = other drinks; frappe = frappé; other = other; packaging = packaging |
| participacion-por-categoria | sales_share_pct | % of sales |
| fechas-especiales | date_es | date in Spanish |
| fechas-especiales | date_en | date in English |
| fechas-especiales | index | 100 = normal for that weekday |
| fechas-especiales | days | days observed |
| fechas-especiales | years | years with data |
Where they come from
- Bakery (bakery): a bakery in San Luis Potosí, Mexico; 660 days with sales from 2025-01-02 to 2026-10-25; 2 days were dropped as incomplete.
- Coffee shop (coffee_shop): a coffee shop in San Luis Potosí, Mexico; 208 days from 2026-04-01 to 2026-10-25; 1 day was dropped as incomplete.
- The last day of the data and the days with less than half the usual checks of their weekday were dropped.
- The full method, with examples and an Excel template to work it out with your own sales, is in the guides below.
Licence and how to cite
- Licence: Creative Commons Attribution 4.0 International (CC BY 4.0), https://creativecommons.org/licenses/by/4.0/.
- You may copy, share and adapt the data, commercially too, if you cite the source and say whether you made changes.
- Version 1.0, updated on 2026-11-27.
Suggested citation: Hornada (2026). Open sales data of a bakery and a coffee shop in San Luis Potosí: indexes and shares, version 1.0. Creative Commons Attribution 4.0 International (CC BY 4.0). https://hornadamx.com/en/open-data/
What these data are not
- They are not an average of Mexican bakeries: each source is a single business, and another business's figures may differ.
- Special dates have few days (1 to 4 per date): they are indicative, not a rule.
- They do not include the names of the businesses or their points of sale, prices, amounts in pesos or checks per day.
- They are not advice or a promise of results for your business.
Corrections and questions
If you find a mistake or want to use the data in another way, write to us on WhatsApp (button at the end of the page). When the data are updated, the version and the date on this page change.
Frequently asked questions
May I use these data in my article, thesis or presentation?
Yes, under the CC BY 4.0 licence: cite the source (there is a suggested citation on the page) and say if you changed anything.
Are the data from a specific bakery?
They are from a real bakery and a real coffee shop in San Luis Potosí, without their names; each source is a single business.
Do they carry prices or amounts?
No: only indexes, percentages and rounded counts.
Are they updated?
Yes; the version and the date on the page change when the data are updated.