| Violations {mdsr} | R Documentation |
NYC Restaurant Health Violations
Description
NYC Restaurant Health Violations
Usage
Violations
ViolationCodes
Cuisines
Format
A data frame with 480,621 observations on the following 16 variables.
camisunique identifier
dbafull name doing business as
boroborough of New York
buildingbuilding name
streetstreet address
zipcodezipcode
phonephone number
inspection_dateinspection date
actionaction taken
violation_codeviolation code, see
ViolationCodesscoreinspection score
gradeinspection grade
grade_dategrade date
record_daterecording date
inspection_typeinspect type
cuisine_codecuisine code, see
Cuisines
A data frame with 174 observations on the following 3 variables.
violation_codea factor with many levels
critical_flagis violation critical: a factor with levels
NYviolation_descriptionviolation description
A data frame with 84 observations on the following 2 variables.
cuisine_codea character vector
cuisine_descriptiona character vector
Source
NYC Open Data, https://data.cityofnewyork.us/Health/DOHMH-New-York-City-Restaurant-Inspection-Results/43nn-pn8j/
See Also
Examples
data(Violations)
if (require(dplyr)) {
Violations %>%
inner_join(Cuisines, by = "cuisine_code") %>%
filter(cuisine_description == "American") %>%
arrange(grade_date) %>%
head()
}
[Package mdsr version 0.2.7 Index]