Skip to content

Commit a61e5ac

Browse files
authored
Update analyze-twitch-data-with-sqlite.mdx
1 parent 7fa5f53 commit a61e5ac

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

projects/analyze-twitch-data-with-sqlite/analyze-twitch-data-with-sqlite.mdx

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -141,33 +141,35 @@ In the terminal, type:
141141
sqlite 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
147147
CREATE 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

172174
These names will have to match the CSV columns as well as the data type here, or else there will be an error later.
173175

0 commit comments

Comments
 (0)