Auswahl von Charactern in Vectoren

Wie rufe ich R-Funktionen auf, wie selektiere ich Daten, ich weiß nicht genau ....

Moderatoren: EDi, jogo

Antworten
Hadsga
Beiträge: 21
Registriert: Di Aug 01, 2017 2:09 pm

Auswahl von Charactern in Vectoren

Beitrag von Hadsga »

Hallo,

ich habe eine Spalte in einem Dataframe, die in jeder Zeile einen Vektor mit Chractern beinhaltet.

Code: Alles auswählen

# A tibble: 144,072 x 1
                                                                                              categories
                                                                                                   <chr>
 1                                   "c(\"Tobacco Shops\", \"Nightlife\", \"Vape Shops\", \"Shopping\")"
 2 "c(\"Caterers\", \"Grocery\", \"Food\", \"Event Planning & Services\", \"Party & Event Planning\", \"
 3                                       "c(\"Restaurants\", \"Pizza\", \"Chicken Wings\", \"Italian\")"
 4 "c(\"Hair Removal\", \"Beauty & Spas\", \"Blow Dry/Out Services\", \"Hair Stylists\", \"Hair Extensio
 5                                   "c(\"Hotels & Travel\", \"Event Planning & Services\", \"Hotels\")"
 6                                                               "c(\"Nail Salons\", \"Beauty & Spas\")"
 7                                                          "c(\"Baby Gear & Furniture\", \"Shopping\")"
 8                                         "c(\"Tex-Mex\", \"Mexican\", \"Fast Food\", \"Restaurants\")"
 9                                                             "c(\"Local Services\", \"Self Storage\")"
10                                                                           "c(\"Food\", \"Bakeries\")"
# ... with 144,062 more rows

Mein Ziel ist die Character im gesamten Dataframe zu zählen, d.h. wie oft kommt z.B. der Character "Restaurant" vor. Mit der

Code: Alles auswählen

table()
Funktion komme ich nicht weiter, weil dann immer die nur gesamten Vektoren gezählt werden, aber nicht deren Inhalte.

VG
Hadsga
bigben
Beiträge: 2781
Registriert: Mi Okt 12, 2016 9:09 am

Re: Auswahl von Charactern in Vectoren

Beitrag von bigben »

Hi!

Das ist ein tibble, und damit nur zweitrangig ein Dataframe und das ist auch kein Vektor in jeder Zeile, sondern ein Text, der R Code enthält, der einen Vektor codiert.
Du müsstest quasi Zeile für Zeile Deines tibbles ausführen, um einen Vektor zu erstellen, diese Vektoren dann zu einem großen Vektor zusammenführen und könntest darüber dann table laufen lassen.

Vielleicht gibst Du uns einen kleinen Datensatz zum Spielen, indem Du in code-Tags das Ergebnis von

Code: Alles auswählen

dput(head(tibblename, 50))
postest.

LG,
Bernhard
---
Programmiere stets so, dass die Maxime Deines Programmierstils Grundlage allgemeiner Gesetzgebung sein könnte
Benutzeravatar
EDi
Beiträge: 1599
Registriert: Sa Okt 08, 2016 3:39 pm

Re: Auswahl von Charactern in Vectoren

Beitrag von EDi »

Wie schafft man denn das?!

as.character() mit dput() verbinden?
Ich vermute das Problem fängt vorher an.


Aber um das auszuschließen bitte mal ein str() und dput() von dem tibble posten...
Bitte immer ein reproduzierbares Minimalbeispiel angeben. Meinungen gehören mir und geben nicht die meines Brötchengebers wieder.

Dieser Beitrag ist lizensiert unter einer CC BY 4.0 Lizenz
Bild.
bigben
Beiträge: 2781
Registriert: Mi Okt 12, 2016 9:09 am

Re: Auswahl von Charactern in Vectoren

Beitrag von bigben »

EDi hat geschrieben: Do Aug 31, 2017 9:47 pmAber um das auszuschließen bitte mal ein str() und dput() von dem tibble posten...
Da sind 144072 Zeilen in dem tibble. Es muss also kein dput vom ganzen tibble sein...
---
Programmiere stets so, dass die Maxime Deines Programmierstils Grundlage allgemeiner Gesetzgebung sein könnte
Hadsga
Beiträge: 21
Registriert: Di Aug 01, 2017 2:09 pm

Re: Auswahl von Charactern in Vectoren

Beitrag von Hadsga »

Hi,

danke für die Antworten. Abei der Code:

Code: Alles auswählen


