File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
projects/analyze-twitch-data-with-sqlite Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -141,33 +141,35 @@ In the terminal, type:
141141sqlite twitch.db
142142```
143143
144- Inside the SQLite prompt, create a table called ` streams ` :
144+ Inside the SQLite prompt, create a table called ` streamers ` :
145145
146146``` sql
147147CREATE TABLE streamers (
148148 channel TEXT PRIMARY KEY ,
149149 watch_time INTEGER ,
150150 stream_time INTEGER ,
151151 peak_viewers INTEGER ,
152+ average_viewers INTEGER ,
152153 followers INTEGER ,
153154 followers_gained INTEGER ,
155+ views_gained INTEGER ,
154156 partnered TEXT ,
155157 mature TEXT ,
156158 language TEXT
157159);
158160```
159161
160- - Channel
161- - Watch time
162- - Stream time
163- - Peak viewers
164- - Average viewers
165- - Followers
166- - Followers gained
167- - Views gained
168- - Partnered
169- - Mature
170- - Language
162+ - ` channel `
163+ - ` watch_time `
164+ - ` stream_time `
165+ - ` peak_viewers `
166+ - ` average_viewers `
167+ - ` followers `
168+ - ` followers_gained `
169+ - ` views_gained `
170+ - ` partnered `
171+ - ` mature `
172+ - ` language `
171173
172174These names will have to match the CSV columns as well as the data type here, or else there will be an error later.
173175
You can’t perform that action at this time.
0 commit comments