Nothing
library(nycOpenData) library(dplyr) library(ggplot2)
The NYCHA Housing Maintenance Code Violations dataset provides information about maintenance violations in public housing developments across New York City.
This dataset is important because it helps researchers, policymakers, and residents understand housing conditions and identify patterns in maintenance issues.
data <- nyc_ha_violations() head(data)
data %>% count(boro_nm)
data %>% count(boro_nm) %>% ggplot(aes(x = boro_nm, y = n)) + geom_col() + labs( title = "Number of NYCHA Violations by Borough", x = "Borough", y = "Number of Violations" )
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.