City Safety Data: 311 and 911 Fire Calls for Five US Cities

Provider
Microsoft Azure Open Datasets (from city open data portals)
License
Custom (see each city's open data terms)
Stored at
Azure Blob Storage, https://azureopendatastorage.blob.core.windows.net/citydatacontainer/Safety/Release
Access
Free and public. No account with the data provider is needed.
Category
Urban & Civic
Source
https://learn.microsoft.com/azure/open-datasets/dataset-boston-safety

About City Safety Data: 311 and 911 Fire Calls for Five US Cities

Service requests and emergency calls for Boston, Chicago, New York City, San Francisco and Seattle, from as early as 2000 to December 2023, put into one Parquet schema by Microsoft from each city's open data portal.

One folder per city (city=Boston, city=Chicago, city=NewYorkCity, city=SanFrancisco, city=Seattle), each holding snappy Parquet files. Boston, Chicago and New York City have 311 service requests; San Francisco has 311 requests and 911 fire calls; Seattle has 911 fire calls. Coverage starts between 2000 and 2012 depending on the city and runs to December 2023, when Microsoft stopped refreshing it.

Columns: dataType, dataSubtype (311_All or 911_Fire), dateTime, category, subcategory, status, address, latitude, longitude, source, extendedProperties (the city's original fields as JSON).

About 2.1 GB in 67 files. Read anonymously from Azure Blob Storage.

How to access City Safety Data: 311 and 911 Fire Calls for Five US Cities in Python

import adlfs
fs = adlfs.AzureBlobFileSystem(account_name='azureopendatastorage', anon=True)
fs.ls('citydatacontainer/Safety/Release/')[:10]

Lists the files with anonymous access. Runs on any machine, with no cloud account.

Data structure

Files

Example file: city=Boston/_SUCCESS

Analyze this dataset without downloading it

On Scigantic, City Safety Data: 311 and 911 Fire Calls for Five US Cities opens in a hosted JupyterLab notebook with the data already mounted, so you can read files where they are stored instead of copying them first. Each notebook includes an AI assistant that can see the mounted files and write and run analysis code. Open the dataset page to launch a notebook, or browse the full catalog.

This page is also available as Markdown and as JSON.

Related Urban & Civic datasets