|
|
|
@ -219,7 +219,7 @@
|
|
|
|
|
"source": [
|
|
|
|
|
"There are a finite number of cuisines, but the distribution of data is uneven. You can fix that! Before doing so, explore a little more.\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"Next, let's assign each cuisine into it's individual tibble and find out how much data is available (rows, columns) per cuisine.\n",
|
|
|
|
|
"Next, let's assign each cuisine into its individual table and find out how much data is available (rows, columns) per cuisine.\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"<p >\n",
|
|
|
|
|
" <img src=\"../images/dplyr_filter.jpg\"\n",
|
|
|
|
@ -234,7 +234,7 @@
|
|
|
|
|
"id": "0TvXUxD3G8Bk"
|
|
|
|
|
},
|
|
|
|
|
"source": [
|
|
|
|
|
"# Create individual tibbles for the cuisines\n",
|
|
|
|
|
"# Create individual tables for the cuisines\n",
|
|
|
|
|
"thai_df <- df %>% \n",
|
|
|
|
|
" filter(cuisine == \"thai\")\n",
|
|
|
|
|
"japanese_df <- df %>% \n",
|
|
|
|
@ -716,4 +716,4 @@
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|