Smart Traffic Light Sensor Data

This dataset contains detailed, time-stamped sensor readings from urban traffic light systems, including vehicle and pedestrian counts, signal phases, queue lengths, and environmental conditions. It enables comprehensive analysis of traffic flow, signal optimization, and supports sustainability initiatives for smart city deployments. The dataset is ideal for real-time monitoring, predictive modeling, and urban planning applications.

  • opened 17 times
  • last updated 2 Nov 2025
  • by GoMask
The brief that made it

Real-time traffic flow analysis and congestion monitoring

Sample rows

preview · 8 of 120 rows · all 15 columns
sensor_idstringsignal_phasestringsignal_durationfloatemergency_vehicle_detectedbooleancountrystringintersection_idstringtimestampdatetimevehicle_countintegerpedestrian_countintegeraverage_vehicle_speedfloatqueue_lengthfloatweather_conditionstringlatitudefloatlongitudefloatcitystring
TLX_2041Ared92falseUSAINT_10012024-06-03T07:15:32Z351417.234.8clear40.7128-74.006New York
SEN-8352Xgreen62.4falseUKINT_20472024-06-03T07:17:00Z20632.58.3rain51.5074-0.1278London
TL_0019Zyellow4.7falseJapanINT_30122024-06-03T07:18:45Z3219.12.2cloudy35.6895139.6917Tokyo
TLX-9923Bred104.9falseFranceTWN_11232024-06-03T07:19:00Z561814.841cloudy48.85662.3522Paris
SEN_4895Tgreen50.6falseGermanyINT_90212024-06-03T07:20:21Z28841.312.5clear52.5213.405Berlin
TL-3455Ayellow3.8falseAustraliaTWN_65322024-06-03T07:21:13Z21381.9rain-33.8688151.2093Sydney
TL_8765Mred134falseIndiaINT_83722024-06-03T07:22:55Z76312.348.4fog19.07672.8777Mumbai
SEN-2018Kgreen75trueBrazilINT_40562024-06-03T07:23:49Z441737.921.3clear-23.5505-46.6333São Paulo

What the 120 rows show

from the 120-row sample

Yellow (signal phase) stands out: mean signal_duration is 4.9, against 83.0 for the rest.

  • 13%emergency_vehicle_detected = true
  • 59.0median signal_duration
  • 6weather conditions
  • 22median vehicle_count
  • 12median pedestrian_count
  • 16.2median average_vehicle_speed
Mean signal_duration by signal_phase120 rows
0100200110.0red44 rows4.9yellow34 rows54.8green42 rows
signal_duration120 rows, in bands of 20
020403571924998360100180signal_duration →

Median 59.0, from 2.0 to 180.0.

country120 rows · top 10 of 35 values
  1. USA11
  2. Japan10
  3. Italy8
  4. UK6
  5. Germany5
  6. Australia5
  7. India5
  8. Brazil5
  9. Russia5
  10. China5
15 columns by typefrom the column list below
  • string 6
  • integer 2
  • float 5
  • datetime 1
  • boolean 1

Columns

15 columns in four groups
blueprint · 15 columns
columntypedescriptionexample
Text 6 columns
sensor_idstringUnique identifier for the traffic light sensor deviceTLX_2041A
intersection_idstringUnique identifier for the intersection where the sensor is locatedINT_1001
signal_phasestringCurrent phase of the traffic signal (e.g., red, yellow, green)red · yellow · greenred
weather_conditionstringWeather condition at the time of the sensor reading6 values · optionalclear
citystringCity where the intersection is locatedNew York
countrystringCountry where the intersection is locatedUSA
Numbers 7 columns
vehicle_countintegerNumber of vehicles detected in the intersection during the signal phase0 or more35
pedestrian_countintegerNumber of pedestrians detected in the intersection during the signal phase0 or more · optional14
average_vehicle_speedfloatAverage speed of vehicles detected (in km/h) during the signal phase0 or more · optional17.2
queue_lengthfloatEstimated length of vehicle queue (in meters) at the intersection0 or more · optional34.8
signal_durationfloatDuration of the current signal phase (in seconds)0 or more92
latitudefloatLatitude coordinate of the intersection-90 to 9040.7128
longitudefloatLongitude coordinate of the intersection-180 to 180-74.006
Dates and times 1 column
timestampdatetimeDate and time when the sensor reading was recorded (UTC)2024-06-03T07:15:32Z
True or false 1 column
emergency_vehicle_detectedbooleanIndicates if an emergency vehicle was detected during the signal phaseoptionalfalse

Use it for

  • emergency vehi…13%16 of 120 rowsmean signal duration …110.0red4.9yellow54.8green

    A transportation dashboard

    The emergency_vehicle_detected rate, signal_duration by signal_phase and a breakdown of country. Excel, Power BI or Tableau.

  • Why do the 34 yellow rows have a mean signal_duration of 4.9?

    A root-cause class exercise

    Hand out the rows and one question. The answer is in the data, not in the brief.

  • A software demo

    Believable sensors with intersection_id, timestamp and signal_phase to fill a screen in front of a buyer.

Not quite right?

Make it yours.

Same 15 columns, your size and your rules. See 20 rows before you pay.

Preview 20 rows free

10,000 rows of yours: $12.99One-time. No subscription. All prices

This dataset120 rows15 columns
Yours10,000 rows15 columnscity: UK only

blueprint · smart-traffic-light-sensor-data

Behind this dataset

Same schema. As many rows as you need.

These 120 rows came out of a blueprint — 15 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.

Rules it was built with
  • Each record captures timestamp, intersection ID, vehicle count, pedestrian count, air quality index, and emergency override status.
  • Vehicle and pedestrian counts vary by time of day and simulated event (e.g., rush hour, public event).
  • Air quality index influenced by traffic volume and weather conditions.
  • Emergency override flag activated only during simulated incidents.
  • Intersection IDs must remain unique per row.
Rows
Open the blueprint in Data Factory

1 credit per row. New accounts start with 25 free credits.

Exports
CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
Licence
yours to use, including commercially
API slug
smart-traffic-light-sensor-data

What should your data show?

Preview 20 rows free
No signup. No card.