str(yelp_tbl)
Classes ‘tbl_df’, ‘tbl’ and 'data.frame':	144072 obs. of  16 variables:
 $ business_id : chr  "0DI8Dt2PJp07XkVvIElIcQ" "LTlCaCGZE14GuaUXUGbamg" "EDqCEAGXVGCH4FJXgqtjqg" "cnGIivYRLxpF7tBVR_JwWA" ...
 $ name        : chr  "Innovative Vapors" "Cut and Taste" "Pizza Pizza" "Plush Salon and Spa" ...
 $ neighborhood: chr  "" "" "Dufferin Grove" "" ...
 $ address     : chr  "227 E Baseline Rd, Ste J2" "495 S Grand Central Pkwy" "979 Bloor Street W" "7014 Steubenville Pike" ...
 $ city        : chr  "Tempe" "Las Vegas" "Toronto" "Oakdale" ...
 $ state       : chr  "AZ" "NV" "ON" "PA" ...
 $ postal_code : chr  "85283" "89106" "M6H 1L5" "15071" ...
 $ latitude    : num  33.4 36.2 43.7 40.4 43.7 ...
 $ longitude   : num  -111.9 -115.2 -79.4 -80.2 -79.4 ...
 $ stars       : num  4.5 5 2.5 4 3 2.5 3.5 2.5 4.5 3.5 ...
 $ review_count: int  17 9 7 4 8 3 8 9 11 3 ...
 $ is_open     : int  0 1 1 1 1 1 1 1 1 1 ...
 $ attributes  :List of 144072
  ..$ : chr  "BikeParking: True" "BusinessAcceptsBitcoin: False" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}" ...
  ..$ : chr  "BusinessAcceptsBitcoin: False" "BusinessAcceptsCreditCards: True"
  ..$ : chr  "Alcohol: none" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'touristy': False, 'trendy'"| __truncated__ "BikeParking: True" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr  "AcceptsInsurance: False" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}" "ByAppointmentOnly: True" ...
  ..$ : chr  "BusinessAcceptsCreditCards: True" "RestaurantsPriceRange2: 2" "WiFi: free"
  ..$ : chr  "BusinessAcceptsCreditCards: True" "ByAppointmentOnly: True" "RestaurantsPriceRange2: 3"
  ..$ : chr  "BikeParking: True" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}" "RestaurantsPriceRange2: 2" ...
  ..$ : chr  "Alcohol: none" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: True" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : chr  "BikeParking: True" "BusinessAcceptsCreditCards: False" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "RestaurantsDelivery: False" ...
  ..$ : NULL
  ..$ : chr  "Alcohol: none" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}" ...
  ..$ : chr  "BikeParking: True" "BusinessParking: {'garage': False, 'street': True, 'validated': False, 'lot': False, 'valet': False}" "RestaurantsPriceRange2: 1"
  ..$ : chr "ByAppointmentOnly: True"
  ..$ : NULL
  ..$ : chr  "BikeParking: True" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}" "RestaurantsPriceRange2: 2"
  ..$ : NULL
  ..$ : chr  "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "RestaurantsPriceRange2: 3"
  ..$ : chr  "BusinessAcceptsCreditCards: True" "RestaurantsPriceRange2: 2" "WiFi: free"
  ..$ : chr  "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': True, 'validated': False, 'lot': True, 'valet': False}" "RestaurantsDelivery: True" "RestaurantsPriceRange2: 2" ...
  ..$ : NULL
  ..$ : chr  "BusinessAcceptsCreditCards: True" "GoodForKids: True" "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': False, 'breakfast': False, 'brunch': False}" "RestaurantsAttire: casual" ...
  ..$ : NULL
  ..$ : chr "Caters: True"
  ..$ : chr  "BikeParking: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "ByAppointmentOnly: False" "GoodForKids: False"
  ..$ : chr  "Alcohol: none" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'touristy': False, 'trendy'"| __truncated__ "BikeParking: True" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr  "BusinessAcceptsCreditCards: True" "RestaurantsPriceRange2: 2" "WheelchairAccessible: True"
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : chr  "BikeParking: False" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}" "ByAppointmentOnly: True" ...
  ..$ : chr  "Alcohol: full_bar" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: True" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr  "AcceptsInsurance: True" "BusinessAcceptsCreditCards: True" "ByAppointmentOnly: False"
  ..$ : chr  "BusinessAcceptsCreditCards: False" "BusinessParking: {'garage': False, 'street': True, 'validated': False, 'lot': False, 'valet': False}" "RestaurantsPriceRange2: 1" "WiFi: free"
  ..$ : chr  "Alcohol: full_bar" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: False" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr  "Alcohol: full_bar" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BYOB: False" "BYOBCorkage: yes_free" ...
  ..$ : NULL
  ..$ : chr "BusinessAcceptsCreditCards: False"
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : chr  "Alcohol: full_bar" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}" "GoodForKids: True" ...
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : chr  "Alcohol: none" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" ...
  ..$ : chr  "Alcohol: full_bar" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: True" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr  "BusinessAcceptsCreditCards: True" "GoodForKids: True" "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': False, 'breakfast': False, 'brunch': False}" "HasTV: False" ...
  ..$ : chr  "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "OutdoorSeating: False" "RestaurantsPriceRange2: 1"
  ..$ : chr  "Alcohol: none" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: False" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr  "Alcohol: full_bar" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BestNights: {'monday': False, 'tuesday': False, 'friday': True, 'wednesday': False, 'thursday': False, 'sunday'"| __truncated__ "BikeParking: True" ...
  ..$ : chr  "BikeParking: False" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}" "RestaurantsPriceRange2: 1" ...
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : chr  "Alcohol: full_bar" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'touristy': False, 'trendy'"| __truncated__ "BikeParking: True" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr  "Alcohol: full_bar" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: True" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr  "Alcohol: none" "GoodForKids: True" "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': False, 'breakfast': False, 'brunch': False}" "OutdoorSeating: True" ...
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : NULL
  ..$ : chr  "Alcohol: none" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: True" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr  "BusinessAcceptsCreditCards: True" "ByAppointmentOnly: True" "GoodForKids: True" "RestaurantsPriceRange2: 2" ...
  ..$ : chr  "BikeParking: True" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "RestaurantsPriceRange2: 3"
  ..$ : chr  "BusinessAcceptsCreditCards: True" "ByAppointmentOnly: False"
  ..$ : chr  "GoodForKids: True" "RestaurantsDelivery: False" "RestaurantsReservations: True" "RestaurantsTableService: True" ...
  ..$ : chr  "BikeParking: True" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}" "RestaurantsPriceRange2: 2" ...
  ..$ : chr  "Alcohol: beer_and_wine" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "GoodForKids: True" ...
  ..$ : chr  "Alcohol: none" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: False" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : NULL
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : chr  "BikeParking: True" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "RestaurantsPriceRange2: 1"
  ..$ : chr  "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'touristy': False, 'trendy'"| __truncated__ "BusinessAcceptsCreditCards: True" "GoodForKids: True" "OutdoorSeating: False" ...
  ..$ : chr "GoodForKids: False"
  ..$ : chr  "BikeParking: True" "BusinessAcceptsCreditCards: True" "OutdoorSeating: True" "RestaurantsPriceRange2: 3" ...
  ..$ : chr  "BikeParking: True" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "RestaurantsPriceRange2: 2" ...
  ..$ : chr  "Alcohol: full_bar" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'touristy': False, 'trendy'"| __truncated__ "BestNights: {'monday': False, 'tuesday': True, 'friday': False, 'wednesday': True, 'thursday': True, 'sunday': "| __truncated__ "BikeParking: True" ...
  ..$ : NULL
  ..$ : chr  "Alcohol: none" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: True" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr  "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: False" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" ...
  ..$ : chr  "BikeParking: True" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': True, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "RestaurantsPriceRange2: 2" ...
  ..$ : NULL
  ..$ : chr  "BikeParking: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}"
  ..$ : chr  "BikeParking: False" "BusinessAcceptsCreditCards: True" "DriveThru: True" "GoodForKids: True" ...
  ..$ : chr  "BikeParking: True" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "ByAppointmentOnly: False" ...
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : chr  "BusinessAcceptsCreditCards: True" "RestaurantsPriceRange2: 2" "WiFi: free"
  ..$ : chr  "AgesAllowed: 19plus" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'touristy': False, 'trendy'"| __truncated__ "BikeParking: True" "CoatCheck: True" ...
  ..$ : chr  "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}" "DogsAllowed: True" "RestaurantsPriceRange2: 4" ...
  ..$ : NULL
  ..$ : chr  "Alcohol: full_bar" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: True" "BusinessAcceptsBitcoin: False" ...
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : chr  "Alcohol: full_bar" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BYOB: False" "BYOBCorkage: no" ...
  ..$ : chr  "Alcohol: full_bar" "BYOB: False" "BYOBCorkage: no" "BusinessAcceptsCreditCards: True" ...
  ..$ : chr  "Alcohol: none" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}" ...
  ..$ : chr  "Alcohol: full_bar" "BestNights: {'monday': False, 'tuesday': True, 'friday': True, 'wednesday': False, 'thursday': False, 'sunday':"| __truncated__ "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" ...
  ..$ : chr  "BikeParking: False" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "RestaurantsPriceRange2: 1"
  ..$ : chr "BusinessAcceptsCreditCards: False"
  ..$ : NULL
  ..$ : chr  "Alcohol: beer_and_wine" "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy':"| __truncated__ "BikeParking: True" "BusinessAcceptsBitcoin: False" ...
  ..$ : chr  "BikeParking: False" "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "DogsAllowed: False" ...
  ..$ : chr  "BusinessAcceptsCreditCards: True" "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}" "DietaryRestrictions: {'dairy-free': False, 'gluten-free': False, 'vegan': False, 'kosher': False, 'halal': Fals"| __truncated__ "RestaurantsPriceRange2: 3" ...
  ..$ : chr "BusinessAcceptsCreditCards: True"
  ..$ : chr  "BusinessAcceptsBitcoin: False" "BusinessAcceptsCreditCards: True" "DogsAllowed: True" "RestaurantsPriceRange2: 2" ...
  ..$ : NULL
  ..$ : chr "GoodForKids: True"
  .. [list output truncated]
 $ categories  :List of 144072
  ..$ : chr  "Tobacco Shops" "Nightlife" "Vape Shops" "Shopping"
  ..$ : chr  "Caterers" "Grocery" "Food" "Event Planning & Services" ...
  ..$ : chr  "Restaurants" "Pizza" "Chicken Wings" "Italian"
  ..$ : chr  "Hair Removal" "Beauty & Spas" "Blow Dry/Out Services" "Hair Stylists" ...
  ..$ : chr  "Hotels & Travel" "Event Planning & Services" "Hotels"
  ..$ : chr  "Nail Salons" "Beauty & Spas"
  ..$ : chr  "Baby Gear & Furniture" "Shopping"
  ..$ : chr  "Tex-Mex" "Mexican" "Fast Food" "Restaurants"
  ..$ : chr  "Local Services" "Self Storage"
  ..$ : chr  "Food" "Bakeries"
  ..$ : chr  "Nail Salons" "Hair Salons" "Beauty & Spas"
  ..$ : chr  "Hawaiian" "Restaurants" "Barbeque"
  ..$ : chr  "Shopping" "Bookstores" "Books" "Mags" ...
  ..$ : chr  "General Dentistry" "Health & Medical" "Dentists"
  ..$ : chr  "Leather Goods" "Fashion" "Watches" "Accessories" ...
  ..$ : chr  "Mobile Phones" "Computers" "Local Services" "Electronics" ...
  ..$ : chr  "Animal Shelters" "Pets"
  ..$ : chr  "Shoe Stores" "Fashion" "Men's Clothing" "Shopping"
  ..$ : chr  "Hotels & Travel" "Venues & Event Spaces" "Event Planning & Services" "Hotels"
  ..$ : chr  "Food" "Bakeries"
  ..$ : chr  "Sports Clubs" "Active Life"
  ..$ : chr  "Restaurants" "Cafes"
  ..$ : chr  "Local Services" "Funeral Services & Cemeteries"
  ..$ : chr  "Sandwiches" "Breakfast & Brunch" "Salad" "Restaurants"
  ..$ : chr  "Active Life" "Fitness & Instruction" "Yoga"
  ..$ : chr  "Fast Food" "Mexican" "Restaurants"
  ..$ : chr  "Shoe Stores" "Fashion" "Shopping"
  ..$ : chr  "Tires" "Automotive" "Auto Parts & Supplies" "Wheel & Rim Repair"
  ..$ : chr  "Electronics" "Professional Services" "Shopping" "Internet Service Providers" ...
  ..$ : chr  "Restaurants" "Italian" "Seafood"
  ..$ : chr  "Health & Medical" "Chiropractors"
  ..$ : chr  "Desserts" "Coffee & Tea" "Food"
  ..$ : chr  "Restaurants" "Mexican" "American (Traditional)"
  ..$ : chr  "Restaurants" "Waffles" "Southern" "Soul Food"
  ..$ : chr  "Auto Repair" "Automotive" "Oil Change Stations"
  ..$ : chr  "Auto Repair" "Automotive" "Body Shops"
  ..$ : chr  "Local Services" "Notaries" "Professional Services" "Shipping Centers" ...
  ..$ : chr  "Persian/Iranian" "Restaurants" "Ethnic Food" "Food" ...
  ..$ : chr  "Plumbing" "Home Services"
  ..$ : chr  "American (Traditional)" "Restaurants"
  ..$ : chr  "Thai" "Restaurants"
  ..$ : chr  "Tex-Mex" "Restaurants"
  ..$ : chr  "Food" "Coffee & Tea"
  ..$ : chr  "Breakfast & Brunch" "Sandwiches" "Restaurants"
  ..$ : chr  "American (New)" "Pubs" "Nightlife" "Bars" ...
  ..$ : chr  "Grocery" "Food"
  ..$ : chr  "Preschools" "Elementary Schools" "Local Services" "Child Care & Day Care" ...
  ..$ : chr  "Automotive" "Car Buyers" "Used Car Dealers" "Car Dealers"
  ..$ : chr  "Diners" "Italian" "Sandwiches" "Breakfast & Brunch" ...
  ..$ : chr  "American (New)" "Restaurants"
  ..$ : chr  "Food" "Fast Food" "Restaurants" "Juice Bars & Smoothies"
  ..$ : chr  "Food" "Bakeries"
  ..$ : chr  "Vietnamese" "Restaurants"
  ..$ : chr  "American (Traditional)" "Restaurants"
  ..$ : chr  "Hair Salons" "Hair Stylists" "Beauty & Spas"
  ..$ : chr  "Shopping" "Accessories" "Used" "Vintage & Consignment" ...
  ..$ : chr  "Hotels & Travel" "Home Services" "Hotels" "Apartments" ...
  ..$ : chr  "Indian" "Restaurants"
  ..$ : chr  "Specialty Schools" "Chocolatiers & Shops" "Party Supplies" "Candy Stores" ...
  ..$ : chr  "Restaurants" "Japanese" "Sushi Bars"
  ..$ : chr  "Breakfast & Brunch" "Restaurants"
  ..$ : chr  "Smog Check Stations" "Automotive"
  ..$ : chr  "Active Life" "Trainers" "Fitness & Instruction"
  ..$ : chr  "Interior Design" "Home Services" "Shades & Blinds"
  ..$ : chr  "Food" "Convenience Stores" "Grocery"
  ..$ : chr  "Filipino" "Restaurants"
  ..$ : chr  "Performing Arts" "Arts & Entertainment"
  ..$ : chr  "Coffee & Tea" "Food"
  ..$ : chr  "Shopping" "Vape Shops"
  ..$ : chr  "Nightlife" "Pubs" "Bars"
  ..$ : chr  "Shopping" "Hotels & Travel" "Travel Services"
  ..$ : chr  "Restaurants" "Vegetarian" "Indian"
  ..$ : chr  "American (New)" "Cafes" "Restaurants"
  ..$ : chr  "Sewing & Alterations" "Men's Clothing" "Shopping" "Local Services" ...
  ..$ : chr  "Pets" "Veterinarians"
  ..$ : chr  "Hiking" "Active Life" "Parks"
  ..$ : chr  "Restaurants" "Fast Food"
  ..$ : chr  "Countertop Installation" "Home Services" "Shopping" "Cabinetry" ...
  ..$ : chr  "Event Planning & Services" "Photographers"
  ..$ : chr  "Hotels & Travel" "Event Planning & Services" "Hotels"
  ..$ : chr  "Lounges" "Bars" "Nightlife" "Dance Clubs"
  ..$ : chr  "Shopping" "Mobile Phones"
  ..$ : chr  "Active Life" "Playgrounds"
  ..$ : chr  "Food" "Restaurants" "Breakfast & Brunch" "Coffee & Tea"
  ..$ : chr  "Body Shops" "RV Dealers" "Automotive" "Auto Repair"
  ..$ : chr  "Mexican" "Restaurants"
  ..$ : chr  "Pizza" "Italian" "Restaurants"
  ..$ : chr  "American (Traditional)" "Bakeries" "Food" "Restaurants"
  ..$ : chr  "Nightlife" "Dance Clubs"
  ..$ : chr  "Shopping" "Home & Garden" "Swimming Pools" "Active Life" ...
  ..$ : chr  "Sewing & Alterations" "Local Services"
  ..$ : chr  "Hotels & Travel" "Transportation" "Taxis"
  ..$ : chr  "Restaurants" "Breakfast & Brunch" "Burgers" "Sandwiches"
  ..$ : chr  "Chocolatiers & Shops" "Candy Stores" "Desserts" "Gelato" ...
  ..$ : chr  "Restaurants" "Fruits & Veggies" "Specialty Food" "Delicatessen" ...
  ..$ : chr  "Education" "Cooking Schools" "Specialty Schools" "Event Planning & Services" ...
  ..$ : chr  "Hotels" "Hotels & Travel" "Event Planning & Services"
  ..$ : chr  "Oil Change Stations" "Automotive"
  ..$ : chr  "Recreation Centers" "Active Life" "Trampoline Parks"
  .. [list output truncated]
 $ hours       :List of 144072
  ..$ : chr  "Monday 11:0-21:0" "Tuesday 11:0-21:0" "Wednesday 11:0-21:0" "Thursday 11:0-21:0" ...
  ..$ : chr  "Monday 0:0-0:0" "Tuesday 0:0-0:0" "Wednesday 0:0-0:0" "Thursday 0:0-0:0" ...
  ..$ : chr  "Monday 11:0-2:0" "Tuesday 11:0-2:0" "Wednesday 11:0-2:0" "Thursday 11:0-3:0" ...
  ..$ : chr  "Tuesday 10:0-21:0" "Wednesday 10:0-21:0" "Thursday 10:0-21:0" "Friday 10:0-18:0" ...
  ..$ : NULL
  ..$ : chr  "Monday 10:30-20:0" "Tuesday 10:30-20:0" "Thursday 10:30-20:0" "Friday 10:30-20:0" ...
  ..$ : chr  "Monday 10:0-18:0" "Tuesday 10:0-18:0" "Wednesday 10:0-18:0" "Thursday 10:0-18:0" ...
  ..$ : chr  "Monday 10:0-22:0" "Tuesday 10:0-22:0" "Wednesday 10:0-22:0" "Thursday 10:0-22:0" ...
  ..$ : chr  "Monday 9:30-18:0" "Tuesday 9:30-18:0" "Wednesday 9:30-18:0" "Thursday 9:30-18:0" ...
  ..$ : NULL
  ..$ : chr  "Monday 8:0-19:0" "Tuesday 8:0-19:0" "Wednesday 8:0-19:0" "Thursday 8:0-19:0" ...
  ..$ : chr  "Monday 11:0-21:30" "Tuesday 11:0-21:30" "Wednesday 11:0-21:30" "Thursday 11:0-21:30" ...
  ..$ : chr  "Monday 11:0-19:0" "Tuesday 11:0-19:0" "Wednesday 11:0-19:0" "Thursday 11:0-21:0" ...
  ..$ : NULL
  ..$ : chr  "Monday 10:0-21:0" "Tuesday 10:0-21:0" "Wednesday 10:0-21:0" "Thursday 10:0-21:0" ...
  ..$ : chr  "Monday 10:0-21:0" "Tuesday 10:0-21:0" "Wednesday 10:0-21:0" "Thursday 10:0-21:0" ...
  ..$ : NULL
  ..$ : NULL
  ..$ : chr  "Monday 0:0-0:0" "Tuesday 0:0-0:0" "Wednesday 0:0-0:0" "Thursday 0:0-0:0" ...
  ..$ : chr  "Monday 9:0-16:0" "Tuesday 9:0-16:0" "Wednesday 9:0-16:0" "Thursday 9:0-16:0" ...
  ..$ : NULL
  ..$ : NULL
  ..$ : NULL
  ..$ : chr  "Monday 6:30-17:0" "Tuesday 6:30-17:0" "Wednesday 6:30-17:0" "Thursday 6:30-17:0" ...
  ..$ : chr  "Monday 9:30-10:30" "Monday 12:0-13:0" "Monday 17:0-18:0" "Monday 18:30-19:30" ...
  ..$ : chr  "Monday 10:45-22:0" "Tuesday 10:45-22:0" "Wednesday 10:45-22:0" "Thursday 10:45-22:0" ...
  ..$ : NULL
  ..$ : chr  "Monday 8:0-18:0" "Tuesday 8:0-18:0" "Wednesday 8:0-18:0" "Thursday 8:0-18:0" ...
  ..$ : chr  "Monday 10:0-20:0" "Tuesday 10:0-20:0" "Wednesday 10:0-20:0" "Thursday 10:0-20:0" ...
  ..$ : chr  "Monday 16:0-22:0" "Tuesday 16:0-22:0" "Wednesday 16:0-22:0" "Thursday 16:0-22:0" ...
  ..$ : chr  "Monday 8:30-18:0" "Tuesday 8:30-12:0" "Wednesday 8:30-18:0" "Thursday 15:0-18:0" ...
  ..$ : NULL
  ..$ : chr  "Monday 11:0-22:0" "Tuesday 11:0-22:0" "Wednesday 11:0-22:0" "Thursday 11:0-22:0" ...
  ..$ : chr  "Monday 9:0-22:0" "Tuesday 9:0-22:0" "Wednesday 9:0-22:0" "Thursday 9:0-22:0" ...
  ..$ : chr  "Monday 9:15-18:0" "Tuesday 9:15-18:0" "Wednesday 9:15-18:0" "Thursday 9:15-18:0" ...
  ..$ : chr  "Monday 7:30-17:0" "Tuesday 7:30-17:0" "Wednesday 7:30-17:0" "Thursday 7:30-17:0" ...
  ..$ : chr  "Monday 9:0-17:0" "Tuesday 9:0-17:0" "Wednesday 9:0-17:0" "Thursday 9:0-17:0" ...
  ..$ : NULL
  ..$ : chr  "Monday 9:30-9:0" "Tuesday 9:30-9:0" "Wednesday 9:30-9:0" "Thursday 9:30-9:0" ...
  ..$ : NULL
  ..$ : chr  "Monday 11:0-21:30" "Tuesday 11:0-21:30" "Wednesday 11:0-21:30" "Thursday 11:0-21:30" ...
  ..$ : chr  "Monday 11:0-21:0" "Tuesday 11:0-21:0" "Wednesday 11:0-21:0" "Thursday 11:0-21:0" ...
  ..$ : NULL
  ..$ : NULL
  ..$ : NULL
  ..$ : NULL
  ..$ : chr  "Monday 8:30-16:0" "Tuesday 8:30-16:0" "Wednesday 8:30-16:0" "Thursday 8:30-16:0" ...
  ..$ : chr  "Monday 10:0-21:0" "Tuesday 10:0-21:0" "Wednesday 10:0-21:0" "Thursday 10:0-21:0" ...
  ..$ : chr  "Monday 0:0-0:0" "Tuesday 0:0-0:0" "Wednesday 0:0-0:0" "Thursday 0:0-0:0" ...
  ..$ : chr  "Monday 11:0-23:0" "Tuesday 11:0-23:0" "Wednesday 11:0-23:0" "Thursday 11:0-23:0" ...
  ..$ : chr  "Monday 7:30-17:30" "Tuesday 7:30-17:30" "Wednesday 7:30-17:30" "Thursday 7:30-17:30" ...
  ..$ : NULL
  ..$ : NULL
  ..$ : chr  "Monday 6:0-22:0" "Tuesday 6:0-22:0" "Wednesday 6:0-22:0" "Thursday 6:0-22:0" ...
  ..$ : chr  "Thursday 9:0-20:0" "Friday 9:0-20:0" "Saturday 9:0-16:0" "Sunday 9:0-17:0"
  ..$ : chr  "Monday 11:0-21:0" "Tuesday 11:0-21:0" "Wednesday 11:0-21:0" "Thursday 11:0-21:0" ...
  ..$ : chr  "Monday 10:0-18:0" "Tuesday 10:0-18:0" "Wednesday 10:0-18:0" "Thursday 10:0-18:0" ...
  ..$ : chr  "Monday 11:30-15:0" "Monday 17:0-23:0" "Tuesday 11:30-15:0" "Tuesday 17:0-23:0" ...
  ..$ : chr  "Tuesday 10:0-18:0" "Wednesday 10:0-18:0" "Thursday 10:0-19:0" "Friday 10:0-18:0" ...
  ..$ : NULL
  ..$ : chr  "Monday 7:0-22:0" "Tuesday 7:0-22:0" "Wednesday 7:0-22:0" "Thursday 7:0-22:0" ...
  ..$ : NULL
  ..$ : chr  "Monday 5:0-20:0" "Tuesday 5:0-20:0" "Wednesday 5:0-20:0" "Thursday 5:0-20:0" ...
  ..$ : chr  "Monday 9:0-19:0" "Tuesday 9:0-19:0" "Wednesday 9:0-19:0" "Thursday 9:0-19:0" ...
  ..$ : NULL
  ..$ : NULL
  ..$ : chr  "Thursday 19:0-22:0" "Friday 19:0-0:0" "Saturday 19:0-0:0" "Sunday 19:0-22:0"
  ..$ : NULL
  ..$ : chr  "Monday 10:0-22:0" "Tuesday 10:0-22:0" "Wednesday 10:0-22:0" "Thursday 10:0-22:0" ...
  ..$ : chr  "Monday 11:0-0:0" "Tuesday 11:0-0:0" "Wednesday 11:0-0:0" "Thursday 11:0-0:0" ...
  ..$ : chr  "Monday 9:0-18:0" "Tuesday 9:0-18:0" "Wednesday 9:0-18:0" "Thursday 9:0-18:0" ...
  ..$ : NULL
  ..$ : chr  "Wednesday 10:0-14:0" "Thursday 10:0-14:0" "Friday 10:0-14:0" "Saturday 10:0-14:0" ...
  ..$ : chr  "Monday 10:0-21:0" "Tuesday 10:0-21:0" "Wednesday 10:0-21:0" "Thursday 10:0-21:0" ...
  ..$ : NULL
  ..$ : NULL
  ..$ : NULL
  ..$ : chr  "Monday 8:0-17:0" "Tuesday 8:0-17:0" "Wednesday 8:0-17:0" "Thursday 8:0-17:0" ...
  ..$ : chr  "Monday 8:30-17:0" "Tuesday 8:30-17:0" "Wednesday 8:30-17:0" "Thursday 8:30-17:0" ...
  ..$ : NULL
  ..$ : chr  "Monday 17:0-2:30" "Tuesday 17:0-2:30" "Wednesday 17:0-2:30" "Thursday 17:0-2:30" ...
  ..$ : chr  "Monday 10:0-21:0" "Tuesday 10:0-21:0" "Wednesday 10:0-21:0" "Thursday 10:0-21:0" ...
  ..$ : NULL
  ..$ : chr  "Monday 6:0-14:0" "Tuesday 6:0-14:0" "Wednesday 6:0-14:0" "Thursday 6:0-14:0" ...
  ..$ : chr  "Monday 8:0-17:0" "Tuesday 8:0-17:0" "Wednesday 8:0-17:0" "Thursday 8:0-17:0" ...
  ..$ : chr  "Monday 11:0-23:0" "Tuesday 11:0-0:0" "Wednesday 11:0-23:0" "Thursday 11:0-23:0" ...
  ..$ : chr  "Tuesday 11:0-22:0" "Wednesday 11:0-22:0" "Thursday 11:0-22:0" "Friday 11:0-23:0" ...
  ..$ : NULL
  ..$ : NULL
  ..$ : chr  "Monday 9:0-18:0" "Tuesday 9:0-18:0" "Wednesday 9:0-18:0" "Thursday 9:0-18:0" ...
  ..$ : chr  "Monday 9:30-17:30" "Tuesday 9:30-17:30" "Wednesday 9:30-17:30" "Thursday 9:30-17:30" ...
  ..$ : NULL
  ..$ : chr  "Monday 6:30-22:0" "Tuesday 6:30-22:0" "Wednesday 6:30-22:0" "Thursday 6:30-22:0" ...
  ..$ : chr  "Monday 10:0-20:0" "Tuesday 10:0-20:0" "Wednesday 10:0-20:0" "Thursday 10:0-20:0" ...
  ..$ : chr  "Monday 9:30-18:30" "Tuesday 9:30-18:30" "Wednesday 9:0-15:0" "Thursday 9:30-18:30" ...
  ..$ : chr  "Monday 0:0-0:0" "Tuesday 0:0-0:0" "Wednesday 0:0-0:0" "Thursday 0:0-0:0" ...
  ..$ : chr  "Monday 9:0-9:0" "Tuesday 9:0-9:0" "Wednesday 9:0-9:0" "Thursday 9:0-9:0" ...
  ..$ : chr  "Monday 8:0-18:0" "Tuesday 8:0-18:0" "Wednesday 8:0-18:0" "Thursday 8:0-18:0" ...
  ..$ : chr  "Monday 11:0-20:0" "Tuesday 11:0-20:0" "Wednesday 10:0-20:0" "Thursday 11:0-20:0" ...
  .. [list output truncated]
 $ type        : chr  "business" "business" "business" "business" ...



