Switch branches/tags
Nothing to show
Find file History
Latest commit 9e6c424 Feb 9, 2018
Failed to load latest commit information.
Readme.md update READMEs Feb 9, 2018
sandy-311-calls-by-day.csv sandy data Sep 19, 2017


Sandy 311 Calls

This folder contains data behind the story The (Very) Long Tail Of Hurricane Recovery.

Data was collected from the NYC OpenData website. The data dictionary, hosted on the city's website, contains an "Agency List" tab with the full form of each agency's acronym.

You can recreate this spreadsheet by downloading all the data from Oct. 2012 to today from that site (warning: it's very large), and running the following R code:

allCalls <- read.csv('DOWNLOADED_DATA_HERE')

justSandy <- allCalls[grepl("Sandy", allCalls$BRIEF_DESCRIPTION),]

justSandy$date <- mdy(justSandy$DATE)
bydate <- dcast(justSandy, date ~ AGENCY)