italian: Italian Restaurants Dataset

Description Usage Format Source Examples

Description

Italian Restaurants Dataset

Usage

1

Format

An object of class spec_tbl_df with 168 rows and 7 columns

restaurant

restaurant name

price

price in US dollars of a meal for two with a drink

food

food Zagat rating, scale 1-30

decor

decor Zagat rating, scale 1-30

service

service Zagat rating, scale 1-30

east

if restaurant is located east of 5th avenue, true(1) or false(0)

Source

http://gattonweb.uky.edu/sheather/book/docs/datasets/nyc.csv

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Fit price as a function of food
lm(price ~ food, data = italian)

## Calculate mean price
mean(italian$price)

## filter for resturant prices over $30
if (require(dplyr)) {
  dplyr::filter(italian, price > 30)
}

sunniraleigh/wetry documentation built on Nov. 14, 2019, 12:17 a.m.