We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 952b886 commit a50d835Copy full SHA for a50d835
ggplot/ggplot2_inclass_notebook.ipynb
@@ -1796,6 +1796,13 @@
1796
"metadata": {},
1797
"outputs": [],
1798
"source": [
1799
+ "# Import the required libraries\n",
1800
+ "install.packages('gapminder')\n",
1801
+ "install.packages('jsonlite')\n",
1802
+ "library(jsonlite)\n",
1803
+ "library(ggplot2)\n",
1804
+ "library(gapminder)\n",
1805
+ "\n",
1806
"# Data to get you started\n",
1807
"url = 'https://raw.githubusercontent.com/vega/vega/master/docs/data/gapminder.json'\n",
1808
"data <- fromJSON(url, flatten=TRUE)\n",
@@ -1857,7 +1864,7 @@
1857
1864
1858
1865
1859
1866
1860
- "#install.packages(\"titanic\")\n",
1867
+ "install.packages(\"titanic\")\n",
1861
1868
"library(titanic)\n",
1862
1869
"data <- titanic_train"
1863
1870
]
0 commit comments