powered by
NYC Restaurant Health Violations
ViolationsViolationCodesCuisines
ViolationCodes
Cuisines
A data frame with 480,621 observations on the following 16 variables.
unique identifier
full name doing business as
borough of New York
building name
street address
zipcode
phone number
inspection date
action taken
violation code, see ViolationCodes
inspection score
inspection grade
grade date
recording date
inspect type
cuisine code, see Cuisines
A data frame with 174 observations on the following 3 variables.
a factor with many levels
is violation critical: a factor with levels N, Y
N
Y
violation description
A data frame with 84 observations on the following 2 variables.
a character vector
ViolationCodes, Cuisines
data(Violations) if (require(dplyr)) { Violations |> inner_join(Cuisines, by = "cuisine_code") |> filter(cuisine_description == "American") |> arrange(grade_date) |> head() }
Run the code above in your browser using DataLab