Violations: NYC Restaurant Health Violations

ViolationsR 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.

camis

unique identifier

dba

full name doing business as

boro

borough of New York

building

building name

street

street address

zipcode

zipcode

phone

phone number

inspection_date

inspection date

action

action taken

violation_code

violation code, see ViolationCodes

score

inspection score

grade

inspection grade

grade_date

grade date

record_date

recording date

inspection_type

inspect type

cuisine_code

cuisine code, see Cuisines

A data frame with 174 observations on the following 3 variables.

violation_code

a factor with many levels

critical_flag

is violation critical: a factor with levels N, Y

violation_description

violation description

A data frame with 84 observations on the following 2 variables.

cuisine_code

a character vector

cuisine_description

a character vector

Source

NYC Open Data

See Also

ViolationCodes, Cuisines

Examples

data(Violations)
if (require(dplyr)) {
  Violations |>
    inner_join(Cuisines, by = "cuisine_code") |>
    filter(cuisine_description == "American") |>
    arrange(grade_date) |>
    head()
 }

beanumber/mdsr documentation built on Aug. 20, 2024, 12:45 p.m.