- Trong tập dữ liệu này, chúng tôi có hơn 127000 hàng và 12 cột
- Restaurant Name: Tên nhà hàng
- Dining Rating: Đánh giá ăn uống
- Delivery Rating : Đánh giá giao hàng
- Dining Votes: Phiếu ăn uống
- Delivery Votes: Phiếu giao hàng
- Cuisine: ẩm thực
- Place Name: Tên địa điểm
- City: Thành phố
- Item Name: Tên mục
- Best seller: Người bán hàng giỏi nhất
- Vote: phiếu bầu
- Price: Giá cả; Đường link của Google Drive https://drive.google.com/drive/folders/1t1wrIA5Q-6Tp1GHVFN0a69KXsRgWTRe0
library(DT)
library(ggplot2)
library(readr)
vt <- read_csv("~/Phạm Thị Thu Thảo/vt.csv")
## Warning: One or more parsing issues, call `problems()` on your data frame for details,
## e.g.:
## dat <- vroom(...)
## problems(dat)
## Rows: 123657 Columns: 12
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (7): Restaurant Name, Cuisine, Place Name, City, Item Name, Best Seller,...
## dbl (5): Dining Rating, Delivery Rating, Dining Votes, Delivery Votes, Votes
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
View(vt)
head(vt)
## # A tibble: 6 × 12
## `Restaurant Name` `Dining Rating` `Delivery Rating` `Dining Votes`
## <chr> <dbl> <dbl> <dbl>
## 1 Doner King 3.9 4.2 39
## 2 Doner King 3.9 4.2 39
## 3 Doner King 3.9 4.2 39
## 4 Doner King 3.9 4.2 39
## 5 Doner King 3.9 4.2 39
## 6 Doner King 3.9 4.2 39
## # ℹ 8 more variables: `Delivery Votes` <dbl>, Cuisine <chr>,
## # `Place Name` <chr>, City <chr>, `Item Name` <chr>, `Best Seller` <chr>,
## # Votes <dbl>, `Prices;` <chr>
str(vt)
## spc_tbl_ [123,657 × 12] (S3: spec_tbl_df/tbl_df/tbl/data.frame)
## $ Restaurant Name: chr [1:123657] "Doner King" "Doner King" "Doner King" "Doner King" ...
## $ Dining Rating : num [1:123657] 3.9 3.9 3.9 3.9 3.9 3.9 3.9 3.9 3.9 3.9 ...
## $ Delivery Rating: num [1:123657] 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 ...
## $ Dining Votes : num [1:123657] 39 39 39 39 39 39 39 39 39 39 ...
## $ Delivery Votes : num [1:123657] 0 0 0 0 0 0 0 0 0 0 ...
## $ Cuisine : chr [1:123657] "Fast Food" "Fast Food" "Fast Food" "Fast Food" ...
## $ Place Name : chr [1:123657] "Malakpet" "Malakpet" "Malakpet" "Malakpet" ...
## $ City : chr [1:123657] "Hyderabad" "Hyderabad" "Hyderabad" "Hyderabad" ...
## $ Item Name : chr [1:123657] "Platter Kebab Combo" "Chicken Rumali Shawarma" "Chicken Tandoori Salad" "Chicken BBQ Salad" ...
## $ Best Seller : chr [1:123657] "BESTSELLER" "BESTSELLER" NA "BESTSELLER" ...
## $ Votes : num [1:123657] 84 45 39 43 31 48 27 59 29 31 ...
## $ Prices; : chr [1:123657] "249;" "129;" "189;" "189;" ...
## - attr(*, "spec")=
## .. cols(
## .. `Restaurant Name` = col_character(),
## .. `Dining Rating` = col_double(),
## .. `Delivery Rating` = col_double(),
## .. `Dining Votes` = col_double(),
## .. `Delivery Votes` = col_double(),
## .. Cuisine = col_character(),
## .. `Place Name` = col_character(),
## .. City = col_character(),
## .. `Item Name` = col_character(),
## .. `Best Seller` = col_character(),
## .. Votes = col_double(),
## .. `Prices;` = col_character()
## .. )
## - attr(*, "problems")=<externalptr>
datatable(vt)
## Warning in instance$preRenderHook(instance): It seems your data is too big for
## client-side DataTables. You may consider server-side processing:
## https://rstudio.github.io/DT/server.html