switch summary column order
Browse files
README.md
CHANGED
|
@@ -4,6 +4,10 @@ configs:
|
|
| 4 |
data_files:
|
| 5 |
- split: rejections
|
| 6 |
path: tts_arena_vote_summary.tsv
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
sep: "\t"
|
| 8 |
language:
|
| 9 |
- en
|
|
@@ -49,9 +53,9 @@ LIMIT 0, 49999;
|
|
| 49 |
```sql
|
| 50 |
SELECT
|
| 51 |
st.spokentext,
|
| 52 |
-
(COUNT(DISTINCT vl.chosen) || ' ' || GROUP_CONCAT(DISTINCT ' ' || vl.chosen)) AS chosen,
|
| 53 |
vl.rejected,
|
| 54 |
COUNT(vl.rejected) - COALESCE(chosen_counts.chosen_count, 0) AS votes,
|
|
|
|
| 55 |
MAX(vl.timestamp) AS lastvote
|
| 56 |
FROM
|
| 57 |
votelog vl
|
|
@@ -76,12 +80,13 @@ GROUP BY
|
|
| 76 |
st.spokentext,
|
| 77 |
vl.rejected
|
| 78 |
HAVING
|
| 79 |
-
|
| 80 |
-
|
| 81 |
ORDER BY
|
| 82 |
((votes * COUNT(DISTINCT vl.chosen)) / 2) DESC,
|
| 83 |
COUNT(DISTINCT vl.chosen) DESC,
|
| 84 |
st.spokentext ASC;
|
|
|
|
| 85 |
```
|
| 86 |
|
| 87 |
If you use this data in your publication, please cite us!
|
|
|
|
| 4 |
data_files:
|
| 5 |
- split: rejections
|
| 6 |
path: tts_arena_vote_summary.tsv
|
| 7 |
+
- split: rejections_3m
|
| 8 |
+
path: tts_arena_vote_summary_3m.tsv
|
| 9 |
+
- split: rejections_all
|
| 10 |
+
path: tts_arena_vote_summary_all.tsv
|
| 11 |
sep: "\t"
|
| 12 |
language:
|
| 13 |
- en
|
|
|
|
| 53 |
```sql
|
| 54 |
SELECT
|
| 55 |
st.spokentext,
|
|
|
|
| 56 |
vl.rejected,
|
| 57 |
COUNT(vl.rejected) - COALESCE(chosen_counts.chosen_count, 0) AS votes,
|
| 58 |
+
(COUNT(DISTINCT vl.chosen) || ' ' || GROUP_CONCAT(DISTINCT ' ' || vl.chosen)) AS chosen,
|
| 59 |
MAX(vl.timestamp) AS lastvote
|
| 60 |
FROM
|
| 61 |
votelog vl
|
|
|
|
| 80 |
st.spokentext,
|
| 81 |
vl.rejected
|
| 82 |
HAVING
|
| 83 |
+
votes > 0
|
| 84 |
+
AND lastvote BETWEEN datetime('now', '-1 month') AND datetime('now', 'localtime')
|
| 85 |
ORDER BY
|
| 86 |
((votes * COUNT(DISTINCT vl.chosen)) / 2) DESC,
|
| 87 |
COUNT(DISTINCT vl.chosen) DESC,
|
| 88 |
st.spokentext ASC;
|
| 89 |
+
st.spokentext ASC;
|
| 90 |
```
|
| 91 |
|
| 92 |
If you use this data in your publication, please cite us!
|