Hadsga
Beiträge: 21
Registriert: Di Aug 01, 2017 2:09 pm

Re: Auswahl von Charactern in Vectoren

Beitrag von Hadsga »

Und...

Code: Alles auswählen

dput(head(yelp_tbl, 50))
structure(list(business_id = c("0DI8Dt2PJp07XkVvIElIcQ", "LTlCaCGZE14GuaUXUGbamg", 
"EDqCEAGXVGCH4FJXgqtjqg", "cnGIivYRLxpF7tBVR_JwWA", "cdk-qqJ71q6P7TJTww_DSA", 
"Q9rsaUiQ-A3NdEAloy0aJA", "Cu4_Fheh7IrzGiK-Pc79ig", "GDnbt3isfhd57T1QqU6flg", 
"qwAHit4Tuj1zpO7CxVwOMA", "Nbr0kbtIrVlEcKIZoXWbSw", "MFneYHieJ_lnjMeFUGKVbw", 
"42romV8altAeuZuP2OC1gw", "iaunX_af5M5lfT2eEm9FMQ", "Tc24GX9-ZPr4_SHU0nJZZA", 
"6EvETd9FVPJfhT_6AW9iEw", "DSWsjtAfLYw9a4MTz0kKLw", "SbfEPi-iR4ntf3wRQfxYyw", 
"YCsLfBVdLFeN2Necw1HPSA", "O_4OTnw48ULP5uZh6MqiOQ", "CE0dABv9sfrXjDIJugpU8A", 
"QQLW9IESGVMZR4lr09wNJg", "DNyYOxVAfu0oUcPNL1ljCQ", "0s03ippU5tXAxVV9ImjQvw", 
"a1Ba6XeIOP48e64YFD0dMw", "GVT9RQMCqPiHw231ncehFw", "826djy6K_9Fp0ptqJ2_Yag", 
"AGN788ObhwXu7rb8MEejIA", "lHYMeXf8JH1Q8Dazn9s3Gg", "sY_hAfwWzgr0sxyMgMB5Jg", 
"Mi5uhdFB9OJteXPd0_IKfw", "PCNeANrp7puV3nE-HI2JrQ", "XxjrqA5jrzLH0EdCKUG9Mw", 
"Uxh0fXFH_QQBivRnIBpdiw", "YPavuOh2XsnRbLfl0DH2lQ", "jjittNH37QbiDXipjwRFtA", 
"7cIRj82eLbyvNG43lemt1A", "XK5w8XnbP8CdeoB44kn1bg", "saWZO6hB4B8P-mIzS1--Xw", 
"P3LisOj7DktgGa7C5FYpnA", "vJ-KyaojDQj1R2BNrlDToA", "hovoWva_UjbnyLWEbnFvBw", 
"OLG7Gou8kmTLxogtJyP6ZQ", "p4VrKw8CufwzBbvJkuLksQ", "8Tq8l82FtDyHelc6C8FRzw", 
"93otbGHE0s0m-lU1osvg9w", "2VwwQup4Ko6tyDQeSYjC5Q", "wuEWLkSBt41K4m3k5ns_TA", 
"aTOJIPkbgH7mcXZWDtZeVg", "L_thK7r3K_h5M4tV7amEKQ", "LIvXzdMJrIb6IY5Y3tqicA"
), name = c("Innovative Vapors", "Cut and Taste", "Pizza Pizza", 
"Plush Salon and Spa", "Comfort Inn", "A Plus Nail", "Boomerang Baby", 
"Taco Bell", "CubeSmart Self Storage", "Sehne Backwaren", "Revv Illusions", 
"Ohana Hawaiian BBQ", "Encore Books and Records", "Canyon Ridge Endodontics", 
"Fossil Store", "Best Buy", "Woofs, Wiggles N Wags All Breed Rescue", 
"Stussy", "Holiday Inn Express & Suites Madison Central", "Graceful Cake Creations", 
"Canadian Chinese Table Tennis Association", "Chez Lionel", "Mayfield Cemetery", 
"La Prep", "Infinite Yoga", "Chipotle Mexican Grill", "Sheik Shoes", 
"Discount Tire Store - Charlotte, NC", "Verizon", "Carrabba's Italian Grill", 
"Gallagher Chiropractic", "I Deal Coffee", "Don Tequila", "Lo-Lo's Chicken & Waffles", 
"Leeson's 10 Minute Oil Change", "Dee Gainey's Body Shop", "Mail Link", 
"Kabob Palace", "Benjamin Franklin Plumbing", "East 74 Restaurant", 
"Thai Gourmet", "Z-Teca", "Tea Shop 168", "Pancake House", "Rivertowne", 
"Circle K", "Lil Einsteins Preschool", "CarMax", "Honey B Hives Restaurant", 
"Nan and Byron's"), neighborhood = c("", "", "Dufferin Grove", 
"", "Downtown Core", "", "", "", "", "", "", "", "Notre-Dame-de-Grâce", 
"", "", "", "", "Ossington Strip", "", "", "Milliken", "", "", 
"Ville-Marie", "", "Downtown Core", "Westside", "University City", 
"", "", "", "Leslieville", "", "", "", "", "", "Spring Valley", 
"West View", "", "", "The Beach", "Milliken", "", "North Side", 
"", "", "", "Scarborough", "South End"), address = c("227 E Baseline Rd, Ste J2", 
"495 S Grand Central Pkwy", "979 Bloor Street W", "7014 Steubenville Pike", 
"321 Jarvis Street", "30 Gibson Drive, Suite122", "10875 N Frankloyd Wright Blvd", 
"11072 No Frank Lloyd Wright", "11000 North 115th Street", "Hauptstr. 1", 
"2553 Wigwam Pkwy", "1500 N Green Valley Pkwy, Ste 230", "5670 Sherbrooke Rue W", 
"2525 W Carefree Hwy", "6801 North Lake Mall Drive, 173", "2500 Winston Park Drive, Unit A", 
"", "1000 Queen Street W", "610 John Nolen Dr", "330 S Gilbert Rd, Ste 15", 
"1181 Denison St", "1052 Lionel-Daunais, Suite 302", "2749 Mayfield Rd", 
"2000 Mansfield Street, Suite 104", "4870 Tomken Rd, Units 3-4", 
"123 Front St, Unit 103 and 103-A", "4300 Meadows Ln", "7850 N Tryon St", 
"9705 Sam Furr Rd, Ste B", "5646 W Bell Rd", "7810 Ballantyne Commons Pkwy, Ste 101", 
"1560 Queen St E", "2269 Kresge Dr", "1220 S Central Ave", "6881 W 130th St", 
"1537 S Mint St", "848 N Rainbow Blvd", "4811 S Rainbow Blvd", 
"451 Rochester Rd", "13801 Indian Trail Fairvie", "3732 Darrow Rd Ste 5", 
"2014 Queen Street E", "4300 Steeles Ave E", "1700 N Chester St", 
"337 N Shore Dr", "701 E Bethany Home Road", "3369 E Queen Creek Rd", 
"1480 E Motorplex Lp", "2816 Markham Road", "1714 S Blvd"), city = c("Tempe", 
"Las Vegas", "Toronto", "Oakdale", "Toronto", "Markham", "Scottsdale", 
"Scottsdale", "Scottsdale", "Stuttgart", "Henderson", "Henderson", 
"Montréal", "Phoenix", "Charlotte", "Oakville", "Scottsdale", 
"Toronto", "Madison", "Mesa", "Markham", "Boucherville", "Cleveland", 
"Montréal", "Mississauga", "Toronto", "Las Vegas", "Charlotte", 
"Huntersville", "Glendale", "Charlotte", "Toronto", "Amherst", 
"Phoenix", "Cleveland", "Charlotte", "Las Vegas", "Las Vegas", 
"Pittsburgh", "Indian Trail", "Stow", "Toronto", "Markham", "Gastonia", 
"Pittsburgh", "Phoenix", "Gilbert", "Gilbert", "Toronto", "Charlotte"
), state = c("AZ", "NV", "ON", "PA", "ON", "ON", "AZ", "AZ", 
"AZ", "BW", "NV", "NV", "QC", "AZ", "NC", "ON", "AZ", "ON", "WI", 
"AZ", "ON", "QC", "OH", "QC", "ON", "ON", "NV", "NC", "NC", "AZ", 
"NC", "ON", "OH", "AZ", "OH", "NC", "NV", "NV", "PA", "NC", "OH", 
"ON", "ON", "NC", "PA", "AZ", "AZ", "AZ", "ON", "NC"), postal_code = c("85283", 
"89106", "M6H 1L5", "15071", "M5B 2C2", "L3R 2S3", "85259", "85259", 
"85259", "70563", "89074", "89074", "H4A 1W7", "85085", "28216", 
"L6H 7E5", "", "M6J 1H1", "53713", "85204", "L3R 4B2", "J4B 0B2", 
"44106", "H3A 2Z6", "L4W 1J8", "M5J 2M2", "89107", "28262", "28078", 
"85308", "28277", "M4L 1E9", "44001", "85003", "44130", "28203", 
"89107", "89103", "15237", "28079", "44224", "M4L 1J3", "L3R 0Y5", 
"28052", "15212", "85014", "85297", "85297", "M1V 4C3", "28203"
), latitude = c(33.3782141, 36.1922841, 43.661054, 40.4445439533, 
43.6598286, 43.82764, 33.5852707, 33.58671, 33.5864403, 48.7299, 
36.0345795, 36.029596485, 45.4707675, 33.7967745, 35.3521284, 
43.5162547833, 33.6031328399, 43.644258153, 43.048623, 33.4091719, 
43.8311477, 45.590227, 41.513477, 45.5023462, 43.625834, 43.6449201, 
36.172259, 35.295623, 35.4430145734, 33.6393005153, 35.059117, 
43.6658792, 41.4161517, 33.4353717916, 41.3776431854, 35.2181627, 
36.1808408, 36.1010205, 40.5341627, 35.1420067, 41.1657087, 43.6703273526, 
43.8261994, 35.2818742, 40.4459861, 33.5234896, 33.262268, 33.2905879, 
43.8229818717, 35.212521), longitude = c(-111.936102, -115.1592718, 
-79.429089, -80.1745398943, -79.3754006, -79.342722, -111.8349538, 
-111.83541, -111.8325788, 9.11242, -115.0977701, -115.085821152, 
-73.6150299, -112.1154511, -80.8512352, -79.6859058738, -111.971311071, 
-79.4188293813, -89.376341, -111.7884179, -79.3222861, -73.430235, 
-81.5822419, -73.5738073, -79.6292708, -79.3833328, -115.1963237, 
-80.754429, -80.8639253676, -112.180893379, -80.811356, -79.3189651, 
-82.2076029, -112.073970304, -81.7843777709, -80.8619108, -115.241325, 
-115.2443122, -80.0498873, -80.5469564, -81.4413704, -79.2991900072, 
-79.3063174, -81.1883519, -80.0108802, -112.0646315, -111.716817, 
-111.7598551, -79.2479152131, -80.857639), stars = c(4.5, 5, 
2.5, 4, 3, 2.5, 3.5, 2.5, 4.5, 3.5, 5, 4, 5, 4, 3.5, 3, 4.5, 
2, 4.5, 5, 3.5, 3.5, 3.5, 4, 4, 3.5, 1.5, 4.5, 3, 3.5, 5, 4.5, 
3.5, 4, 4, 4.5, 4, 2.5, 4, 3, 3.5, 1.5, 2.5, 3.5, 3, 3, 4.5, 
3.5, 3.5, 3.5), review_count = c(17L, 9L, 7L, 4L, 8L, 3L, 8L, 
9L, 11L, 3L, 7L, 38L, 4L, 4L, 3L, 3L, 17L, 5L, 14L, 7L, 3L, 7L, 
3L, 3L, 6L, 68L, 4L, 18L, 7L, 119L, 6L, 4L, 22L, 1276L, 3L, 7L, 
14L, 15L, 8L, 5L, 68L, 4L, 3L, 22L, 102L, 6L, 7L, 66L, 118L, 
291L), is_open = c(0L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 
0L, 1L, 1L, 1L, 1L, 1L, 0L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 
1L, 1L, 1L, 1L, 0L, 1L, 1L, 1L, 1L, 1L, 0L, 1L, 0L, 1L, 0L, 1L, 
1L, 1L, 1L, 1L, 1L, 1L, 0L), attributes = list(c("BikeParking: True", 
"BusinessAcceptsBitcoin: False", "BusinessAcceptsCreditCards: True", 
"BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
"DogsAllowed: False", "RestaurantsPriceRange2: 2", "WheelchairAccessible: True"
), c("BusinessAcceptsBitcoin: False", "BusinessAcceptsCreditCards: True"
), c("Alcohol: none", "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': False}", 
"BikeParking: True", "BusinessAcceptsCreditCards: True", "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}", 
"Caters: True", "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': False, 'breakfast': False, 'brunch': False}", 
"HasTV: True", "NoiseLevel: quiet", "OutdoorSeating: False", 
"RestaurantsAttire: casual", "RestaurantsDelivery: True", "RestaurantsGoodForGroups: True", 
"RestaurantsPriceRange2: 1", "RestaurantsReservations: False", 
"RestaurantsTableService: False", "RestaurantsTakeOut: True", 
"WiFi: free"), c("AcceptsInsurance: False", "BusinessAcceptsCreditCards: True", 
"BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
"ByAppointmentOnly: True", "HairSpecializesIn: {'coloring': False, 'africanamerican': False, 'curly': False, 'perms': False, 'kids': False, 'extensions': False, 'asian': False, 'straightperms': False}", 
"RestaurantsPriceRange2: 3"), c("BusinessAcceptsCreditCards: True", 
"RestaurantsPriceRange2: 2", "WiFi: free"), c("BusinessAcceptsCreditCards: True", 
"ByAppointmentOnly: True", "RestaurantsPriceRange2: 3"), c("BikeParking: True", 
"BusinessAcceptsCreditCards: True", "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
"RestaurantsPriceRange2: 2", "WheelchairAccessible: True"), c("Alcohol: none", 
"Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': False}", 
"BikeParking: True", "BusinessAcceptsCreditCards: True", "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}", 
"DriveThru: True", "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': False, 'breakfast': False, 'brunch': False}", 
"HasTV: False", "NoiseLevel: quiet", "OutdoorSeating: False", 
"RestaurantsAttire: casual", "RestaurantsDelivery: False", "RestaurantsGoodForGroups: True", 
"RestaurantsPriceRange2: 1", "RestaurantsReservations: False", 
"RestaurantsTableService: False", "RestaurantsTakeOut: True", 
"WiFi: no"), "BusinessAcceptsCreditCards: True", c("BikeParking: True", 
"BusinessAcceptsCreditCards: False", "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}", 
"RestaurantsDelivery: False", "RestaurantsPriceRange2: 3", "RestaurantsTakeOut: True"
), NULL, c("Alcohol: none", "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': True}", 
"BusinessAcceptsCreditCards: True", "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
"Caters: True", "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': True, 'dinner': True, 'breakfast': False, 'brunch': False}", 
"HasTV: True", "NoiseLevel: quiet", "OutdoorSeating: False", 
"RestaurantsAttire: casual", "RestaurantsDelivery: False", "RestaurantsGoodForGroups: True", 
"RestaurantsPriceRange2: 1", "RestaurantsReservations: False", 
"RestaurantsTableService: False", "RestaurantsTakeOut: True", 
"WiFi: no"), c("BikeParking: True", "BusinessParking: {'garage': False, 'street': True, 'validated': False, 'lot': False, 'valet': False}", 
"RestaurantsPriceRange2: 1"), "ByAppointmentOnly: True", NULL, 
    c("BikeParking: True", "BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
    "RestaurantsPriceRange2: 2"), NULL, c("BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}", 
    "RestaurantsPriceRange2: 3"), c("BusinessAcceptsCreditCards: True", 
    "RestaurantsPriceRange2: 2", "WiFi: free"), c("BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': False, 'street': True, 'validated': False, 'lot': True, 'valet': False}", 
    "RestaurantsDelivery: True", "RestaurantsPriceRange2: 2", 
    "RestaurantsTakeOut: True", "WheelchairAccessible: True"), 
    NULL, c("BusinessAcceptsCreditCards: True", "GoodForKids: True", 
    "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': False, 'breakfast': False, 'brunch': False}", 
    "RestaurantsAttire: casual", "RestaurantsDelivery: False", 
    "RestaurantsGoodForGroups: True", "RestaurantsReservations: True", 
    "RestaurantsTakeOut: False"), NULL, "Caters: True", c("BikeParking: True", 
    "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}", 
    "ByAppointmentOnly: False", "GoodForKids: False"), c("Alcohol: none", 
    "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': True}", 
    "BikeParking: True", "BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': True, 'street': False, 'validated': False, 'lot': False, 'valet': False}", 
    "Caters: True", "DriveThru: False", "GoodForKids: True", 
    "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': True, 'dinner': True, 'breakfast': False, 'brunch': False}", 
    "HasTV: False", "NoiseLevel: loud", "OutdoorSeating: False", 
    "RestaurantsAttire: casual", "RestaurantsDelivery: False", 
    "RestaurantsGoodForGroups: True", "RestaurantsPriceRange2: 2", 
    "RestaurantsReservations: False", "RestaurantsTableService: False", 
    "RestaurantsTakeOut: True", "WiFi: no"), c("BusinessAcceptsCreditCards: True", 
    "RestaurantsPriceRange2: 2", "WheelchairAccessible: True"
    ), "BusinessAcceptsCreditCards: True", c("BikeParking: False", 
    "BusinessAcceptsCreditCards: True", "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
    "ByAppointmentOnly: True", "RestaurantsPriceRange2: 2"), 
    c("Alcohol: full_bar", "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': True}", 
    "BikeParking: True", "BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
    "Caters: True", "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': True, 'breakfast': False, 'brunch': False}", 
    "HasTV: True", "NoiseLevel: average", "OutdoorSeating: False", 
    "RestaurantsAttire: casual", "RestaurantsDelivery: False", 
    "RestaurantsGoodForGroups: True", "RestaurantsPriceRange2: 2", 
    "RestaurantsReservations: True", "RestaurantsTableService: True", 
    "RestaurantsTakeOut: True", "WheelchairAccessible: True", 
    "WiFi: no"), c("AcceptsInsurance: True", "BusinessAcceptsCreditCards: True", 
    "ByAppointmentOnly: False"), c("BusinessAcceptsCreditCards: False", 
    "BusinessParking: {'garage': False, 'street': True, 'validated': False, 'lot': False, 'valet': False}", 
    "RestaurantsPriceRange2: 1", "WiFi: free"), c("Alcohol: full_bar", 
    "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': True}", 
    "BikeParking: False", "BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
    "Caters: False", "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': True, 'breakfast': False, 'brunch': False}", 
    "HasTV: True", "NoiseLevel: average", "OutdoorSeating: True", 
    "RestaurantsAttire: casual", "RestaurantsDelivery: False", 
    "RestaurantsGoodForGroups: True", "RestaurantsPriceRange2: 2", 
    "RestaurantsReservations: False", "RestaurantsTableService: True", 
    "RestaurantsTakeOut: True", "WiFi: no"), c("Alcohol: full_bar", 
    "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': True}", 
    "BYOB: False", "BYOBCorkage: yes_free", "BikeParking: True", 
    "BusinessAcceptsCreditCards: True", "BusinessParking: {'garage': False, 'street': True, 'validated': False, 'lot': True, 'valet': True}", 
    "Caters: True", "Corkage: False", "DogsAllowed: False", "GoodForKids: True", 
    "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': True, 'dinner': True, 'breakfast': False, 'brunch': False}", 
    "HasTV: True", "NoiseLevel: average", "OutdoorSeating: True", 
    "RestaurantsAttire: casual", "RestaurantsCounterService: False", 
    "RestaurantsDelivery: False", "RestaurantsGoodForGroups: True", 
    "RestaurantsPriceRange2: 2", "RestaurantsReservations: False", 
    "RestaurantsTableService: True", "RestaurantsTakeOut: True", 
    "WheelchairAccessible: True", "WiFi: free"), NULL, "BusinessAcceptsCreditCards: False", 
    "BusinessAcceptsCreditCards: True", c("Alcohol: full_bar", 
    "BusinessAcceptsCreditCards: True", "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
    "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': True, 'dinner': True, 'breakfast': False, 'brunch': False}", 
    "OutdoorSeating: True", "RestaurantsAttire: casual", "RestaurantsDelivery: False", 
    "RestaurantsGoodForGroups: True", "RestaurantsPriceRange2: 2", 
    "RestaurantsReservations: True", "RestaurantsTableService: True", 
    "RestaurantsTakeOut: True", "WheelchairAccessible: True"), 
    "BusinessAcceptsCreditCards: True", c("Alcohol: none", "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': False}", 
    "BusinessAcceptsCreditCards: True", "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}", 
    "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': False, 'breakfast': False, 'brunch': False}", 
    "NoiseLevel: average", "RestaurantsAttire: casual", "RestaurantsDelivery: False", 
    "RestaurantsPriceRange2: 1", "RestaurantsTableService: True", 
    "RestaurantsTakeOut: True"), c("Alcohol: full_bar", "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': True}", 
    "BikeParking: True", "BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
    "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': True, 'dinner': True, 'breakfast': False, 'brunch': False}", 
    "HasTV: False", "NoiseLevel: average", "OutdoorSeating: False", 
    "RestaurantsAttire: casual", "RestaurantsDelivery: False", 
    "RestaurantsGoodForGroups: True", "RestaurantsPriceRange2: 2", 
    "RestaurantsReservations: True", "RestaurantsTableService: True", 
    "RestaurantsTakeOut: True", "WheelchairAccessible: True", 
    "WiFi: no"), c("BusinessAcceptsCreditCards: True", "GoodForKids: True", 
    "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': False, 'breakfast': False, 'brunch': False}", 
    "HasTV: False", "OutdoorSeating: False", "RestaurantsAttire: casual", 
    "RestaurantsDelivery: False", "RestaurantsGoodForGroups: True", 
    "RestaurantsPriceRange2: 1", "RestaurantsReservations: False", 
    "RestaurantsTableService: False", "RestaurantsTakeOut: True", 
    "WiFi: no"), c("BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}", 
    "OutdoorSeating: False", "RestaurantsPriceRange2: 1"), c("Alcohol: none", 
    "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': False}", 
    "BikeParking: False", "BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': False, 'valet': False}", 
    "Caters: False", "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': False, 'breakfast': True, 'brunch': False}", 
    "HasTV: False", "OutdoorSeating: False", "RestaurantsAttire: casual", 
    "RestaurantsDelivery: False", "RestaurantsGoodForGroups: True", 
    "RestaurantsPriceRange2: 1", "RestaurantsReservations: False", 
    "RestaurantsTableService: True", "RestaurantsTakeOut: True", 
    "WiFi: no"), c("Alcohol: full_bar", "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': True}", 
    "BestNights: {'monday': False, 'tuesday': False, 'friday': True, 'wednesday': False, 'thursday': False, 'sunday': True, 'saturday': True}", 
    "BikeParking: True", "BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': False, 'street': True, 'validated': False, 'lot': False, 'valet': False}", 
    "Caters: False", "CoatCheck: False", "GoodForDancing: False", 
    "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': True, 'dinner': True, 'breakfast': False, 'brunch': False}", 
    "HappyHour: True", "HasTV: True", "Music: {'dj': False, 'background_music': False, 'no_music': False, 'karaoke': False, 'live': False, 'video': False, 'jukebox': False}", 
    "NoiseLevel: loud", "OutdoorSeating: True", "RestaurantsAttire: casual", 
    "RestaurantsDelivery: False", "RestaurantsGoodForGroups: True", 
    "RestaurantsPriceRange2: 2", "RestaurantsReservations: False", 
    "RestaurantsTableService: True", "RestaurantsTakeOut: True", 
    "Smoking: no", "WheelchairAccessible: True", "WiFi: free"
    ), c("BikeParking: False", "BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
    "RestaurantsPriceRange2: 1", "WheelchairAccessible: True"
    ), "BusinessAcceptsCreditCards: True", "BusinessAcceptsCreditCards: True", 
    c("Alcohol: full_bar", "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'touristy': False, 'trendy': False, 'upscale': False, 'casual': True}", 
    "BikeParking: True", "BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
    "Caters: True", "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': True, 'lunch': False, 'dinner': False, 'breakfast': True, 'brunch': True}", 
    "HasTV: True", "NoiseLevel: average", "OutdoorSeating: False", 
    "RestaurantsAttire: casual", "RestaurantsDelivery: False", 
    "RestaurantsGoodForGroups: True", "RestaurantsPriceRange2: 1", 
    "RestaurantsReservations: True", "RestaurantsTableService: True", 
    "RestaurantsTakeOut: True", "WheelchairAccessible: True", 
    "WiFi: free"), c("Alcohol: full_bar", "Ambience: {'romantic': False, 'intimate': False, 'classy': False, 'hipster': False, 'divey': False, 'touristy': False, 'trendy': True, 'upscale': False, 'casual': False}", 
    "BikeParking: True", "BusinessAcceptsCreditCards: True", 
    "BusinessParking: {'garage': False, 'street': False, 'validated': False, 'lot': True, 'valet': False}", 
    "Caters: True", "GoodForKids: True", "GoodForMeal: {'dessert': False, 'latenight': False, 'lunch': False, 'dinner': False, 'breakfast': False, 'brunch': True}", 
    "HasTV: True", "NoiseLevel: average", "OutdoorSeating: True", 
    "RestaurantsAttire: casual", "RestaurantsDelivery: False", 
    "RestaurantsGoodForGroups: True", "RestaurantsPriceRange2: 2", 
    "RestaurantsReservations: True", "RestaurantsTableService: True", 
    "RestaurantsTakeOut: True", "WiFi: free")), categories = list(
    c("Tobacco Shops", "Nightlife", "Vape Shops", "Shopping"), 
    c("Caterers", "Grocery", "Food", "Event Planning & Services", 
    "Party & Event Planning", "Specialty Food"), c("Restaurants", 
    "Pizza", "Chicken Wings", "Italian"), c("Hair Removal", "Beauty & Spas", 
    "Blow Dry/Out Services", "Hair Stylists", "Hair Extensions", 
    "Massage", "Permanent Makeup", "Waxing", "Hair Salons"), 
    c("Hotels & Travel", "Event Planning & Services", "Hotels"
    ), c("Nail Salons", "Beauty & Spas"), c("Baby Gear & Furniture", 
    "Shopping"), c("Tex-Mex", "Mexican", "Fast Food", "Restaurants"
    ), c("Local Services", "Self Storage"), c("Food", "Bakeries"
    ), c("Nail Salons", "Hair Salons", "Beauty & Spas"), c("Hawaiian", 
    "Restaurants", "Barbeque"), c("Shopping", "Bookstores", "Books", 
    "Mags", "Music & Video"), c("General Dentistry", "Health & Medical", 
    "Dentists"), c("Leather Goods", "Fashion", "Watches", "Accessories", 
    "Shopping"), c("Mobile Phones", "Computers", "Local Services", 
    "Electronics", "IT Services & Computer Repair", "Shopping"
    ), c("Animal Shelters", "Pets"), c("Shoe Stores", "Fashion", 
    "Men's Clothing", "Shopping"), c("Hotels & Travel", "Venues & Event Spaces", 
    "Event Planning & Services", "Hotels"), c("Food", "Bakeries"
    ), c("Sports Clubs", "Active Life"), c("Restaurants", "Cafes"
    ), c("Local Services", "Funeral Services & Cemeteries"), 
    c("Sandwiches", "Breakfast & Brunch", "Salad", "Restaurants"
    ), c("Active Life", "Fitness & Instruction", "Yoga"), c("Fast Food", 
    "Mexican", "Restaurants"), c("Shoe Stores", "Fashion", "Shopping"
    ), c("Tires", "Automotive", "Auto Parts & Supplies", "Wheel & Rim Repair"
    ), c("Electronics", "Professional Services", "Shopping", 
    "Internet Service Providers", "Home Services", "Mobile Phones"
    ), c("Restaurants", "Italian", "Seafood"), c("Health & Medical", 
    "Chiropractors"), c("Desserts", "Coffee & Tea", "Food"), 
    c("Restaurants", "Mexican", "American (Traditional)"), c("Restaurants", 
    "Waffles", "Southern", "Soul Food"), c("Auto Repair", "Automotive", 
    "Oil Change Stations"), c("Auto Repair", "Automotive", "Body Shops"
    ), c("Local Services", "Notaries", "Professional Services", 
    "Shipping Centers", "Mailbox Centers", "Lawyers"), c("Persian/Iranian", 
    "Restaurants", "Ethnic Food", "Food", "Greek", "Specialty Food"
    ), c("Plumbing", "Home Services"), c("American (Traditional)", 
    "Restaurants"), c("Thai", "Restaurants"), c("Tex-Mex", "Restaurants"
    ), c("Food", "Coffee & Tea"), c("Breakfast & Brunch", "Sandwiches", 
    "Restaurants"), c("American (New)", "Pubs", "Nightlife", 
    "Bars", "Restaurants"), c("Grocery", "Food"), c("Preschools", 
    "Elementary Schools", "Local Services", "Child Care & Day Care", 
    "Education"), c("Automotive", "Car Buyers", "Used Car Dealers", 
    "Car Dealers"), c("Diners", "Italian", "Sandwiches", "Breakfast & Brunch", 
    "Burgers", "Canadian (New)", "Restaurants"), c("American (New)", 
    "Restaurants")), hours = list(c("Monday 11:0-21:0", "Tuesday 11:0-21:0", 
"Wednesday 11:0-21:0", "Thursday 11:0-21:0", "Friday 11:0-22:0", 
"Saturday 10:0-22:0", "Sunday 11:0-18:0"), c("Monday 0:0-0:0", 
"Tuesday 0:0-0:0", "Wednesday 0:0-0:0", "Thursday 0:0-0:0", "Friday 0:0-0:0", 
"Saturday 0:0-0:0", "Sunday 0:0-0:0"), c("Monday 11:0-2:0", "Tuesday 11:0-2:0", 
"Wednesday 11:0-2:0", "Thursday 11:0-3:0", "Friday 11:0-3:0", 
"Saturday 11:0-3:0", "Sunday 11:0-2:0"), c("Tuesday 10:0-21:0", 
"Wednesday 10:0-21:0", "Thursday 10:0-21:0", "Friday 10:0-18:0", 
"Saturday 9:0-16:0"), NULL, c("Monday 10:30-20:0", "Tuesday 10:30-20:0", 
"Thursday 10:30-20:0", "Friday 10:30-20:0", "Saturday 10:30-19:0", 
"Sunday 10:30-19:0"), c("Monday 10:0-18:0", "Tuesday 10:0-18:0", 
"Wednesday 10:0-18:0", "Thursday 10:0-18:0", "Friday 10:0-18:0", 
"Saturday 10:0-18:0", "Sunday 11:0-16:0"), c("Monday 10:0-22:0", 
"Tuesday 10:0-22:0", "Wednesday 10:0-22:0", "Thursday 10:0-22:0", 
"Friday 10:0-22:0", "Saturday 10:0-22:0", "Sunday 10:0-22:0"), 
    c("Monday 9:30-18:0", "Tuesday 9:30-18:0", "Wednesday 9:30-18:0", 
    "Thursday 9:30-18:0", "Friday 9:30-18:0", "Saturday 8:30-17:0", 
    "Sunday 11:0-15:0"), NULL, c("Monday 8:0-19:0", "Tuesday 8:0-19:0", 
    "Wednesday 8:0-19:0", "Thursday 8:0-19:0", "Friday 8:0-19:0", 
    "Saturday 8:0-17:0", "Sunday 10:0-13:0"), c("Monday 11:0-21:30", 
    "Tuesday 11:0-21:30", "Wednesday 11:0-21:30", "Thursday 11:0-21:30", 
    "Friday 11:0-21:30", "Saturday 11:0-21:30", "Sunday 11:30-21:0"
    ), c("Monday 11:0-19:0", "Tuesday 11:0-19:0", "Wednesday 11:0-19:0", 
    "Thursday 11:0-21:0", "Friday 11:0-21:0", "Saturday 11:0-19:0", 
    "Sunday 11:0-19:0"), NULL, c("Monday 10:0-21:0", "Tuesday 10:0-21:0", 
    "Wednesday 10:0-21:0", "Thursday 10:0-21:0", "Friday 10:0-22:0", 
    "Saturday 10:0-22:0", "Sunday 11:0-19:0"), c("Monday 10:0-21:0", 
    "Tuesday 10:0-21:0", "Wednesday 10:0-21:0", "Thursday 10:0-21:0", 
    "Friday 10:0-21:0", "Saturday 10:0-21:0", "Sunday 11:0-18:0"
    ), NULL, NULL, c("Monday 0:0-0:0", "Tuesday 0:0-0:0", "Wednesday 0:0-0:0", 
    "Thursday 0:0-0:0", "Friday 0:0-0:0", "Saturday 0:0-0:0", 
    "Sunday 0:0-0:0"), c("Monday 9:0-16:0", "Tuesday 9:0-16:0", 
    "Wednesday 9:0-16:0", "Thursday 9:0-16:0", "Friday 9:0-16:0", 
    "Saturday 10:0-15:0", "Sunday 10:0-15:0"), NULL, NULL, NULL, 
    c("Monday 6:30-17:0", "Tuesday 6:30-17:0", "Wednesday 6:30-17:0", 
    "Thursday 6:30-17:0", "Friday 6:30-17:0"), c("Monday 9:30-10:30", 
    "Monday 12:0-13:0", "Monday 17:0-18:0", "Monday 18:30-19:30", 
    "Monday 20:0-21:0", "Tuesday 12:0-13:0", "Tuesday 17:0-18:0", 
    "Tuesday 18:30-19:30", "Tuesday 20:0-21:0", "Wednesday 12:0-13:0", 
    "Wednesday 17:0-18:0", "Wednesday 18:0-19:30", "Wednesday 20:0-21:0", 
    "Thursday 9:30-11:0", "Thursday 12:0-13:0", "Thursday 17:0-18:0", 
    "Thursday 18:30-20:0", "Thursday 20:0-21:0", "Friday 12:0-13:0", 
    "Friday 17:30-18:30", "Friday 19:0-20:0", "Friday 21:30-22:0", 
    "Saturday 8:0-9:0", "Saturday 9:30-11:0", "Saturday 11:30-12:30", 
    "Sunday 8:0-9:0", "Sunday 9:30-11:0", "Sunday 11:30-12:30", 
    "Sunday 17:0-18:0"), c("Monday 10:45-22:0", "Tuesday 10:45-22:0", 
    "Wednesday 10:45-22:0", "Thursday 10:45-22:0", "Friday 10:45-22:0", 
    "Saturday 10:45-22:0", "Sunday 10:45-22:0"), NULL, c("Monday 8:0-18:0", 
    "Tuesday 8:0-18:0", "Wednesday 8:0-18:0", "Thursday 8:0-18:0", 
    "Friday 8:0-18:0", "Saturday 8:0-17:0"), c("Monday 10:0-20:0", 
    "Tuesday 10:0-20:0", "Wednesday 10:0-20:0", "Thursday 10:0-20:0", 
    "Friday 10:0-20:0", "Saturday 9:0-20:0", "Sunday 12:0-18:0"
    ), c("Monday 16:0-22:0", "Tuesday 16:0-22:0", "Wednesday 16:0-22:0", 
    "Thursday 16:0-22:0", "Friday 11:0-23:0", "Saturday 11:0-23:0", 
    "Sunday 11:0-21:0"), c("Monday 8:30-18:0", "Tuesday 8:30-12:0", 
    "Wednesday 8:30-18:0", "Thursday 15:0-18:0", "Friday 8:30-18:0"
    ), NULL, c("Monday 11:0-22:0", "Tuesday 11:0-22:0", "Wednesday 11:0-22:0", 
    "Thursday 11:0-22:0", "Friday 11:0-22:30", "Saturday 11:0-22:30", 
    "Sunday 11:0-21:0"), c("Monday 9:0-22:0", "Tuesday 9:0-22:0", 
    "Wednesday 9:0-22:0", "Thursday 9:0-22:0", "Friday 8:0-23:0", 
    "Saturday 8:0-23:0", "Sunday 8:0-18:0"), c("Monday 9:15-18:0", 
    "Tuesday 9:15-18:0", "Wednesday 9:15-18:0", "Thursday 9:15-18:0", 
    "Friday 9:15-18:0", "Saturday 10:0-17:0"), c("Monday 7:30-17:0", 
    "Tuesday 7:30-17:0", "Wednesday 7:30-17:0", "Thursday 7:30-17:0", 
    "Friday 7:30-16:0"), c("Monday 9:0-17:0", "Tuesday 9:0-17:0", 
    "Wednesday 9:0-17:0", "Thursday 9:0-17:0", "Friday 9:0-17:0", 
    "Saturday 9:0-13:0"), NULL, c("Monday 9:30-9:0", "Tuesday 9:30-9:0", 
    "Wednesday 9:30-9:0", "Thursday 9:30-9:0", "Friday 9:30-9:0", 
    "Saturday 9:30-9:0", "Sunday 9:30-9:0"), NULL, c("Monday 11:0-21:30", 
    "Tuesday 11:0-21:30", "Wednesday 11:0-21:30", "Thursday 11:0-21:30", 
    "Friday 11:0-21:30", "Saturday 11:0-22:30", "Sunday 11:0-22:30"
    ), c("Monday 11:0-21:0", "Tuesday 11:0-21:0", "Wednesday 11:0-21:0", 
    "Thursday 11:0-21:0", "Friday 11:0-21:0", "Saturday 11:0-21:0", 
    "Sunday 11:0-21:0"), NULL, NULL, NULL, NULL, c("Monday 8:30-16:0", 
    "Tuesday 8:30-16:0", "Wednesday 8:30-16:0", "Thursday 8:30-16:0", 
    "Friday 8:30-16:0"), c("Monday 10:0-21:0", "Tuesday 10:0-21:0", 
    "Wednesday 10:0-21:0", "Thursday 10:0-21:0", "Friday 10:0-21:0", 
    "Saturday 9:0-21:0", "Sunday 12:0-19:0"), c("Monday 0:0-0:0", 
    "Tuesday 0:0-0:0", "Wednesday 0:0-0:0", "Thursday 0:0-0:0", 
    "Friday 0:0-0:0", "Saturday 0:0-0:0", "Sunday 0:0-0:0"), 
    c("Monday 11:0-23:0", "Tuesday 11:0-23:0", "Wednesday 11:0-23:0", 
    "Thursday 11:0-23:0", "Friday 11:0-2:0", "Saturday 10:0-2:0", 
    "Sunday 10:0-23:0")), type = c("business", "business", "business", 
"business", "business", "business", "business", "business", "business", 
"business", "business", "business", "business", "business", "business", 
"business", "business", "business", "business", "business", "business", 
"business", "business", "business", "business", "business", "business", 
"business", "business", "business", "business", "business", "business", 
"business", "business", "business", "business", "business", "business", 
"business", "business", "business", "business", "business", "business", 
"business", "business", "business", "business", "business")), .Names = c("business_id", 
"name", "neighborhood", "address", "city", "state", "postal_code", 
"latitude", "longitude", "stars", "review_count", "is_open", 
"attributes", "categories", "hours", "type"), row.names = c(NA, 
-50L), class = c("tbl_df", "tbl", "data.frame"))
Antworten