Contact center queueing (Erlang C)
Contact center queueing (Erlang C) is a free synthetic dataset of 2 tables and 2,404 rows, released under CC0. Its 1 key relationship joins with no orphans, and 4 questions come with the SQL that answers them.
4 queues, 2,400 half-hour intervals over a full business month, where agents_staffed is what Erlang C (1917) says is actually required to clear each queue's own SLA target, not a plausible-looking number.
A call_volume column and an agents_staffed column with no relationship between them can't test a workforce-management pipeline, because the whole point of WFM is that staffing is derived, not chosen independently. Here, agents_staffed is reverse-solved from Erlang C (computed via the numerically stable Erlang B recursion) to be the smallest agent count that clears the queue's declared SLA target, plus a real 20% shrinkage buffer. Wait probability, average speed of answer, and service level are the exact deterministic Erlang C formulas, recomputable from the raw columns. Abandonment follows the same expected-vs-realized split as the credit-risk dataset's expected_loss/realized_loss: a deterministic rate from a competing-exponentials wait/patience model, and a real Binomial draw for what actually happened.
- contact center
- Erlang C
- workforce management
- queueing theory
- WFM
Explore
Every table, profiled
Each column's type, spread, empties and most common values, measured from the CSVs in the download. Switch to the first rows to see the data exactly as it sits in the file.
intervals.csv
2,400 rows · 15 columns · 1 foreign keys
Keys
Every join resolves
1 foreign key, 2,400 references checked against the table each one points at. None points at a row that does not exist.
intervals
- queue_idqueues.queue_id2,400 rows checked0 orphans
Checks
What we checked
- every queue clears its own declared SLA target (75-90%) on 100% of its 600 intervals
- service_level_pct matches an independent Erlang C recomputation on all 2,400 intervals
- calls_answered + calls_abandoned equals offered_calls exactly, on all 2,400 intervals
- occupancy_pct and service_level_pct correlate at -0.31 (higher load, worse service)
- aggregate abandonment stays under 4.0% for every queue over the full month
- 0 orphaned foreign keys joining intervals to queues
The same checks ship in the zip as INTEGRITY.txt, so you can rerun them in any SQL engine. How we verify
Questions, answered
Worth asking it
Each answer is the query's result on these exact files. Open one for its SQL and rows, then check your own query against it.
1Does higher occupancy actually correlate with worse service level, the real Erlang relationship?Across every interval occupancy and service level correlate at -0.311.
select 'all queues' as queue_name, count(*) as intervals, round(corr(occupancy_pct, service_level_pct), 3) as corr_occupancy_service_level from intervals union all select q.queue_name, count(*), round(corr(i.occupancy_pct, i.service_level_pct), 3) from intervals i join queues q on q.queue_id = i.queue_id group by q.queue_name order by intervals desc, queue_namequeue_name intervals corr_occupancy_service_level all queues 2,400 -0.311 Billing Support 600 -0.123 Retention 600 -0.59 Sales 600 -0.213 Technical Support 600 -0.171 2How much staffing buffer (shrinkage) does it take to keep abandonment in an industry-plausible range?Staffed at Retention 2.45 agents per Erlang (4.0% abandoned), Billing Support 1.98 agents per Erlang (1.8% abandoned), Technical Support 1.96 agents per Erlang (1.7% abandoned), Sales 2.84 agents per Erlang (0.8% abandoned).
select q.queue_name, round(avg(i.agents_staffed), 1) as avg_agents, round(avg(i.traffic_intensity_erlangs), 1) as avg_erlangs, round(sum(i.agents_staffed) / sum(i.traffic_intensity_erlangs), 2) as agents_per_erlang, round(100.0 * sum(i.calls_abandoned) / sum(i.offered_calls), 2) as abandon_pct from intervals i join queues q on q.queue_id = i.queue_id group by q.queue_name order by abandon_pct descqueue_name avg_agents avg_erlangs agents_per_erlang abandon_pct Retention 5.4 2.2 2.45 3.97 Billing Support 9.9 5 1.98 1.8 Technical Support 10.3 5.2 1.96 1.73 Sales 7 2.5 2.84 0.81 3Does a realistic intraday call-volume curve break a naive flat-staffing assumption?Calls offered per half hour run from 11.1 to 27.5, 2.5x apart over the day.
select extract(hour from interval_start) as hour, round(avg(offered_calls), 1) as avg_offered_calls, round(avg(agents_staffed), 1) as avg_agents_staffed from intervals group by extract(hour from interval_start) order by hourhour avg_offered_calls avg_agents_staffed 8 11.3 5.6 9 16.7 7.1 10 21.7 8.5 11 25.2 9.4 12 27.5 10.1 13 27.5 10.1 14 25.2 9.5 15 21.4 8.5 16 17.1 7.2 17 11.1 5.5 4Which queue's SLA policy is hardest to hit given its volume and patience profile?Sales comes closest to missing: its worst half hour is 6.7 points above its 90% target.
select q.queue_name, q.sla_pct, q.sla_sec, q.patience_sec, round(avg(i.offered_calls), 1) as avg_offered_calls, round(avg(i.service_level_pct), 1) as avg_service_level_pct, round(min(i.service_level_pct), 1) as worst_service_level_pct, round(min(i.service_level_pct) - 100 * q.sla_pct, 1) as worst_margin_points from intervals i join queues q on q.queue_id = i.queue_id group by q.queue_name, q.sla_pct, q.sla_sec, q.patience_sec order by worst_margin_pointsqueue_name sla_pct sla_sec patience_sec avg_offered_calls avg_service_level_pct worst_service_level_pct worst_margin_points Sales 0.9 15 45 18.5 98.8 96.7 6.7 Billing Support 0.8 20 75 29.9 97.1 92.2 12.2 Technical Support 0.8 30 90 22.4 97.3 92.6 12.6 Retention 0.75 25 60 11.1 95.5 89.8 14.8
Every query runs on the files in the download as they are. ANSWERS.sql holds all of them; run it in DuckDB from the dataset's folder.
Use it
Take it, or make one shaped like yours
Rebuild it byte for byte
pip install misata curl -O https://raw.githubusercontent.com/rasinmuhammed/misata/main/examples/contact_center_queueing.py python -c "from contact_center_queueing import build, verify; t = build(n_business_days=30, seed=17); verify(t)"
This dataset reverse-solves staffing from Erlang C and models abandonment via a competing-exponentials wait/patience relationship, neither of which a per-column declared schema can express, so it ships as a runnable script rather than a schema.yaml a bare misata generate could regenerate honestly.
Your own tables, your own numbers
Describe the data you need in Studio and get connected tables with the totals you state, profiled like this and checked before you download.
Premium datasets
All premiumCard spending each month, debit and credit
2,500 US households at five banks and seven card issuers, two years
Five banks' raw statement lines, with every label behind them
Answer key
- description
- merchant_name
- category
- +6 more
- Rows
- 7,627,186
- Tables
- 14
- Checks
- 50 of 50
Free previewProfile and previewGross sales by month, 2024 against 2025
One online retailer, 30,377 customers, six markets, two years
Two years of an online store's orders, payments, returns and refunds, reconciled to the cent
- Rows
- 436,126
- Tables
- 7
- Checks
- 44 of 44
Free preview15-question projectProfile and previewMRR at each month's end
One SaaS company, 3,431 accounts, three years
Three years of one company's MRR, deals, customers, billing and support
- Rows
- 208,956
- Tables
- 12
- Checks
- 55 of 55
Free preview17-question projectProfile and preview
Related free datasets
All 9- Retail star schemaA dimensional model you can actually practise joins on: one fact table, four dimensions, 47,051 rows, every join resolving and every total known.47,051 rows · 5 tables
- Ecommerce storefrontA year of orders across five joined tables, with best sellers, heavy buyers, a real Q4 peak and totals that reconcile to the cent.49,493 rows · 5 tables
- B2B SaaS subscription analyticsAccounts, seats, MRR, churn and support load, where company size actually drives the plan.42,240 rows · 5 tables
- Credit risk portfolio3,000 borrowers and 4,200 commercial loans, where a credit rating actually predicts whether the loan defaults, at the rate S&P's own data says it should.7,200 rows · 2 tables
- Network intrusion / netflow500 hosts and 20,000 labeled flows, where a port scan, a DDoS flood, and a brute-force attempt each carry the real statistical signature their MITRE ATT&CK technique actually leaves in traffic.20,500 rows · 2 tables
- Clinical trial: sites, patients, visits and adverse eventsTwo trials across nine sites: enrolment, scheduled visits, dosing, lab biomarkers and graded adverse events, all in the right order.22,496 rows · 7 tables
Fully synthetic. No real person, company or transaction is represented, and no production data was read to make it. CC0: use it anywhere, no attribution needed.

