-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbellabeat-case-study.r
118 lines (118 loc) · 4.49 KB
/
bellabeat-case-study.r
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "0d3e9089",
"metadata": {
"_execution_state": "idle",
"_uuid": "051d70d956493feee0c6d64651c6a088724dca2a",
"execution": {
"iopub.execute_input": "2023-06-05T02:44:38.794363Z",
"iopub.status.busy": "2023-06-05T02:44:38.792173Z",
"iopub.status.idle": "2023-06-05T02:44:40.200800Z",
"shell.execute_reply": "2023-06-05T02:44:40.198587Z"
},
"papermill": {
"duration": 1.417187,
"end_time": "2023-06-05T02:44:40.204604",
"exception": false,
"start_time": "2023-06-05T02:44:38.787417",
"status": "completed"
},
"tags": []
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"── \u001b[1mAttaching core tidyverse packages\u001b[22m ──────────────────────── tidyverse 2.0.0 ──\n",
"\u001b[32m✔\u001b[39m \u001b[34mdplyr \u001b[39m 1.1.2 \u001b[32m✔\u001b[39m \u001b[34mreadr \u001b[39m 2.1.4\n",
"\u001b[32m✔\u001b[39m \u001b[34mforcats \u001b[39m 1.0.0 \u001b[32m✔\u001b[39m \u001b[34mstringr \u001b[39m 1.5.0\n",
"\u001b[32m✔\u001b[39m \u001b[34mggplot2 \u001b[39m 3.4.2 \u001b[32m✔\u001b[39m \u001b[34mtibble \u001b[39m 3.2.1\n",
"\u001b[32m✔\u001b[39m \u001b[34mlubridate\u001b[39m 1.9.2 \u001b[32m✔\u001b[39m \u001b[34mtidyr \u001b[39m 1.3.0\n",
"\u001b[32m✔\u001b[39m \u001b[34mpurrr \u001b[39m 1.0.1 \n",
"── \u001b[1mConflicts\u001b[22m ────────────────────────────────────────── tidyverse_conflicts() ──\n",
"\u001b[31m✖\u001b[39m \u001b[34mdplyr\u001b[39m::\u001b[32mfilter()\u001b[39m masks \u001b[34mstats\u001b[39m::filter()\n",
"\u001b[31m✖\u001b[39m \u001b[34mdplyr\u001b[39m::\u001b[32mlag()\u001b[39m masks \u001b[34mstats\u001b[39m::lag()\n",
"\u001b[36mℹ\u001b[39m Use the conflicted package (\u001b[3m\u001b[34m<http://conflicted.r-lib.org/>\u001b[39m\u001b[23m) to force all conflicts to become errors\n"
]
},
{
"data": {
"text/html": [
"<style>\n",
".list-inline {list-style: none; margin:0; padding: 0}\n",
".list-inline>li {display: inline-block}\n",
".list-inline>li:not(:last-child)::after {content: \"\\00b7\"; padding: 0 .5ex}\n",
"</style>\n",
"<ol class=list-inline><li>'bellabeat-case-data'</li><li>'fitbit'</li></ol>\n"
],
"text/latex": [
"\\begin{enumerate*}\n",
"\\item 'bellabeat-case-data'\n",
"\\item 'fitbit'\n",
"\\end{enumerate*}\n"
],
"text/markdown": [
"1. 'bellabeat-case-data'\n",
"2. 'fitbit'\n",
"\n",
"\n"
],
"text/plain": [
"[1] \"bellabeat-case-data\" \"fitbit\" "
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# This R environment comes with many helpful analytics packages installed\n",
"# It is defined by the kaggle/rstats Docker image: https://github.com/kaggle/docker-rstats\n",
"# For example, here's a helpful package to load\n",
"\n",
"library(tidyverse) # metapackage of all tidyverse packages\n",
"\n",
"# Input data files are available in the read-only \"../input/\" directory\n",
"# For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory\n",
"\n",
"list.files(path = \"../input\")\n",
"\n",
"# You can write up to 20GB to the current directory (/kaggle/working/) that gets preserved as output when you create a version using \"Save & Run All\" \n",
"# You can also write temporary files to /kaggle/temp/, but they won't be saved outside of the current session"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "R",
"language": "R",
"name": "ir"
},
"language_info": {
"codemirror_mode": "r",
"file_extension": ".r",
"mimetype": "text/x-r-source",
"name": "R",
"pygments_lexer": "r",
"version": "4.0.5"
},
"papermill": {
"default_parameters": {},
"duration": 5.337815,
"end_time": "2023-06-05T02:44:40.329215",
"environment_variables": {},
"exception": null,
"input_path": "__notebook__.ipynb",
"output_path": "__notebook__.ipynb",
"parameters": {},
"start_time": "2023-06-05T02:44:34.991400",
"version": "2.4.0"
}
},
"nbformat": 4,
"nbformat_minor": 5
}