Public Space Occupancy IoT Logs
This dataset provides granular, time-stamped logs from occupancy sensors deployed in public spaces, including occupancy counts, environmental readings, and anomaly flags. It enables smart building operators and city planners to monitor real-time usage, detect unusual patterns, and optimize resource allocation for energy management, space utilization, and predictive maintenance. The schema supports robust analytics and operational insights for urban environments.
Sample rows
preview · 8 of 120 rows · all 19 columns| log_idstring | anomaly_typestring | humidity_percentfloat | anomaly_detectedboolean | location_postal_codestring | sensor_idstring | space_idstring | space_namestring | space_typestring | location_street_addressstring | location_citystring | location_statestring | location_countrystring | timestampdatetime | occupancy_statusboolean | occupancy_countinteger | sensor_battery_levelfloat | sensor_health_statusstring | temperature_celsiusfloat |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A12BC3D4-E5F6-7890 | none | 41.7 | false | 62701 | SENSOR-0011 | SPACE-101 | Main Lobby | lobby | 100 Main St | Springfield | IL | USA | 2024-06-03T08:07:25 | true | 8 | 92.1 | normal | 22.4 |
| B23CD4E5-F6A7-8901 | none | 43.8 | false | 62701 | SENSOR-0012 | SPACE-102 | Conference Room 1 | conference_room | 100 Main St | Springfield | IL | USA | 2024-06-03T08:12:59 | true | 3 | 97.5 | normal | 21.7 |
| C34DE5F6-A789-0123 | none | 48.5 | false | 62701 | SENSOR-0013 | SPACE-103 | Restroom A | restroom | 102 Main St | Springfield | IL | USA | 2024-06-03T08:15:31 | false | 0 | 88.9 | normal | 20.9 |
| D45EF6A7-8901-2345 | none | 42.1 | false | 62701 | SENSOR-0014 | SPACE-104 | East Hallway | hallway | 104 Main St | Springfield | IL | USA | 2024-06-03T08:20:33 | true | 2 | 95.2 | normal | 21.4 |
| E56FA7B8-9012-3456 | none | 53.2 | false | 62702 | SENSOR-0015 | SPACE-105 | Central Park | park | 200 Oak St | Springfield | IL | USA | 2024-06-03T08:25:12 | true | 15 | 86.7 | normal | 19.5 |
| F67AB8C9-0123-4567 | none | 46.9 | false | 62703 | SENSOR-0016 | SPACE-106 | Auditorium Alpha | auditorium | 300 Elm St | Springfield | IL | USA | 2024-06-03T08:35:03 | true | 52 | 90.6 | normal | 20.1 |
| G78BC9D0-1234-5678 | none | 39.5 | false | 62704 | SENSOR-0017 | SPACE-107 | Office 201 | office | 400 Pine St | Springfield | IL | USA | 2024-06-03T08:41:22 | true | 5 | 85.4 | normal | 21.9 |
| H89CD0E1-2345-6789 | none | 45.2 | false | 62521 | SENSOR-0018 | SPACE-108 | Lobby North | lobby | 500 Maple Ave | Decatur | IL | USA | 2024-06-03T08:49:10 | true | 10 | 92.9 | normal | 23.3 |
| I90DE1F2-3456-7890 | none | 50.6 | false | 62521 | SENSOR-0019 | SPACE-109 | Restroom B | restroom | 502 Maple Ave | Decatur | IL | USA | 2024-06-03T08:54:00 | false | 0 | 78.4 | normal | 20.5 |
| J01EF2A3-4567-8901 | none | 44 | false | 62522 | SENSOR-0020 | SPACE-110 | Hallway West | hallway | 600 Oak Ave | Decatur | IL | USA | 2024-06-03T09:01:12 | true | 1 | 83.2 | normal | 22.7 |
| K12FA3B4-5678-9012 | none | 55.6 | false | 62523 | SENSOR-0021 | SPACE-111 | Riverfront Park | park | 800 River Rd | Decatur | IL | USA | 2024-06-03T09:05:45 | true | 21 | 81.5 | normal | 18.8 |
| L23AB4C5-6789-0123 | none | 47.8 | false | 62521 | SENSOR-0022 | SPACE-112 | Auditorium Beta | auditorium | 900 Cedar St | Decatur | IL | USA | 2024-06-03T09:10:31 | true | 38 | 88.3 | normal | 20.3 |
| M34BC5D6-7890-1234 | none | 40.8 | false | 62522 | SENSOR-0023 | SPACE-113 | Office 202 | office | 1000 Willow St | Decatur | IL | USA | 2024-06-03T09:16:58 | true | 7 | 77.9 | normal | 22.1 |
| N45CD6E7-8901-2345 | none | 52.2 | false | 61820 | SENSOR-0024 | SPACE-114 | Lobby South | lobby | 1200 Birch Ave | Champaign | IL | USA | 2024-06-03T09:24:04 | false | 0 | 84.7 | normal | 23.9 |
| O56DE7F8-9012-3456 | none | 49.3 | false | 61820 | SENSOR-0025 | SPACE-115 | Restroom C | restroom | 1202 Birch Ave | Champaign | IL | USA | 2024-06-03T09:29:12 | false | 0 | 80.1 | normal | 20.6 |
| P67EF8A9-0123-4567 | none | 44.2 | false | 61821 | SENSOR-0026 | SPACE-116 | Hallway North | hallway | 1300 Oak Rd | Champaign | IL | USA | 2024-06-03T09:37:19 | true | 1 | 78.4 | normal | 21.1 |
| Q78FA9B0-1234-5678 | none | 57.1 | false | 61822 | SENSOR-0027 | SPACE-117 | Lakeview Park | park | 1400 Lake St | Champaign | IL | USA | 2024-06-03T09:43:02 | true | 18 | 79.8 | normal | 18.5 |
| R89AB0C1-2345-6789 | none | 49 | false | 61823 | SENSOR-0028 | SPACE-118 | Auditorium Gamma | auditorium | 1500 Elm Rd | Champaign | IL | USA | 2024-06-03T09:47:55 | true | 33 | 87.2 | normal | 19.7 |
| S90BC1D2-3456-7890 | none | 43.4 | false | 61821 | SENSOR-0029 | SPACE-119 | Office 203 | office | 1600 Pine Rd | Champaign | IL | USA | 2024-06-03T09:52:13 | true | 6 | 76.5 | normal | 20.9 |
| T01CD2E3-4567-8901 | none | 40.3 | false | 61614 | SENSOR-0030 | SPACE-120 | Lobby East | lobby | 1700 Oak Ave | Peoria | IL | USA | 2024-06-03T10:01:05 | true | 9 | 88.9 | normal | 22.3 |
What the 120 rows show
from the 120-row sampleSensor_
- 13%anomaly_
detected = true - 47.0median humidity_
percent - 4sensor health statuses
- 8space types
- 9location states
- 21location cities
Sensor_
Median 47.0, from 34.5 to 65.2.
- string 12
- integer 1
- float 3
- datetime 1
- boolean 2
Columns
19 columns in four groups| column | type | description | example |
|---|---|---|---|
| Text 12 columns | |||
log_id | string | Unique identifier for each occupancy sensor log entryunique | A12BC3D4-E5F6-7890 |
sensor_id | string | Unique identifier for the IoT occupancy sensor | SENSOR-0011 |
space_id | string | Unique identifier for the public space being monitored | SPACE-101 |
space_name | string | Human-readable name of the public spaceoptional | Main Lobby |
space_type | string | Type of public space (e.g., lobby, conference_room, restroom, hallway, park)8 values | lobby |
location_street_address | string | Street address of the public spaceoptional | 100 Main St |
location_city | string | City where the public space is locatedoptional | Springfield |
location_state | string | State or region of the public space9 states · optional | IL |
location_postal_code | string | Postal code of the public spaceoptional | 62701 |
location_country | string | Country where the public space is locatedoptional | USA |
sensor_health_status | string | Operational status of the sensor (e.g., normal, maintenance_required, offline)normal · maintenance_required · offline · error · optional | normal |
anomaly_type | string | Type of anomaly detected (e.g., occupancy_spike, sensor_failure, data_gap)occupancy_spike · sensor_failure · data_gap · none · other · optional | none |
| Numbers 4 columns | |||
occupancy_count | integer | Number of people detected in the space at the time of logging0 or more · optional | 8 |
sensor_battery_level | float | Current battery level of the sensor as a percentage (0.0 - 100.0)0 to 100 · optional | 92.1 |
temperature_celsius | float | Ambient temperature in the space (Celsius) at the time of logging-40 to 85 · optional | 22.4 |
humidity_percent | float | Ambient relative humidity in the space (%) at the time of logging0 to 100 · optional | 41.7 |
| Dates and times 1 column | |||
timestamp | datetime | Date and time when the occupancy event was recorded | 2024-06-03T08:07:25 |
| True or false 2 columns | |||
occupancy_status | boolean | Indicates if the space is currently occupied (true) or unoccupied (false) | true |
anomaly_detected | boolean | Indicates if an anomaly was detected in occupancy or sensor readingsoptional | false |
Use it for
An energy dashboard
The anomaly_
detected rate, humidity_ percent by anomaly_ type and a breakdown of location_ postal_ code. Excel, Power BI or Tableau. Why do 15 of 120 rows have anomaly_
detected = true? A root-cause class exercise
Hand out the rows and one question. The answer is in the data, not in the brief.
- Logs120A12BC3D4-E5F6-789041.7nonebdbb45e5-6f43-4924-af6a-6c1d2d3a6e4455.4occupanc…a1d1e89c-0b5f-476c-94b7-2f2f1d4e4e9a40.3sensor_f…
A software demo
Believable logs with sensor_
id, space_ id and space_ name to fill a screen in front of a buyer.
blueprint · public-space-occupancy-iot-logs
Behind this dataset
Same schema. As many rows as you need.
These 120 rows came out of a blueprint — 19 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.
- Each row represents one sensor event with timestamp, sensor ID, and occupancy status.
- Sensor IDs are unique per location zone.
- Occupancy status is either 'vacant', 'occupied', or 'unknown'.
- Events with consecutive identical statuses are aggregated for efficiency.
- Anomaly flag is triggered if occupancy status changes rapidly within 10 minutes.
1 credit per row. Preview 20 rows free. Buy rows for the full run.
- Exports
- CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
- Licence
- yours to use, including commercially
- API slug
- public-space-occupancy-iot-logs