contoso: Dataset of the 'Contoso' Company
A collection of synthetic datasets simulating sales transactions from a fictional company. The dataset includes various related tables that contain essential business and operational data, useful for analyzing sales performance and other business insights. Key tables included in the package are:
- "sales": Contains data on individual sales transactions, including order details, pricing, quantities, and customer information.
- "customer": Stores customer-specific details such as demographics, geographic location, occupation, and birthday.
- "store": Provides information about stores, including location, size, status, and operational dates.
- "orders": Contains details about customer orders, including order and delivery dates, store, and customer data.
- "product": Contains data on products, including attributes such as product name, category, price, cost, and weight.
- "calendar": A time-based table that includes date-related attributes like year, month, quarter, day, and working day indicators.
The package also includes 1,127 fictional internal business reports (weekly sales flashes, monthly reviews, regional reviews, pricing committee minutes, annual operating plans and industry notes) written about the trading from 2016 to 2025 in the larger cloud dataset, with a glossary of the terms they use, for building and testing document search and financial planning and analysis workflows with large language models.
This dataset is ideal for practicing data analysis, performing time-series analysis, creating reports, or simulating business intelligence scenarios.
| Version: |
2.4.0 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
DBI, dplyr, cli, duckdb (≥ 1.4.0), purrr, tibble, yaml12 |
| Suggests: |
testthat (≥ 3.0.0), withr, dbplyr, yaml, knitr, quarto |
| Published: |
2026-10-30 |
| DOI: |
10.32614/CRAN.package.contoso |
| Author: |
Alejandro Hagan [aut, cre] |
| Maintainer: |
Alejandro Hagan <alejandro.hagan at outlook.com> |
| BugReports: |
https://codeberg.org/usrbinr/contoso/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://codeberg.org/usrbinr/contoso |
| NeedsCompilation: |
no |
| Citation: |
contoso citation info |
| Materials: |
README, NEWS |
| CRAN checks: |
contoso results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=contoso
to link to this page.