X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=accidents-regression.ipynb;h=a2cf506c461ec3840250487b6e2c98ebab9da233;hb=63edb63f85ed3a2c88cd413d1eb038a7e2fdb690;hp=56a78c4c2483f00817b0d80e13a9c85736e11fb3;hpb=95410ca1575be29e009cb1bc329fca9a7b4a8a75;p=ou-jupyter-r-demo.git diff --git a/accidents-regression.ipynb b/accidents-regression.ipynb index 56a78c4..a2cf506 100644 --- a/accidents-regression.ipynb +++ b/accidents-regression.ipynb @@ -2,9 +2,31 @@ "cells": [ { "cell_type": "code", - "execution_count": 25, + "execution_count": 1, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "── Attaching packages ─────────────────────────────────────── tidyverse 1.2.1 ──\n", + "✔ ggplot2 2.2.1 ✔ purrr 0.2.4\n", + "✔ tibble 1.4.2 ✔ dplyr 0.7.4\n", + "✔ tidyr 0.8.0 ✔ stringr 1.2.0\n", + "✔ readr 1.1.1 ✔ forcats 0.2.0\n", + "── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──\n", + "✖ dplyr::filter() masks stats::filter()\n", + "✖ dplyr::lag() masks stats::lag()\n", + "\n", + "Attaching package: ‘lubridate’\n", + "\n", + "The following object is masked from ‘package:base’:\n", + "\n", + " date\n", + "\n" + ] + } + ], "source": [ "library(tidyverse)\n", "library(mongolite)\n", @@ -13,7 +35,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -24,7 +46,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -59,7 +81,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 4, "metadata": {}, "outputs": [ { @@ -87,7 +109,7 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -115,7 +137,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 6, "metadata": {}, "outputs": [ { @@ -351,7 +373,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 7, "metadata": { "scrolled": true }, @@ -636,7 +658,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 8, "metadata": { "scrolled": true }, @@ -987,7 +1009,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 9, "metadata": {}, "outputs": [ { @@ -1008,7 +1030,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 10, "metadata": { "scrolled": true }, @@ -1020,7 +1042,7 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 11, "metadata": { "scrolled": true }, @@ -1307,7 +1329,7 @@ }, { "cell_type": "code", - "execution_count": 42, + "execution_count": 12, "metadata": {}, "outputs": [ { @@ -1334,7 +1356,7 @@ }, { "cell_type": "code", - "execution_count": 44, + "execution_count": 13, "metadata": {}, "outputs": [ { @@ -1360,7 +1382,7 @@ }, { "cell_type": "code", - "execution_count": 43, + "execution_count": 14, "metadata": {}, "outputs": [ { @@ -1388,7 +1410,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 15, "metadata": {}, "outputs": [ { @@ -1424,7 +1446,7 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 16, "metadata": {}, "outputs": [ { @@ -1453,7 +1475,7 @@ }, { "cell_type": "code", - "execution_count": 45, + "execution_count": 17, "metadata": {}, "outputs": [ { @@ -1492,7 +1514,7 @@ }, { "cell_type": "code", - "execution_count": 47, + "execution_count": 18, "metadata": {}, "outputs": [], "source": [ @@ -1501,7 +1523,7 @@ }, { "cell_type": "code", - "execution_count": 48, + "execution_count": 19, "metadata": {}, "outputs": [ {