Dataset Viewer
Auto-converted to Parquet Duplicate
sequence_id
stringlengths
34
34
stream_id
stringclasses
1 value
window_start
stringdate
2023-01-01 00:00:00
2023-09-13 00:00:00
window_end
stringdate
2023-01-02 00:00:00
2023-09-14 00:00:00
time_axis
stringclasses
1 value
source_timezone
stringclasses
1 value
t0
float64
0
0
t1
float64
1
1
times
listlengths
6.12k
11.5k
locations
listlengths
6.12k
11.5k
event_ids
listlengths
6.12k
11.5k
marks
listlengths
6.12k
11.5k
event_metadata
dict
urban_nyc311_2023_20230101T000000Z
urban_nyc311_2023
2023-01-01 00:00:00
2023-01-02 00:00:00
local_civil
America/New_York
0
1
[3.0496799768518517e-6,0.0001042451384375,0.0004946719411111112,0.0005313139422916666,0.000538076164(...TRUNCATED)
[[-73.87361356231048,40.72762987830367],[-73.97364216306418,40.64091477977672],[-73.91770920479841,4(...TRUNCATED)
["56416396","56417527","56416252","56418795","56418136","56413896","56415045","56417406","56418977",(...TRUNCATED)
[70,89,119,90,119,166,80,80,119,15,1,90,89,120,115,197,119,62,89,119,90,89,119,80,89,89,119,119,120,(...TRUNCATED)
{"source_time_raw":["2023-01-01T00:00:00.000","2023-01-01T00:00:09.000","2023-01-01T00:00:42.000","2(...TRUNCATED)
urban_nyc311_2023_20230102T000000Z
urban_nyc311_2023
2023-01-02 00:00:00
2023-01-03 00:00:00
local_civil
America/New_York
0
1
[8.141019108796296e-6,0.00021092441068287036,0.00027996291871527776,0.0003071647494791667,0.00037015(...TRUNCATED)
[[-74.11276598978917,40.5674611130397],[-74.13676368427593,40.55747962087701],[-73.95045097086839,40(...TRUNCATED)
["56425635","56418514","56418881","56417994","56412575","56420447","56423380","56415867","56413477",(...TRUNCATED)
[70,120,115,119,120,80,129,15,90,90,159,120,90,119,119,115,119,119,119,148,119,115,80,119,80,148,119(...TRUNCATED)
{"source_time_raw":["2023-01-02T00:00:00.000","2023-01-02T00:00:18.000","2023-01-02T00:00:24.000","2(...TRUNCATED)
urban_nyc311_2023_20230103T000000Z
urban_nyc311_2023
2023-01-03 00:00:00
2023-01-04 00:00:00
local_civil
America/New_York
0
1
[1.7460946527777778e-6,1.8148595138888888e-6,3.3820742939814817e-6,4.508366469907407e-6,4.6053694907(...TRUNCATED)
[[-73.88210763152644,40.845377030141535],[-73.97273262602465,40.78570619851664],[-73.97731077134196,(...TRUNCATED)
["56429917","56526186","56422754","56426360","56430855","56426376","56432125","56426375","56423162",(...TRUNCATED)
[70,70,44,70,70,70,70,70,15,62,90,182,182,125,80,119,80,90,90,90,44,44,90,90,121,85,90,15,119,120,90(...TRUNCATED)
{"source_time_raw":["2023-01-03T00:00:00.000","2023-01-03T00:00:00.000","2023-01-03T00:00:00.000","2(...TRUNCATED)
urban_nyc311_2023_20230104T000000Z
urban_nyc311_2023
2023-01-04 00:00:00
2023-01-05 00:00:00
local_civil
America/New_York
0
1
[5.70555300925926e-7,1.9261844328703705e-6,4.033302916666667e-6,4.224483125e-6,4.910021064814815e-6,(...TRUNCATED)
[[-73.94115271084144,40.70091454133748],[-73.98000502242871,40.64256842304064],[-73.99215411867152,4(...TRUNCATED)
["56443158","56439791","56436473","56436738","56436640","56436349","56438006","56440497","56440007",(...TRUNCATED)
[70,70,70,70,70,70,70,70,70,70,70,70,90,90,90,107,119,85,107,179,85,90,107,90,15,90,80,119,107,120,1(...TRUNCATED)
{"source_time_raw":["2023-01-04T00:00:00.000","2023-01-04T00:00:00.000","2023-01-04T00:00:00.000","2(...TRUNCATED)
urban_nyc311_2023_20230105T000000Z
urban_nyc311_2023
2023-01-05 00:00:00
2023-01-06 00:00:00
local_civil
America/New_York
0
1
[1.3288933449074074e-6,1.4664972685185185e-6,2.0031525347222223e-6,2.0485782175925925e-6,2.641341365(...TRUNCATED)
[[-73.98916481987223,40.75298338120582],[-73.98443446564391,40.7467138351899],[-74.12109626969594,40(...TRUNCATED)
["56446511","56451543","56451495","56446628","56436664","56451388","56450379","56447628","56453563",(...TRUNCATED)
[70,70,70,70,70,70,70,70,70,119,80,182,182,132,119,119,62,120,197,114,119,119,15,179,120,129,192,37,(...TRUNCATED)
{"source_time_raw":["2023-01-05T00:00:00.000","2023-01-05T00:00:00.000","2023-01-05T00:00:00.000","2(...TRUNCATED)
urban_nyc311_2023_20230106T000000Z
urban_nyc311_2023
2023-01-06 00:00:00
2023-01-07 00:00:00
local_civil
America/New_York
0
1
[1.8909971064814815e-6,2.497230138888889e-6,4.1263551851851855e-6,4.4591174884259256e-6,5.2213855324(...TRUNCATED)
[[-73.92246910893722,40.81730534888352],[-73.95639366190568,40.76727300837825],[-73.94211725386636,4(...TRUNCATED)
["56458658","56458229","56459940","56458322","56456542","56457410","56454131","56454984","56459655",(...TRUNCATED)
[70,70,70,70,70,70,70,70,70,70,115,90,120,90,119,119,30,119,115,90,30,182,120,120,80,120,90,119,119,(...TRUNCATED)
{"source_time_raw":["2023-01-06T00:00:00.000","2023-01-06T00:00:00.000","2023-01-06T00:00:00.000","2(...TRUNCATED)
urban_nyc311_2023_20230107T000000Z
urban_nyc311_2023
2023-01-07 00:00:00
2023-01-08 00:00:00
local_civil
America/New_York
0
1
[1.3034197222222223e-6,4.140547789351852e-6,4.247859363425926e-6,6.624565833333333e-6,7.259221111111(...TRUNCATED)
[[-73.94217412144091,40.81228858616655],[-73.87340385504028,40.7487560281102],[-73.88189409633382,40(...TRUNCATED)
["56463615","56454832","56467342","56467017","56470513","56469897","56465357","56463103","56461196",(...TRUNCATED)
[70,70,70,70,70,70,70,121,90,90,115,121,90,90,90,119,90,119,120,119,115,119,15,119,120,119,120,90,11(...TRUNCATED)
{"source_time_raw":["2023-01-07T00:00:00.000","2023-01-07T00:00:00.000","2023-01-07T00:00:00.000","2(...TRUNCATED)
urban_nyc311_2023_20230108T000000Z
urban_nyc311_2023
2023-01-08 00:00:00
2023-01-09 00:00:00
local_civil
America/New_York
0
1
[3.7013416435185184e-6,3.929411585648148e-6,5.426973622685185e-6,5.579630138888889e-6,6.435223946759(...TRUNCATED)
[[-73.9921067617765,40.75006595421169],[-73.99432188652256,40.71829281498991],[-73.88419381828966,40(...TRUNCATED)
["56471929","56473814","56477251","56472091","56475925","56473602","56471351","56471076","56471035",(...TRUNCATED)
[70,70,70,70,70,70,70,70,70,70,115,119,148,119,119,119,119,15,80,3,119,80,121,120,119,120,119,90,115(...TRUNCATED)
{"source_time_raw":["2023-01-08T00:00:00.000","2023-01-08T00:00:00.000","2023-01-08T00:00:00.000","2(...TRUNCATED)
urban_nyc311_2023_20230109T000000Z
urban_nyc311_2023
2023-01-09 00:00:00
2023-01-10 00:00:00
local_civil
America/New_York
0
1
[7.934589814814814e-7,2.2691841435185184e-6,3.4188382175925925e-6,3.827220729166667e-6,4.01658203703(...TRUNCATED)
[[-73.99278788672076,40.759365197710416],[-73.91087563669419,40.67699635309129],[-73.94469056810513,(...TRUNCATED)
["56485477","56483697","56479535","56484507","56481387","56481935","56478439","56552722","56547029",(...TRUNCATED)
[70,70,70,70,70,70,70,70,70,70,70,80,90,121,119,119,119,90,119,100,100,33,80,119,3,80,90,90,119,15,1(...TRUNCATED)
{"source_time_raw":["2023-01-09T00:00:00.000","2023-01-09T00:00:00.000","2023-01-09T00:00:00.000","2(...TRUNCATED)
urban_nyc311_2023_20230110T000000Z
urban_nyc311_2023
2023-01-10 00:00:00
2023-01-11 00:00:00
local_civil
America/New_York
0
1
[3.611044212962963e-7,4.91620949074074e-7,2.596802199074074e-6,2.885618159722222e-6,3.57451070601851(...TRUNCATED)
[[-73.99730869442628,40.72210539386983],[-74.10784988598992,40.57894186939161],[-73.99298002793216,4(...TRUNCATED)
["56494486","56477484","56491783","56487388","56493315","56496023","56494944","56495285","56487018",(...TRUNCATED)
[70,59,70,70,70,70,70,70,70,70,70,70,70,70,70,90,119,15,120,90,90,90,45,121,80,166,90,80,41,90,1,62,(...TRUNCATED)
{"source_time_raw":["2023-01-10T00:00:00.000","2023-01-10T00:00:00.000","2023-01-10T00:00:00.000","2(...TRUNCATED)
End of preview. Expand in Data Studio

New York City 311 service requests, 2023

Part of the Seahorse spatio-temporal point-process (STPP) benchmark collection, release v1.0 (organisation seahorse-stpp).

Summary

Daily windows of NYC 311 service-request creations in 2023, with complaint type as a categorical mark.

Source and retrieval

Licence and attribution

Event data: provided by the City of New York (311 / OTI) through NYC Open Data and subject to the NYC Open Data Terms of Use (which incorporate the NYC.gov Terms of Use); no open licence is declared in the portal metadata. Our additions: CC BY 4.0.

Full texts and required notices: LICENSE, NOTICE.

What one event is

Creation of a 311 service request (reporting/intake process). Event IDs (event_ids) are the publisher's record identifiers.

Clock and time unit

Clock: local civil (wall-clock) time in America/New_York exactly as published; not converted to UTC (time_axis = local_civil). Local wall-clock coordinates encoded as nanoseconds from a naive epoch, NOT UTC instants. DST folds/gaps are unresolved in source data. Preserve this observation uncertainty; exclude/resolve affected windows before claiming physical-time likelihoods.

Time unit: day. times are fractional days since window_start, inside the half-open window [t0, t1) = [0, 1). Timestamp semantics: source local civil time; raw strings retained.

Sequence definition

One record (row) = one calendar day of a single chronological stream (stream_id), with window_start/window_end labels, t0/t1 bounds, and parallel per-event lists times, locations, event_ids (and marks / covariates / metadata where present). Windows are contiguous and non-overlapping; empty windows are retained. Windows are consecutive segments of one stream, not independent realizations: Windows belong to a single source stream. Preserve earlier history across scoring windows within the allowed split protocol; no independence claim.

Empty-window policy: Retained. Current event-only training may skip empty batches, but fixed-horizon count/exposure evaluation must retain them.

Splits

Chronological, half-open, event-ID disjoint: train [2023-01-01 00:00:00, 2023-09-14 00:00:00), validation [2023-09-14 00:00:00, 2023-10-20 00:00:00), test [2023-10-20 00:00:00, 2024-01-01 00:00:00). The file val.jsonl is exposed as the validation split (the hashed file names are unchanged).

Pinned SHA-256 (the bytes used in the Seahorse experiments; manifest nnstat_pegasus_v2, dataset nyc311):

file sha256
jittered_seed20260910/train.jsonl 496e3fd76aa9203eaebc455269bd43f9d3b3ec6fd76c10408e507f9b9edc1b52
jittered_seed20260910/val.jsonl 420a6b7df53080350fc92cdce494d8341235b8b636c9a9d32b83c5a605327169
jittered_seed20260910/test.jsonl 1f2a14e60f744ef1e829097a253818306ff77fa5b5fbcf08337749649abaf698
native/train.jsonl c6a6c95b83fc9fec82d12f1da69554f2a3232250414bdd977c78ed004839ea24
native/val.jsonl 4d389ee758b1583df77ad9b1cfa1bae21b314787f9a61c7203952f2565d82715
native/test.jsonl e37b3b6bc098390642fba4233f8947bfa06435ded177939ee8a9620686b413f2

CRS and spatial domain

locations[i] = [x, y] = [longitude, latitude], WGS84 degrees, not projected or rescaled. Declared domain (declared_city_validity_envelope): longitude [-74.3, -73.65], latitude [40.45, 40.95]. Use only as the source-preprocessing municipality validity envelope, not as an inferred physical observation boundary or empirical event extent. Empirical extent: x [-74.25495171973925, -73.70037631858673], y [40.4988067008969, 40.912868795316655]. The campaign's train-only affine input transform is in metadata/coordinate_transform.json.

Marks and covariates

marks[i] = integer code of source field complaint_type; training-only mapping with explicit unknown index (categorical_mark_mapping).

Temporal jitter (not anonymisation)

jittered_seed20260910 adds to every timestamp an independent uniform offset in [0, 1 s) (the source time resolution), drawn with NumPy default_rng(seed=20260910) over a stable (timestamp, event_id) order. Coordinates, marks, covariates and event IDs are unchanged, and the native view is never overwritten. The offset only breaks timestamp ties so that strict-order likelihood code can run; it is an assumption about an unobserved within-resolution order, not the publisher's measurement model.

The jitter is temporal only and is not anonymisation. Locations and identifiers are exactly those published by the source, and times move by less than 1 s. Do not pool NLLs from the jittered view with exact-time NLLs.

Recorded model: "Approximation only: treat recorded timestamp as left endpoint of a 1.0-second interval and sample an independent uniform nanosecond offset. This assumption is not asserted as the true publisher measurement model. NumPy default_rng seed=20260910 over stable (timestamp,event_id) order; coordinates unchanged."

Cleaning counts

step value
missing_or_invalid_time 0
missing_coordinate 48,579
zero_coordinate 0
outside_city_validity_envelope 0
accepted 3,176,144
outside_declared_observation_interval 0

No events were added, thinned or resampled. Coordinates are as published.

Statistics

split windows events empty windows events/window min / median / p95 / max
train 256 2,171,101 0 6123 / 8573 / 9744.75 / 11451
validation 36 348,054 0 6598 / 9496 / 12617 / 17789
test 73 656,989 0 5553 / 9193 / 11209.4 / 11385

Time ties (native timestamps, whole corpus). Adjacent tied pairs: 17.30% of adjacent pairs; events in a tied group: 27.12%; largest tie multiplicity: 51; on a whole minute: 10.7%; on a whole hour: 0.21%; with sub-second digits: 0.0%. Positive gaps (s) p05/p50/p95: 1 / 7 / 38.

Repeated locations (whole corpus). Distinct coordinate pairs: 557,899 for 3,176,144 events; events at a coordinate shared with another event: 92.6%; most events at one coordinate: 11,749.

split events at a coordinate repeated within the split val/test events at a coordinate also present in train
train 90.1% -
validation 76.4% 84.6%
test 83.2% 85.6%

A time tie is two or more events with the same native timestamp; a repeated location is two or more events at exactly the same coordinate pair. They are different phenomena and are reported separately. Continuous spatial-density likelihoods are unbounded above on data with repeated locations (a density can concentrate mass on a repeated point), so spatial NLLs on such data are not comparable to NLLs on continuous-location data unless a declared site/cell observation model is used.

Known issues

  • Daylight-saving days (local civil clock, America/* zones): the 2023-03-12 window covers 23 physical hours (02:00-03:00 local does not exist), and the 2023-11-05 window covers 25 physical hours, with the two passes through 01:00-02:00 local merged into one wall-clock hour (events of both passes interleave). Times are not converted to UTC; exclude or resolve these windows before claiming physical-time likelihoods.
  • Longest within-window gaps (hours, window, split): 1.0 h on 2023-03-12 (train); 0.1 h on 2023-08-16 (train); 0.1 h on 2023-03-16 (train).
  • Ties and repeated locations are properties of the source; see Statistics. Strict-order models need the jittered view (an approximation) or a binned/site observation model.

Intended and out-of-scope use

Intended use: benchmarking spatio-temporal point-process and event-forecasting methods (likelihood, sampling, count and calibration metrics) on a retrospective catalogue.

Out of scope: operational prediction about individuals or places; deployment for policing, patrol allocation, insurance, credit, housing or any decision about people or neighbourhoods; attempts to re-identify people, addresses or victims; treating the records as complete or unbiased measurements of underlying incidents (they are administrative reports shaped by reporting, recording and publication practice).

Files and loading

path content
jittered_seed20260910/{train,val,test}.jsonl split files, one window per line
native/{train,val,test}.jsonl split files, one window per line
metadata/dataset_meta.json corpus metadata: source, cleaning, native QC, variants and their hashes
metadata/<view>/dataset_meta.json, metadata/<view>/splits.json per-view schema, counts, split dates, mark mapping; sequence IDs per split
metadata/urban_qc.json builder QC summary (row accounting, native timestamps)
metadata/qa_v2.png, metadata/qa_v2.json QA figure (daily counts, coordinates, gaps) and its record
metadata/coordinate_transform.json coordinate-transform entry used by the campaign, with source hash
provenance/ source-snapshot provenance, builder scripts at build hash, frozen requirements, SHA256SUMS, REBUILD.md, manifest entry
verify.py stdlib hash check
from datasets import load_dataset
ds = load_dataset("seahorse-stpp/nyc311_stpp", "jittered_seed20260910", revision="v1.0")
row = ds["train"][0]            # one window
row["times"], row["locations"]  # parallel per-event lists

Other config(s): native.

How to verify

huggingface-cli download seahorse-stpp/nyc311_stpp --repo-type dataset --revision v1.0 --local-dir nyc311_stpp
cd nyc311_stpp && python verify.py        # pinned split files
python verify.py --all                # every file listed in provenance/SHA256SUMS

Citation

If you use this dataset, cite Seahorse and the source:

@inproceedings{aalaila2026seahorse,
  title     = {Seahorse: A Unified Benchmarking Framework for Spatiotemporal Event Modeling},
  author    = {Aalaila, Yahya and Vollmer, Sebastian and Gro{\ss}mann, Gerrit},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS 2026), Evaluations and Datasets Track},
  year      = {2026}
}

@misc{nyc311_stpp_source,
  author       = {{City of New York, NYC 311 / Office of Technology and Innovation}},
  title        = {311 Service Requests from 2020 to Present},
  howpublished = {\url{https://data.cityofnewyork.us/d/erm2-nwe9}},
  note         = {Open-data portal dataset erm2-nwe9; accessed 2026-09-10}
}

Contact and takedown

Questions, corrections and takedown requests (rights holders, publishers, data subjects): yahya.aalaila@dfki.de. We will correct or remove affected content promptly.

Citation

This dataset is part of Seahorse (NeurIPS 2026): https://arxiv.org/abs/2607.01022

@article{aalaila2026seahorse,
  title   = {Seahorse: A Unified Benchmarking Framework for Spatiotemporal Event Modeling},
  author  = {Aalaila, Yahya and Vollmer, Sebastian and Gro{\ss}mann, Gerrit},
  journal = {arXiv preprint arXiv:2607.01022},
  year    = {2026}
}
Downloads last month
270

Paper for seahorse-stpp/nyc311_stpp