The raw data behind the story "The (Very) Long Tail Of Hurricane Recovery" https://projects.fivethirtyeight.com/sandy-311/
sandy_311
A data frame with 1783 rows representing dates and 25 variables:
Date
No description provided.
The number of emergency hotline (311) calls made to the Administration for Children's Services related to Hurricane Sandy on the given date
The number of emergency hotline (311) calls made to Building Protection Systems, Inc related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Community Affairs Unit related to Hurricane Sandy
The number of emergency hotline (311) calls made to the City Hall related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Department of Environmental Protection related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Department of Buildings related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Department of Education related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Department of Finance related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Department of Health and Mental Hygiene related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Department of Parks and Recreation related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Federal Emergency Management Agency related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Department of Housing Preservation and Development related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Human Resources Administration related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Mayor's Fund to Advance NYC related to Hurricane Sandy
The number of emergency hotline (311) calls made to the Mayor's Office of Special Enforcement related to Hurricane Sandy
The number of emergency hotline (311) calls made to Emergency Management related to Hurricane Sandy
The number of emergency hotline (311) calls made to the New York City Housing Authority related to Hurricane Sandy
The number of emergency hotline (311) calls made to NYC Service related to Hurricane Sandy
The number of emergency hotline (311) calls made to the New York Police Department related to Hurricane Sandy
The number of emergency hotline (311) calls made to the NYC Department of Labor related to Hurricane Sandy
The number of emergency hotline (311) calls made to Small Business Services related to Hurricane Sandy
The number of emergency hotline (311) calls made to NYS Emergency Management related to Hurricane Sandy
The total number of emergency hotline (311) calls made related to Hurricane Sandy
Data from NYC Open Data https://data.cityofnewyork.us/City-Government/311-Call-Center-Inquiry/tdd6-3ysr, Agency acronyms from the Data Dictionary. See also https://github.com/fivethirtyeight/data/tree/master/sandy-311-calls
# To convert data frame to tidy data (long) format, run: library(dplyr) library(tidyr) sandy_311_tidy <- sandy_311 %>% pivot_longer(-c("date", "total"), names_to = "agency", values_to = "num_calls") %>% arrange(date) %>% select(date, agency, num_calls, total) %>% rename(total_calls = total) %>% mutate(agency = as.factor(agency))