stimmenfryslan/notebooks/Statistics for Nanna's email of 2019-02-13.ipynb
2019-03-19 13:33:38 +01:00

1705 lines
170 KiB
Plaintext

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Statistics for Nanna's email of 2019-02-13\n",
"\n",
"Hi Herbert,\n",
"\n",
"you would be a lifesaver if you could give me some updated information about the following (regarding the Stimmen database):\n",
"\n",
"- what's the latest breakdown of age, gender, most active language distribution in all the data, for the prediction data, and for the recording data?\n",
"- How many individual users are there in the corpus of picture task recordings?\n",
"- How many users have made recordings in more than one language? (and if possible a list with the device ids)\n",
"- it would be great to have the breakdown of amounts of quiz taking over the months - so how many in september 2017, october 2017, and so on up until september 2018\n",
"\n",
"Any luck with any of these would be a massive help. I only need the data from 19 September 2017 onwards,\n",
"\n",
"Nanna"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"········\n"
]
}
],
"source": [
"# Enable portforwording from 3307 locally to 3306 on the stimmen database machine\n",
"# ssh -L 3307:127.0.0.1:3306 stimmen.housing.rug.nl\n",
"\n",
"import pandas\n",
"import MySQLdb\n",
"from collections import defaultdict, Counter\n",
"from ipy_table import make_table, set_row_style\n",
"from IPython.display import display\n",
"\n",
"from getpass import getpass\n",
"\n",
"if 'mysql_password' not in globals():\n",
" mysql_password = getpass()\n",
"\n",
"db = MySQLdb.connect(host='127.0.0.1', port=3307, user='stimmen', passwd=mysql_password, db='stimmen', charset='utf8')"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"core_freespeechresult\n",
"core_freespeechtheme\n",
"core_language\n",
"core_picturegameitem\n",
"core_picturegameresult\n",
"core_predictionquizresult\n",
"core_predictionquizresultquestionanswer\n",
"core_surveyanswer\n",
"core_surveyquestion\n",
"core_surveyquestioncategory\n",
"core_surveyresult\n",
"core_surveyresultquestionanswer\n"
]
}
],
"source": [
"# Kind reminded of the table names\n",
"print('\\n'.join(\n",
" table\n",
" for table in pandas.read_sql('''show tables;''', db)['Tables_in_stimmen']\n",
" if table.startswith('core_')\n",
"))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### What's the latest breakdown of age, gender, most active language distribution in all the data, for the prediction data, and for the recording data?"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"def remove_repeating(rows, columns=[0]):\n",
" \"\"\"Empty cells which are the same as the cell above\n",
" (in the previous row) for the specified columns, to create\n",
" a less redunant and more readable table\"\"\"\n",
" return [\n",
" [\n",
" '' if column == column_ and i in columns else column\n",
" for i, (column, column_) in enumerate(zip(row, row_))\n",
" ]\n",
" for row, row_ in zip(rows, [[None] * len(rows[0])] + rows)\n",
" ]"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"scrolled": true
},
"outputs": [
{
"data": {
"text/html": [
"<table border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"border:black; border-collapse:collapse;\"><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>prediction&nbsp;quiz</b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b></b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b></b></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>question</b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>answer</b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>count</b></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Total&nbsp;participants</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">15177</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">No&nbsp;survey</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">11829</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">With&nbsp;survey</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3348</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;age&nbsp;bracket?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3348</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;gender?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3348</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;language&nbsp;are&nbsp;you&nbsp;the&nbsp;most&nbsp;proficient&nbsp;in?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3348</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;languages&nbsp;do&nbsp;you&nbsp;actively&nbsp;use&nbsp;in&nbsp;your&nbsp;life?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">7848</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;age&nbsp;bracket?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">11-20</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1064</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">21-30</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">748</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">41-50</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">424</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">51-60</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">414</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">31-40</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">352</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">61-70</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">239</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">71-80</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">66</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">81-90</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">18</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">0-10</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">16</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">91-100</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">7</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;gender?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">female</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1689</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">male</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1640</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">other</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">19</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;language&nbsp;are&nbsp;you&nbsp;the&nbsp;most&nbsp;proficient&nbsp;in?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1740</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Dutch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1487</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Bildts</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">33</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Stadsfrys</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">33</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">English</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">17</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Other</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">10</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">German</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Amelands</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Gronings</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Stellingwarfs</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Hindeloopers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">North&nbsp;Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Ostfriesisches&nbsp;Platt</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Turkish</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Arabic</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Drents</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Mandarin</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Sranan</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Terschellings</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;languages&nbsp;do&nbsp;you&nbsp;actively&nbsp;use&nbsp;in&nbsp;your&nbsp;life?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Dutch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2867</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2787</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">English</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1169</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">German</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">335</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">City&nbsp;Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">173</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">French</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">126</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Other</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">93</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Bildts</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">72</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Gronings</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">31</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Stellingwarfs</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">26</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Norwegian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">22</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Amelands</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">20</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Hindeloopers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">13</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Drents</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">12</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Arabic</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">9</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Terschellings</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">9</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Bahasa&nbsp;Indonesia</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">8</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Afrikaans</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">7</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Sranan</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">7</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Papiamentu</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">6</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Tarifit</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">6</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Turkish</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">6</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Mandarin&nbsp;Chinese</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">North&nbsp;Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Ostfriesisches&nbsp;Platt</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Polish</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Niedersächsisch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Schiermonnikoogs</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Galician</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Ostniederdeutsch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Latgalīšu&nbsp;volūda</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Latviešu&nbsp;valoda</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Ostfälisch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Sarnami&nbsp;Hindoestani</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Westfälisch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr></table>"
],
"text/plain": [
"<ipy_table.ipy_table.IpyTable at 0x7fe9383e8b38>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<table border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"border:black; border-collapse:collapse;\"><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>picture&nbsp;game</b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b></b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b></b></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>question</b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>answer</b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>count</b></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Total&nbsp;participants</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">41655</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">No&nbsp;survey</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">0</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">With&nbsp;survey</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">41655</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;age&nbsp;bracket?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">41655</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;gender?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">41655</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;language&nbsp;are&nbsp;you&nbsp;the&nbsp;most&nbsp;proficient&nbsp;in?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">41655</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;languages&nbsp;do&nbsp;you&nbsp;actively&nbsp;use&nbsp;in&nbsp;your&nbsp;life?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">103303</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;age&nbsp;bracket?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">21-30</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">10255</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">11-20</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">9756</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">51-60</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">6126</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">41-50</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5853</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">31-40</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5661</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">61-70</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2679</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">71-80</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1017</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">91-100</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">146</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">0-10</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">134</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">81-90</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">28</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;gender?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">female</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">24296</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">male</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">17047</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">other</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">312</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;language&nbsp;are&nbsp;you&nbsp;the&nbsp;most&nbsp;proficient&nbsp;in?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">20755</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Dutch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">17878</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">English</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">993</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Other</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">702</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Stadsfrys</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">449</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Bildts</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">419</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">German</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">235</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Gronings</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">40</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Amelands</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">31</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Drents</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">28</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">North&nbsp;Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">27</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Turkish</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">21</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Galician</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">15</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Hindeloopers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">14</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Stellingwarfs</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">14</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Arabic</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">13</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Terschellings</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">11</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Papiamentu</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">10</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;languages&nbsp;do&nbsp;you&nbsp;actively&nbsp;use&nbsp;in&nbsp;your&nbsp;life?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Dutch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">36236</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">32716</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">English</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">17498</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">German</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5727</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Other</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2769</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">City&nbsp;Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2350</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">French</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2145</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Bildts</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">903</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Norwegian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">819</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Gronings</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">321</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Stellingwarfs</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">286</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Amelands</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">263</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Drents</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">207</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Bahasa&nbsp;Indonesia</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">157</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">North&nbsp;Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">125</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Tarifit</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">125</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Sranan</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">120</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Polish</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">117</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Niedersächsisch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">99</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Terschellings</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">85</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Schiermonnikoogs</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">39</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Afrikaans</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">30</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Hindeloopers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">30</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Mandarin&nbsp;Chinese</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">26</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Arabic</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">22</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Turkish</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">21</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Ostniederdeutsch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">19</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Papiamentu</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">14</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Sarnami&nbsp;Hindoestani</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">10</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Westfälisch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">10</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Latviešu&nbsp;valoda</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">9</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Ostfriesisches&nbsp;Platt</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5</td></tr></table>"
],
"text/plain": [
"<ipy_table.ipy_table.IpyTable at 0x7fe93756ae80>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<table border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"border:black; border-collapse:collapse;\"><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>free&nbsp;speech</b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b></b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b></b></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>question</b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>answer</b></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"><b>count</b></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Total&nbsp;participants</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">381</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">No&nbsp;survey</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">0</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">With&nbsp;survey</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">381</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;age&nbsp;bracket?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">381</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;gender?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">381</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;language&nbsp;are&nbsp;you&nbsp;the&nbsp;most&nbsp;proficient&nbsp;in?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">381</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;languages&nbsp;do&nbsp;you&nbsp;actively&nbsp;use&nbsp;in&nbsp;your&nbsp;life?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">total&nbsp;answers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">953</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;age&nbsp;bracket?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">11-20</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">116</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">21-30</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">86</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">31-40</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">51</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">41-50</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">42</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">51-60</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">39</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">61-70</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">18</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">71-80</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">12</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">0-10</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">7</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">91-100</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">6</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">81-90</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">What&nbsp;is&nbsp;your&nbsp;gender?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">male</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">198</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">female</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">169</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">other</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">14</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;language&nbsp;are&nbsp;you&nbsp;the&nbsp;most&nbsp;proficient&nbsp;in?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Dutch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">177</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">152</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">English</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">17</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Other</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">14</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">German</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">6</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Bildts</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Stadsfrys</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Afrikaans</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">North&nbsp;Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Amelands</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Mandarin</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Ostfriesisches&nbsp;Platt</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Sarnami&nbsp;Hindoestani</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Turkish</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Which&nbsp;languages&nbsp;do&nbsp;you&nbsp;actively&nbsp;use&nbsp;in&nbsp;your&nbsp;life?</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Dutch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">303</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">263</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">English</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">169</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">German</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">46</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Other</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">29</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">City&nbsp;Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">24</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">French</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">20</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Gronings</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">10</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Bahasa&nbsp;Indonesia</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">7</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Norwegian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">7</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Bildts</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">6</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Sranan</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">6</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Drents</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Polish</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Tarifit</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Afrikaans</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Amelands</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Arabic</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Hindeloopers</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Schiermonnikoogs</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Stellingwarfs</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Turkish</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Niedersächsisch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Sarnami&nbsp;Hindoestani</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Terschellings</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Galician</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Mandarin&nbsp;Chinese</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Westfälisch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">North&nbsp;Frisian</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Ostfriesisches&nbsp;Platt</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Ostfälisch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Ostniederdeutsch</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">Papiamentu</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td></tr></table>"
],
"text/plain": [
"<ipy_table.ipy_table.IpyTable at 0x7fe934470e80>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"for gametype in ['prediction quiz', 'picture game', 'free speech']:\n",
" demographics = pandas.read_sql('''\n",
" SELECT \n",
" answer.question_text AS question,\n",
" answer.answer_text AS answer,\n",
" game.id AS game_id,\n",
" game.survey_result_id AS survey_id\n",
" FROM core_{gametype}result AS game\n",
" LEFT JOIN core_surveyresultquestionanswer AS answer\n",
" ON answer.survey_result_id = game.survey_result_id\n",
" WHERE submitted_at > '2017-09-19'\n",
" '''.format(\n",
" gametype=gametype.replace(' ', '')\n",
" ), db)\n",
" \n",
" table = [\n",
" [\n",
" question_text,\n",
" question_answer,\n",
" len(records)\n",
" ]\n",
" for question_text, answers in demographics.groupby('question')\n",
" for question_answer, records in answers.groupby('answer')\n",
" ]\n",
"\n",
" n_participants = len(demographics['game_id'].unique())\n",
" n_no_survey = len(demographics[demographics['question'].isna()]['game_id'].unique())\n",
" n_with_survey = len(demographics[~demographics['question'].isna()]['game_id'].unique())\n",
"\n",
" make_table(\n",
" [\n",
" [gametype, '', ''],\n",
" ['question', 'answer', 'count'],\n",
" ['Total participants', '', n_participants],\n",
" ['No survey', '', n_no_survey],\n",
" ['With survey', '', n_with_survey],\n",
" ['', '', '']\n",
" ] + [\n",
" [question, 'total answers', len(answers_)]\n",
" for question, answers_ in demographics.groupby('question')\n",
" ] + [['', '', '']] +\n",
" remove_repeating(sorted(table, key=lambda x: (x[0], -x[2])))\n",
" )\n",
" set_row_style(1, bold=True)\n",
" display(set_row_style(0, bold=True))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### How many individual users are there in the corpus of picture task recordings?\n",
"\n",
"The `core_picturegameresult` table has a `survey_result_id` and a `session_id` to distinguish users. Some sessions have multiple surveys and vice versa. So I figured the survey is the fairest way to distinguish them."
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>COUNT(DISTINCT survey_result_id)</th>\n",
" <th>COUNT(DISTINCT session_id)</th>\n",
" <th>COUNT(*)</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>1930</td>\n",
" <td>24695</td>\n",
" <td>41655</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" COUNT(DISTINCT survey_result_id) COUNT(DISTINCT session_id) COUNT(*)\n",
"0 1930 24695 41655"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"pandas.read_sql('''\n",
" SELECT COUNT(DISTINCT survey_result_id), COUNT(DISTINCT session_id), COUNT(*)\n",
" FROM core_picturegameresult\n",
" WHERE submitted_at > \"2017-09-19\"\n",
"''', db)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### How many users have made recordings in more than one language?\n",
"\n",
"* and if possible a list with the device ids\n",
"* it would be great to have the breakdown of amounts of quiz taking over the months: sep-17, oct-17, ..., sep-18\n",
"\n",
"There are not so many, these are the ones:"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>year-month</th>\n",
" <th># games</th>\n",
" <th># surveys</th>\n",
" <th>languages</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>2017-9</td>\n",
" <td>7</td>\n",
" <td>2</td>\n",
" <td>English,Nederlands,Frysk,Stadsfrys</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>2017-10</td>\n",
" <td>7</td>\n",
" <td>2</td>\n",
" <td>Frysk,Hielpers,Nederlands</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>2017-11</td>\n",
" <td>10</td>\n",
" <td>4</td>\n",
" <td>Nederlands,Frysk,Français,Sranan</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>2017-12</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>Frysk,Nederlands</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>2018-4</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>Stadsfrys,Nederlands</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>2018-11</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>Gronings,Nederlands</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" year-month # games # surveys languages\n",
"0 2017-9 7 2 English,Nederlands,Frysk,Stadsfrys\n",
"1 2017-10 7 2 Frysk,Hielpers,Nederlands\n",
"2 2017-11 10 4 Nederlands,Frysk,Français,Sranan\n",
"3 2017-12 2 1 Frysk,Nederlands\n",
"4 2018-4 2 1 Stadsfrys,Nederlands\n",
"5 2018-11 2 1 Gronings,Nederlands"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"pandas.read_sql('''\n",
" SELECT\n",
" CONCAT(YEAR(result.submitted_at), '-', MONTH(result.submitted_at)) AS 'year-month',\n",
" COUNT(*) AS '# games',\n",
" COUNT(DISTINCT result.survey_result_id) AS '# surveys',\n",
" GROUP_CONCAT(DISTINCT lang.name SEPARATOR ',') AS 'languages'\n",
" FROM core_freespeechresult AS result\n",
" LEFT JOIN core_language as lang\n",
" ON lang.id = result.language_id\n",
" WHERE submitted_at > \"2017-09-19\"\n",
" AND result.survey_result_id IN (\n",
" SELECT result.survey_result_id\n",
" FROM core_freespeechresult AS result\n",
" WHERE submitted_at > \"2017-09-19\"\n",
" GROUP BY result.survey_result_id\n",
" HAVING COUNT(DISTINCT result.language_id) > 1\n",
" )\n",
" GROUP BY YEAR(result.submitted_at), MONTH(result.submitted_at)\n",
"''', db)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The device ids:"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>device_id</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>738191E5-80E4-4D07-A15E-6B7DE881906A</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>fb28928ef1703592</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>820E203F-1B70-40A8-BD47-04681D07BC9C</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>1aa95d23fddf3827</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>F95F07AE-B524-4256-9171-F7FFA9E49156</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>C8F56303-E912-4BC3-AD51-E1CA8B425AE9</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>B653C16D-BDA8-4A47-BC6A-C3171D89AF71</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>b40fb5e73d431e6b</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>C9FD6142-A64A-4AD8-B317-3BB833A11667</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>A258D9E9-FD32-4A97-A5A1-A4B72ADFC71D</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>8190723c74b4b0bf</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" device_id\n",
"0 738191E5-80E4-4D07-A15E-6B7DE881906A\n",
"1 fb28928ef1703592\n",
"2 820E203F-1B70-40A8-BD47-04681D07BC9C\n",
"3 1aa95d23fddf3827\n",
"4 F95F07AE-B524-4256-9171-F7FFA9E49156\n",
"5 C8F56303-E912-4BC3-AD51-E1CA8B425AE9\n",
"6 B653C16D-BDA8-4A47-BC6A-C3171D89AF71\n",
"7 b40fb5e73d431e6b\n",
"8 C9FD6142-A64A-4AD8-B317-3BB833A11667\n",
"9 A258D9E9-FD32-4A97-A5A1-A4B72ADFC71D\n",
"10 8190723c74b4b0bf"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"pandas.read_sql('''\n",
" SELECT\n",
" DISTINCT survey.device_id\n",
" FROM core_freespeechresult AS result\n",
" LEFT JOIN core_language as lang\n",
" ON lang.id = result.language_id\n",
" LEFT JOIN core_surveyresult as survey\n",
" ON survey.id = result.survey_result_id\n",
" WHERE result.submitted_at > \"2017-09-19\"\n",
" AND result.survey_result_id IN (\n",
" SELECT result.survey_result_id\n",
" FROM core_freespeechresult AS result\n",
" WHERE result.submitted_at > \"2017-09-19\"\n",
" GROUP BY result.survey_result_id\n",
" HAVING COUNT(DISTINCT result.language_id) > 1\n",
" )\n",
"''', db)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The results:"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>device_id</th>\n",
" <th>language</th>\n",
" <th>id</th>\n",
" <th>session_id</th>\n",
" <th>app_locale</th>\n",
" <th>submitted_at</th>\n",
" <th>theme_short_text</th>\n",
" <th>theme_long_text</th>\n",
" <th>recording</th>\n",
" <th>language_id</th>\n",
" <th>speech_theme_id</th>\n",
" <th>survey_result_id</th>\n",
" <th>theme_long_text_en</th>\n",
" <th>theme_long_text_fy</th>\n",
" <th>theme_long_text_nl</th>\n",
" <th>theme_short_text_en</th>\n",
" <th>theme_short_text_fy</th>\n",
" <th>theme_short_text_nl</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>738191E5-80E4-4D07-A15E-6B7DE881906A</td>\n",
" <td>Stadsfrys</td>\n",
" <td>159</td>\n",
" <td>6349CCA2-358F-4AE5-821F-543AD0B9C97A</td>\n",
" <td>fy</td>\n",
" <td>2017-09-20 21:05:47</td>\n",
" <td>What is your word for...</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>free_speech_recordings/Stadsfrys/2017-09-20/fs...</td>\n",
" <td>14</td>\n",
" <td>9</td>\n",
" <td>1539</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>Wat is it wurd foar \"ierappel\" yn dyn taal?</td>\n",
" <td>Wat is het woord voor \"aardappel\" in je taal?</td>\n",
" <td>What is your word for...</td>\n",
" <td>Wat is dyn wurd foar...</td>\n",
" <td>Wat is je woord voor...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>738191E5-80E4-4D07-A15E-6B7DE881906A</td>\n",
" <td>Stadsfrys</td>\n",
" <td>160</td>\n",
" <td>ACEF45B4-3162-4A5F-B83A-3E39BE140117</td>\n",
" <td>fy</td>\n",
" <td>2017-09-20 21:09:51</td>\n",
" <td>Your own story</td>\n",
" <td>Tell us your own story here</td>\n",
" <td>free_speech_recordings/Stadsfrys/2017-09-20/fs...</td>\n",
" <td>14</td>\n",
" <td>3</td>\n",
" <td>1539</td>\n",
" <td>Tell us your own story here</td>\n",
" <td>Fertel dyn eigen ferhaal hjir</td>\n",
" <td>Vertel je eigen verhaal hier</td>\n",
" <td>Your own story</td>\n",
" <td>Dyn eigen ferhaal</td>\n",
" <td>Je eigen verhaal</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>738191E5-80E4-4D07-A15E-6B7DE881906A</td>\n",
" <td>Frysk</td>\n",
" <td>161</td>\n",
" <td>ACEF45B4-3162-4A5F-B83A-3E39BE140117</td>\n",
" <td>fy</td>\n",
" <td>2017-09-20 21:15:01</td>\n",
" <td>Read a text 3</td>\n",
" <td>Then the sun began to shine, and the traveler ...</td>\n",
" <td>free_speech_recordings/Frysk/2017-09-20/fs_rea...</td>\n",
" <td>1</td>\n",
" <td>8</td>\n",
" <td>1539</td>\n",
" <td>Then the sun began to shine, and the traveler ...</td>\n",
" <td>Dêrnei begûn de sinne fûl te skinen en fuorten...</td>\n",
" <td>Daarna begon de zon krachtig te stralen, en hi...</td>\n",
" <td>Read a text 3</td>\n",
" <td>Foarlêze 3</td>\n",
" <td>Voorlezen 3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>fb28928ef1703592</td>\n",
" <td>Frysk</td>\n",
" <td>221</td>\n",
" <td>androidSessionIdfb28928ef170359258404890608067</td>\n",
" <td>nl</td>\n",
" <td>2017-09-23 15:05:05</td>\n",
" <td>What is your word for...</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>free_speech_recordings/Frysk/2017-09-23/fs_wha...</td>\n",
" <td>1</td>\n",
" <td>9</td>\n",
" <td>2951</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>Wat is it wurd foar \"ierappel\" yn dyn taal?</td>\n",
" <td>Wat is het woord voor \"aardappel\" in je taal?</td>\n",
" <td>What is your word for...</td>\n",
" <td>Wat is dyn wurd foar...</td>\n",
" <td>Wat is je woord voor...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>fb28928ef1703592</td>\n",
" <td>Frysk</td>\n",
" <td>222</td>\n",
" <td>androidSessionIdfb28928ef170359258618421150746</td>\n",
" <td>nl</td>\n",
" <td>2017-09-23 15:08:40</td>\n",
" <td>Growing up</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>free_speech_recordings/Frysk/2017-09-23/fs_gro...</td>\n",
" <td>1</td>\n",
" <td>5</td>\n",
" <td>2951</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>Fertel wat oer wêrst wei komst</td>\n",
" <td>Vertel iets over waar je bent opgegroeid?</td>\n",
" <td>Growing up</td>\n",
" <td>Opgroeie</td>\n",
" <td>Opgroeien</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>fb28928ef1703592</td>\n",
" <td>Nederlands</td>\n",
" <td>223</td>\n",
" <td>androidSessionIdfb28928ef170359258714896361595</td>\n",
" <td>nl</td>\n",
" <td>2017-09-23 15:10:16</td>\n",
" <td>Your own story</td>\n",
" <td>Tell us your own story here</td>\n",
" <td>free_speech_recordings/Nederlands/2017-09-23/f...</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2951</td>\n",
" <td>Tell us your own story here</td>\n",
" <td>Fertel dyn eigen ferhaal hjir</td>\n",
" <td>Vertel je eigen verhaal hier</td>\n",
" <td>Your own story</td>\n",
" <td>Dyn eigen ferhaal</td>\n",
" <td>Je eigen verhaal</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>fb28928ef1703592</td>\n",
" <td>English</td>\n",
" <td>224</td>\n",
" <td>androidSessionIdfb28928ef170359259137367204559</td>\n",
" <td>nl</td>\n",
" <td>2017-09-23 15:17:19</td>\n",
" <td>Your own story</td>\n",
" <td>Tell us your own story here</td>\n",
" <td>free_speech_recordings/English/2017-09-23/fs_y...</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>2951</td>\n",
" <td>Tell us your own story here</td>\n",
" <td>Fertel dyn eigen ferhaal hjir</td>\n",
" <td>Vertel je eigen verhaal hier</td>\n",
" <td>Your own story</td>\n",
" <td>Dyn eigen ferhaal</td>\n",
" <td>Je eigen verhaal</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>820E203F-1B70-40A8-BD47-04681D07BC9C</td>\n",
" <td>Nederlands</td>\n",
" <td>333</td>\n",
" <td>28F45D4F-71F4-45A3-A9A2-B9813A16EC13</td>\n",
" <td>nl</td>\n",
" <td>2017-10-12 08:49:53</td>\n",
" <td>What is your word for...</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>free_speech_recordings/Nederlands/2017-10-12/f...</td>\n",
" <td>3</td>\n",
" <td>9</td>\n",
" <td>5477</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>Wat is it wurd foar \"ierappel\" yn dyn taal?</td>\n",
" <td>Wat is het woord voor \"aardappel\" in je taal?</td>\n",
" <td>What is your word for...</td>\n",
" <td>Wat is dyn wurd foar...</td>\n",
" <td>Wat is je woord voor...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>820E203F-1B70-40A8-BD47-04681D07BC9C</td>\n",
" <td>Nederlands</td>\n",
" <td>334</td>\n",
" <td>28F45D4F-71F4-45A3-A9A2-B9813A16EC13</td>\n",
" <td>nl</td>\n",
" <td>2017-10-12 08:50:49</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>free_speech_recordings/Nederlands/2017-10-12/f...</td>\n",
" <td>3</td>\n",
" <td>4</td>\n",
" <td>5477</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>Wat soesto dwaan mei €1.000.000?</td>\n",
" <td>Wat zou je doen met €1.000.000?</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>Wat soesto dwaan mei €1.000.000?</td>\n",
" <td>Wat zou je doen met €1.000.000?</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>820E203F-1B70-40A8-BD47-04681D07BC9C</td>\n",
" <td>Frysk</td>\n",
" <td>335</td>\n",
" <td>28F45D4F-71F4-45A3-A9A2-B9813A16EC13</td>\n",
" <td>nl</td>\n",
" <td>2017-10-12 08:51:51</td>\n",
" <td>Your own story</td>\n",
" <td>Tell us your own story here</td>\n",
" <td>free_speech_recordings/Frysk/2017-10-12/fs_you...</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>5477</td>\n",
" <td>Tell us your own story here</td>\n",
" <td>Fertel dyn eigen ferhaal hjir</td>\n",
" <td>Vertel je eigen verhaal hier</td>\n",
" <td>Your own story</td>\n",
" <td>Dyn eigen ferhaal</td>\n",
" <td>Je eigen verhaal</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>1aa95d23fddf3827</td>\n",
" <td>Frysk</td>\n",
" <td>373</td>\n",
" <td>androidSessionId1aa95d23fddf3827591709392581151</td>\n",
" <td>fy</td>\n",
" <td>2017-10-26 11:10:42</td>\n",
" <td>What is your word for...</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>free_speech_recordings/Frysk/2017-10-26/fs_wha...</td>\n",
" <td>1</td>\n",
" <td>9</td>\n",
" <td>6135</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>Wat is it wurd foar \"ierappel\" yn dyn taal?</td>\n",
" <td>Wat is het woord voor \"aardappel\" in je taal?</td>\n",
" <td>What is your word for...</td>\n",
" <td>Wat is dyn wurd foar...</td>\n",
" <td>Wat is je woord voor...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>1aa95d23fddf3827</td>\n",
" <td>Frysk</td>\n",
" <td>374</td>\n",
" <td>androidSessionId1aa95d23fddf3827591856351721095</td>\n",
" <td>fy</td>\n",
" <td>2017-10-26 11:13:08</td>\n",
" <td>Read a text 3</td>\n",
" <td>Then the sun began to shine, and the traveler ...</td>\n",
" <td>free_speech_recordings/Frysk/2017-10-26/fs_rea...</td>\n",
" <td>1</td>\n",
" <td>8</td>\n",
" <td>6135</td>\n",
" <td>Then the sun began to shine, and the traveler ...</td>\n",
" <td>Dêrnei begûn de sinne fûl te skinen en fuorten...</td>\n",
" <td>Daarna begon de zon krachtig te stralen, en hi...</td>\n",
" <td>Read a text 3</td>\n",
" <td>Foarlêze 3</td>\n",
" <td>Voorlezen 3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
" <td>1aa95d23fddf3827</td>\n",
" <td>Hielpers</td>\n",
" <td>375</td>\n",
" <td>androidSessionId1aa95d23fddf3827592248608182404</td>\n",
" <td>fy</td>\n",
" <td>2017-10-26 11:19:40</td>\n",
" <td>Read a text 3</td>\n",
" <td>Then the sun began to shine, and the traveler ...</td>\n",
" <td>free_speech_recordings/Hielpers/2017-10-26/fs_...</td>\n",
" <td>9</td>\n",
" <td>8</td>\n",
" <td>6135</td>\n",
" <td>Then the sun began to shine, and the traveler ...</td>\n",
" <td>Dêrnei begûn de sinne fûl te skinen en fuorten...</td>\n",
" <td>Daarna begon de zon krachtig te stralen, en hi...</td>\n",
" <td>Read a text 3</td>\n",
" <td>Foarlêze 3</td>\n",
" <td>Voorlezen 3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>1aa95d23fddf3827</td>\n",
" <td>Frysk</td>\n",
" <td>376</td>\n",
" <td>androidSessionId1aa95d23fddf3827592854579719673</td>\n",
" <td>fy</td>\n",
" <td>2017-10-26 11:29:47</td>\n",
" <td>Growing up</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>free_speech_recordings/Frysk/2017-10-26/fs_gro...</td>\n",
" <td>1</td>\n",
" <td>5</td>\n",
" <td>6135</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>Fertel wat oer wêrst wei komst</td>\n",
" <td>Vertel iets over waar je bent opgegroeid?</td>\n",
" <td>Growing up</td>\n",
" <td>Opgroeie</td>\n",
" <td>Opgroeien</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14</th>\n",
" <td>F95F07AE-B524-4256-9171-F7FFA9E49156</td>\n",
" <td>Frysk</td>\n",
" <td>388</td>\n",
" <td>70BBF265-BB3B-4B53-8C1E-9B6CA179906C</td>\n",
" <td>fy</td>\n",
" <td>2017-11-05 11:44:03</td>\n",
" <td>Growing up</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>free_speech_recordings/Frysk/2017-11-05/fs_gro...</td>\n",
" <td>1</td>\n",
" <td>5</td>\n",
" <td>6255</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>Fertel wat oer wêrst wei komst</td>\n",
" <td>Vertel iets over waar je bent opgegroeid?</td>\n",
" <td>Growing up</td>\n",
" <td>Opgroeie</td>\n",
" <td>Opgroeien</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15</th>\n",
" <td>F95F07AE-B524-4256-9171-F7FFA9E49156</td>\n",
" <td>Frysk</td>\n",
" <td>389</td>\n",
" <td>70BBF265-BB3B-4B53-8C1E-9B6CA179906C</td>\n",
" <td>fy</td>\n",
" <td>2017-11-05 11:48:01</td>\n",
" <td>Read a text 2</td>\n",
" <td>The North Wind blew as hard as he could, but t...</td>\n",
" <td>free_speech_recordings/Frysk/2017-11-05/fs_rea...</td>\n",
" <td>1</td>\n",
" <td>7</td>\n",
" <td>6255</td>\n",
" <td>The North Wind blew as hard as he could, but t...</td>\n",
" <td>De noardewyn begûn út alle macht te blazen, ma...</td>\n",
" <td>De noordenwind begon toen uit alle macht te bl...</td>\n",
" <td>Read a text 2</td>\n",
" <td>Foarlêze 2</td>\n",
" <td>Voorlezen 2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16</th>\n",
" <td>F95F07AE-B524-4256-9171-F7FFA9E49156</td>\n",
" <td>Frysk</td>\n",
" <td>390</td>\n",
" <td>70BBF265-BB3B-4B53-8C1E-9B6CA179906C</td>\n",
" <td>fy</td>\n",
" <td>2017-11-05 11:48:56</td>\n",
" <td>What is your word for...</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>free_speech_recordings/Frysk/2017-11-05/fs_wha...</td>\n",
" <td>1</td>\n",
" <td>9</td>\n",
" <td>6255</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>Wat is it wurd foar \"ierappel\" yn dyn taal?</td>\n",
" <td>Wat is het woord voor \"aardappel\" in je taal?</td>\n",
" <td>What is your word for...</td>\n",
" <td>Wat is dyn wurd foar...</td>\n",
" <td>Wat is je woord voor...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17</th>\n",
" <td>F95F07AE-B524-4256-9171-F7FFA9E49156</td>\n",
" <td>Sranan</td>\n",
" <td>391</td>\n",
" <td>70BBF265-BB3B-4B53-8C1E-9B6CA179906C</td>\n",
" <td>fy</td>\n",
" <td>2017-11-05 11:52:51</td>\n",
" <td>Growing up</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>free_speech_recordings/Sranan/2017-11-05/fs_gr...</td>\n",
" <td>16</td>\n",
" <td>5</td>\n",
" <td>6255</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>Fertel wat oer wêrst wei komst</td>\n",
" <td>Vertel iets over waar je bent opgegroeid?</td>\n",
" <td>Growing up</td>\n",
" <td>Opgroeie</td>\n",
" <td>Opgroeien</td>\n",
" </tr>\n",
" <tr>\n",
" <th>18</th>\n",
" <td>C8F56303-E912-4BC3-AD51-E1CA8B425AE9</td>\n",
" <td>Frysk</td>\n",
" <td>410</td>\n",
" <td>0D2F2AD3-177A-4991-AD5F-55CAF1BFDE35</td>\n",
" <td>nl</td>\n",
" <td>2017-11-16 13:15:06</td>\n",
" <td>What is your word for...</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>free_speech_recordings/Frysk/2017-11-16/fs_wha...</td>\n",
" <td>1</td>\n",
" <td>9</td>\n",
" <td>6445</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>Wat is it wurd foar \"ierappel\" yn dyn taal?</td>\n",
" <td>Wat is het woord voor \"aardappel\" in je taal?</td>\n",
" <td>What is your word for...</td>\n",
" <td>Wat is dyn wurd foar...</td>\n",
" <td>Wat is je woord voor...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19</th>\n",
" <td>B653C16D-BDA8-4A47-BC6A-C3171D89AF71</td>\n",
" <td>Frysk</td>\n",
" <td>411</td>\n",
" <td>07E90580-694C-4F9C-A82B-D431D88F6508</td>\n",
" <td>nl</td>\n",
" <td>2017-11-16 13:16:32</td>\n",
" <td>What is your word for...</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>free_speech_recordings/Frysk/2017-11-16/fs_wha...</td>\n",
" <td>1</td>\n",
" <td>9</td>\n",
" <td>6450</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>Wat is it wurd foar \"ierappel\" yn dyn taal?</td>\n",
" <td>Wat is het woord voor \"aardappel\" in je taal?</td>\n",
" <td>What is your word for...</td>\n",
" <td>Wat is dyn wurd foar...</td>\n",
" <td>Wat is je woord voor...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20</th>\n",
" <td>B653C16D-BDA8-4A47-BC6A-C3171D89AF71</td>\n",
" <td>Nederlands</td>\n",
" <td>412</td>\n",
" <td>4CB961F7-432A-43EE-B748-41CB18DA6ACC</td>\n",
" <td>nl</td>\n",
" <td>2017-11-16 13:20:38</td>\n",
" <td>Joke</td>\n",
" <td>Tell us a joke!</td>\n",
" <td>free_speech_recordings/Nederlands/2017-11-16/f...</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>6450</td>\n",
" <td>Tell us a joke!</td>\n",
" <td>Fertel in mopke!</td>\n",
" <td>Vertel een mop!</td>\n",
" <td>Joke</td>\n",
" <td>Mopke</td>\n",
" <td>Mop</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21</th>\n",
" <td>C8F56303-E912-4BC3-AD51-E1CA8B425AE9</td>\n",
" <td>Nederlands</td>\n",
" <td>414</td>\n",
" <td>0D2F2AD3-177A-4991-AD5F-55CAF1BFDE35</td>\n",
" <td>nl</td>\n",
" <td>2017-11-16 13:21:42</td>\n",
" <td>What is your word for...</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>free_speech_recordings/Nederlands/2017-11-16/f...</td>\n",
" <td>3</td>\n",
" <td>9</td>\n",
" <td>6445</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>Wat is it wurd foar \"ierappel\" yn dyn taal?</td>\n",
" <td>Wat is het woord voor \"aardappel\" in je taal?</td>\n",
" <td>What is your word for...</td>\n",
" <td>Wat is dyn wurd foar...</td>\n",
" <td>Wat is je woord voor...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>22</th>\n",
" <td>b40fb5e73d431e6b</td>\n",
" <td>Frysk</td>\n",
" <td>426</td>\n",
" <td>androidSessionIdb40fb5e73d431e6b136597419729297</td>\n",
" <td>nl</td>\n",
" <td>2017-11-22 13:14:36</td>\n",
" <td>What is your word for...</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>free_speech_recordings/Frysk/2017-11-22/fs_wha...</td>\n",
" <td>1</td>\n",
" <td>9</td>\n",
" <td>6496</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>Wat is it wurd foar \"ierappel\" yn dyn taal?</td>\n",
" <td>Wat is het woord voor \"aardappel\" in je taal?</td>\n",
" <td>What is your word for...</td>\n",
" <td>Wat is dyn wurd foar...</td>\n",
" <td>Wat is je woord voor...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>23</th>\n",
" <td>b40fb5e73d431e6b</td>\n",
" <td>Français</td>\n",
" <td>428</td>\n",
" <td>androidSessionIdb40fb5e73d431e6b136976454194882</td>\n",
" <td>nl</td>\n",
" <td>2017-11-22 13:20:56</td>\n",
" <td>Your own story</td>\n",
" <td>Tell us your own story here</td>\n",
" <td>free_speech_recordings/Français/2017-11-22/fs_...</td>\n",
" <td>22</td>\n",
" <td>3</td>\n",
" <td>6496</td>\n",
" <td>Tell us your own story here</td>\n",
" <td>Fertel dyn eigen ferhaal hjir</td>\n",
" <td>Vertel je eigen verhaal hier</td>\n",
" <td>Your own story</td>\n",
" <td>Dyn eigen ferhaal</td>\n",
" <td>Je eigen verhaal</td>\n",
" </tr>\n",
" <tr>\n",
" <th>24</th>\n",
" <td>C9FD6142-A64A-4AD8-B317-3BB833A11667</td>\n",
" <td>Nederlands</td>\n",
" <td>452</td>\n",
" <td>9A976F40-ADF7-4F72-9C2F-9BD4F1AF4DF5</td>\n",
" <td>nl</td>\n",
" <td>2017-12-12 10:36:40</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>free_speech_recordings/Nederlands/2017-12-12/f...</td>\n",
" <td>3</td>\n",
" <td>4</td>\n",
" <td>6892</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>Wat soesto dwaan mei €1.000.000?</td>\n",
" <td>Wat zou je doen met €1.000.000?</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>Wat soesto dwaan mei €1.000.000?</td>\n",
" <td>Wat zou je doen met €1.000.000?</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25</th>\n",
" <td>C9FD6142-A64A-4AD8-B317-3BB833A11667</td>\n",
" <td>Frysk</td>\n",
" <td>453</td>\n",
" <td>372127E4-AFFE-4BF5-BE7A-FF9D981F4D2E</td>\n",
" <td>nl</td>\n",
" <td>2017-12-12 10:42:33</td>\n",
" <td>What is your word for...</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>free_speech_recordings/Frysk/2017-12-12/fs_wha...</td>\n",
" <td>1</td>\n",
" <td>9</td>\n",
" <td>6892</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>Wat is it wurd foar \"ierappel\" yn dyn taal?</td>\n",
" <td>Wat is het woord voor \"aardappel\" in je taal?</td>\n",
" <td>What is your word for...</td>\n",
" <td>Wat is dyn wurd foar...</td>\n",
" <td>Wat is je woord voor...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26</th>\n",
" <td>A258D9E9-FD32-4A97-A5A1-A4B72ADFC71D</td>\n",
" <td>Nederlands</td>\n",
" <td>476</td>\n",
" <td>63B8E61A-433A-433A-924F-0B2D9D6F0353</td>\n",
" <td>fy</td>\n",
" <td>2018-04-08 17:37:12</td>\n",
" <td>What is your word for...</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>free_speech_recordings/Nederlands/2018-04-08/f...</td>\n",
" <td>3</td>\n",
" <td>9</td>\n",
" <td>7372</td>\n",
" <td>What is the word for \"potato\" in your local la...</td>\n",
" <td>Wat is it wurd foar \"ierappel\" yn dyn taal?</td>\n",
" <td>Wat is het woord voor \"aardappel\" in je taal?</td>\n",
" <td>What is your word for...</td>\n",
" <td>Wat is dyn wurd foar...</td>\n",
" <td>Wat is je woord voor...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>27</th>\n",
" <td>A258D9E9-FD32-4A97-A5A1-A4B72ADFC71D</td>\n",
" <td>Stadsfrys</td>\n",
" <td>477</td>\n",
" <td>63B8E61A-433A-433A-924F-0B2D9D6F0353</td>\n",
" <td>fy</td>\n",
" <td>2018-04-08 17:46:49</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>free_speech_recordings/Stadsfrys/2018-04-08/fs...</td>\n",
" <td>14</td>\n",
" <td>4</td>\n",
" <td>7372</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>Wat soesto dwaan mei €1.000.000?</td>\n",
" <td>Wat zou je doen met €1.000.000?</td>\n",
" <td>What would you do with a million euros?</td>\n",
" <td>Wat soesto dwaan mei €1.000.000?</td>\n",
" <td>Wat zou je doen met €1.000.000?</td>\n",
" </tr>\n",
" <tr>\n",
" <th>28</th>\n",
" <td>8190723c74b4b0bf</td>\n",
" <td>Nederlands</td>\n",
" <td>500</td>\n",
" <td>androidSessionId8190723c74b4b0bf57887798554061</td>\n",
" <td>nl</td>\n",
" <td>2018-11-18 11:03:50</td>\n",
" <td>Growing up</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>free_speech_recordings/Nederlands/2018-11-18/f...</td>\n",
" <td>3</td>\n",
" <td>5</td>\n",
" <td>8193</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>Fertel wat oer wêrst wei komst</td>\n",
" <td>Vertel iets over waar je bent opgegroeid?</td>\n",
" <td>Growing up</td>\n",
" <td>Opgroeie</td>\n",
" <td>Opgroeien</td>\n",
" </tr>\n",
" <tr>\n",
" <th>29</th>\n",
" <td>8190723c74b4b0bf</td>\n",
" <td>Gronings</td>\n",
" <td>501</td>\n",
" <td>androidSessionId8190723c74b4b0bf58065148631545</td>\n",
" <td>nl</td>\n",
" <td>2018-11-18 11:06:50</td>\n",
" <td>Growing up</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>free_speech_recordings/Gronings/2018-11-18/fs_...</td>\n",
" <td>4</td>\n",
" <td>5</td>\n",
" <td>8193</td>\n",
" <td>Tell us a story about where you grew up?</td>\n",
" <td>Fertel wat oer wêrst wei komst</td>\n",
" <td>Vertel iets over waar je bent opgegroeid?</td>\n",
" <td>Growing up</td>\n",
" <td>Opgroeie</td>\n",
" <td>Opgroeien</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" device_id language id \\\n",
"0 738191E5-80E4-4D07-A15E-6B7DE881906A Stadsfrys 159 \n",
"1 738191E5-80E4-4D07-A15E-6B7DE881906A Stadsfrys 160 \n",
"2 738191E5-80E4-4D07-A15E-6B7DE881906A Frysk 161 \n",
"3 fb28928ef1703592 Frysk 221 \n",
"4 fb28928ef1703592 Frysk 222 \n",
"5 fb28928ef1703592 Nederlands 223 \n",
"6 fb28928ef1703592 English 224 \n",
"7 820E203F-1B70-40A8-BD47-04681D07BC9C Nederlands 333 \n",
"8 820E203F-1B70-40A8-BD47-04681D07BC9C Nederlands 334 \n",
"9 820E203F-1B70-40A8-BD47-04681D07BC9C Frysk 335 \n",
"10 1aa95d23fddf3827 Frysk 373 \n",
"11 1aa95d23fddf3827 Frysk 374 \n",
"12 1aa95d23fddf3827 Hielpers 375 \n",
"13 1aa95d23fddf3827 Frysk 376 \n",
"14 F95F07AE-B524-4256-9171-F7FFA9E49156 Frysk 388 \n",
"15 F95F07AE-B524-4256-9171-F7FFA9E49156 Frysk 389 \n",
"16 F95F07AE-B524-4256-9171-F7FFA9E49156 Frysk 390 \n",
"17 F95F07AE-B524-4256-9171-F7FFA9E49156 Sranan 391 \n",
"18 C8F56303-E912-4BC3-AD51-E1CA8B425AE9 Frysk 410 \n",
"19 B653C16D-BDA8-4A47-BC6A-C3171D89AF71 Frysk 411 \n",
"20 B653C16D-BDA8-4A47-BC6A-C3171D89AF71 Nederlands 412 \n",
"21 C8F56303-E912-4BC3-AD51-E1CA8B425AE9 Nederlands 414 \n",
"22 b40fb5e73d431e6b Frysk 426 \n",
"23 b40fb5e73d431e6b Français 428 \n",
"24 C9FD6142-A64A-4AD8-B317-3BB833A11667 Nederlands 452 \n",
"25 C9FD6142-A64A-4AD8-B317-3BB833A11667 Frysk 453 \n",
"26 A258D9E9-FD32-4A97-A5A1-A4B72ADFC71D Nederlands 476 \n",
"27 A258D9E9-FD32-4A97-A5A1-A4B72ADFC71D Stadsfrys 477 \n",
"28 8190723c74b4b0bf Nederlands 500 \n",
"29 8190723c74b4b0bf Gronings 501 \n",
"\n",
" session_id app_locale \\\n",
"0 6349CCA2-358F-4AE5-821F-543AD0B9C97A fy \n",
"1 ACEF45B4-3162-4A5F-B83A-3E39BE140117 fy \n",
"2 ACEF45B4-3162-4A5F-B83A-3E39BE140117 fy \n",
"3 androidSessionIdfb28928ef170359258404890608067 nl \n",
"4 androidSessionIdfb28928ef170359258618421150746 nl \n",
"5 androidSessionIdfb28928ef170359258714896361595 nl \n",
"6 androidSessionIdfb28928ef170359259137367204559 nl \n",
"7 28F45D4F-71F4-45A3-A9A2-B9813A16EC13 nl \n",
"8 28F45D4F-71F4-45A3-A9A2-B9813A16EC13 nl \n",
"9 28F45D4F-71F4-45A3-A9A2-B9813A16EC13 nl \n",
"10 androidSessionId1aa95d23fddf3827591709392581151 fy \n",
"11 androidSessionId1aa95d23fddf3827591856351721095 fy \n",
"12 androidSessionId1aa95d23fddf3827592248608182404 fy \n",
"13 androidSessionId1aa95d23fddf3827592854579719673 fy \n",
"14 70BBF265-BB3B-4B53-8C1E-9B6CA179906C fy \n",
"15 70BBF265-BB3B-4B53-8C1E-9B6CA179906C fy \n",
"16 70BBF265-BB3B-4B53-8C1E-9B6CA179906C fy \n",
"17 70BBF265-BB3B-4B53-8C1E-9B6CA179906C fy \n",
"18 0D2F2AD3-177A-4991-AD5F-55CAF1BFDE35 nl \n",
"19 07E90580-694C-4F9C-A82B-D431D88F6508 nl \n",
"20 4CB961F7-432A-43EE-B748-41CB18DA6ACC nl \n",
"21 0D2F2AD3-177A-4991-AD5F-55CAF1BFDE35 nl \n",
"22 androidSessionIdb40fb5e73d431e6b136597419729297 nl \n",
"23 androidSessionIdb40fb5e73d431e6b136976454194882 nl \n",
"24 9A976F40-ADF7-4F72-9C2F-9BD4F1AF4DF5 nl \n",
"25 372127E4-AFFE-4BF5-BE7A-FF9D981F4D2E nl \n",
"26 63B8E61A-433A-433A-924F-0B2D9D6F0353 fy \n",
"27 63B8E61A-433A-433A-924F-0B2D9D6F0353 fy \n",
"28 androidSessionId8190723c74b4b0bf57887798554061 nl \n",
"29 androidSessionId8190723c74b4b0bf58065148631545 nl \n",
"\n",
" submitted_at theme_short_text \\\n",
"0 2017-09-20 21:05:47 What is your word for... \n",
"1 2017-09-20 21:09:51 Your own story \n",
"2 2017-09-20 21:15:01 Read a text 3 \n",
"3 2017-09-23 15:05:05 What is your word for... \n",
"4 2017-09-23 15:08:40 Growing up \n",
"5 2017-09-23 15:10:16 Your own story \n",
"6 2017-09-23 15:17:19 Your own story \n",
"7 2017-10-12 08:49:53 What is your word for... \n",
"8 2017-10-12 08:50:49 What would you do with a million euros? \n",
"9 2017-10-12 08:51:51 Your own story \n",
"10 2017-10-26 11:10:42 What is your word for... \n",
"11 2017-10-26 11:13:08 Read a text 3 \n",
"12 2017-10-26 11:19:40 Read a text 3 \n",
"13 2017-10-26 11:29:47 Growing up \n",
"14 2017-11-05 11:44:03 Growing up \n",
"15 2017-11-05 11:48:01 Read a text 2 \n",
"16 2017-11-05 11:48:56 What is your word for... \n",
"17 2017-11-05 11:52:51 Growing up \n",
"18 2017-11-16 13:15:06 What is your word for... \n",
"19 2017-11-16 13:16:32 What is your word for... \n",
"20 2017-11-16 13:20:38 Joke \n",
"21 2017-11-16 13:21:42 What is your word for... \n",
"22 2017-11-22 13:14:36 What is your word for... \n",
"23 2017-11-22 13:20:56 Your own story \n",
"24 2017-12-12 10:36:40 What would you do with a million euros? \n",
"25 2017-12-12 10:42:33 What is your word for... \n",
"26 2018-04-08 17:37:12 What is your word for... \n",
"27 2018-04-08 17:46:49 What would you do with a million euros? \n",
"28 2018-11-18 11:03:50 Growing up \n",
"29 2018-11-18 11:06:50 Growing up \n",
"\n",
" theme_long_text \\\n",
"0 What is the word for \"potato\" in your local la... \n",
"1 Tell us your own story here \n",
"2 Then the sun began to shine, and the traveler ... \n",
"3 What is the word for \"potato\" in your local la... \n",
"4 Tell us a story about where you grew up? \n",
"5 Tell us your own story here \n",
"6 Tell us your own story here \n",
"7 What is the word for \"potato\" in your local la... \n",
"8 What would you do with a million euros? \n",
"9 Tell us your own story here \n",
"10 What is the word for \"potato\" in your local la... \n",
"11 Then the sun began to shine, and the traveler ... \n",
"12 Then the sun began to shine, and the traveler ... \n",
"13 Tell us a story about where you grew up? \n",
"14 Tell us a story about where you grew up? \n",
"15 The North Wind blew as hard as he could, but t... \n",
"16 What is the word for \"potato\" in your local la... \n",
"17 Tell us a story about where you grew up? \n",
"18 What is the word for \"potato\" in your local la... \n",
"19 What is the word for \"potato\" in your local la... \n",
"20 Tell us a joke! \n",
"21 What is the word for \"potato\" in your local la... \n",
"22 What is the word for \"potato\" in your local la... \n",
"23 Tell us your own story here \n",
"24 What would you do with a million euros? \n",
"25 What is the word for \"potato\" in your local la... \n",
"26 What is the word for \"potato\" in your local la... \n",
"27 What would you do with a million euros? \n",
"28 Tell us a story about where you grew up? \n",
"29 Tell us a story about where you grew up? \n",
"\n",
" recording language_id \\\n",
"0 free_speech_recordings/Stadsfrys/2017-09-20/fs... 14 \n",
"1 free_speech_recordings/Stadsfrys/2017-09-20/fs... 14 \n",
"2 free_speech_recordings/Frysk/2017-09-20/fs_rea... 1 \n",
"3 free_speech_recordings/Frysk/2017-09-23/fs_wha... 1 \n",
"4 free_speech_recordings/Frysk/2017-09-23/fs_gro... 1 \n",
"5 free_speech_recordings/Nederlands/2017-09-23/f... 3 \n",
"6 free_speech_recordings/English/2017-09-23/fs_y... 2 \n",
"7 free_speech_recordings/Nederlands/2017-10-12/f... 3 \n",
"8 free_speech_recordings/Nederlands/2017-10-12/f... 3 \n",
"9 free_speech_recordings/Frysk/2017-10-12/fs_you... 1 \n",
"10 free_speech_recordings/Frysk/2017-10-26/fs_wha... 1 \n",
"11 free_speech_recordings/Frysk/2017-10-26/fs_rea... 1 \n",
"12 free_speech_recordings/Hielpers/2017-10-26/fs_... 9 \n",
"13 free_speech_recordings/Frysk/2017-10-26/fs_gro... 1 \n",
"14 free_speech_recordings/Frysk/2017-11-05/fs_gro... 1 \n",
"15 free_speech_recordings/Frysk/2017-11-05/fs_rea... 1 \n",
"16 free_speech_recordings/Frysk/2017-11-05/fs_wha... 1 \n",
"17 free_speech_recordings/Sranan/2017-11-05/fs_gr... 16 \n",
"18 free_speech_recordings/Frysk/2017-11-16/fs_wha... 1 \n",
"19 free_speech_recordings/Frysk/2017-11-16/fs_wha... 1 \n",
"20 free_speech_recordings/Nederlands/2017-11-16/f... 3 \n",
"21 free_speech_recordings/Nederlands/2017-11-16/f... 3 \n",
"22 free_speech_recordings/Frysk/2017-11-22/fs_wha... 1 \n",
"23 free_speech_recordings/Français/2017-11-22/fs_... 22 \n",
"24 free_speech_recordings/Nederlands/2017-12-12/f... 3 \n",
"25 free_speech_recordings/Frysk/2017-12-12/fs_wha... 1 \n",
"26 free_speech_recordings/Nederlands/2018-04-08/f... 3 \n",
"27 free_speech_recordings/Stadsfrys/2018-04-08/fs... 14 \n",
"28 free_speech_recordings/Nederlands/2018-11-18/f... 3 \n",
"29 free_speech_recordings/Gronings/2018-11-18/fs_... 4 \n",
"\n",
" speech_theme_id survey_result_id \\\n",
"0 9 1539 \n",
"1 3 1539 \n",
"2 8 1539 \n",
"3 9 2951 \n",
"4 5 2951 \n",
"5 3 2951 \n",
"6 3 2951 \n",
"7 9 5477 \n",
"8 4 5477 \n",
"9 3 5477 \n",
"10 9 6135 \n",
"11 8 6135 \n",
"12 8 6135 \n",
"13 5 6135 \n",
"14 5 6255 \n",
"15 7 6255 \n",
"16 9 6255 \n",
"17 5 6255 \n",
"18 9 6445 \n",
"19 9 6450 \n",
"20 2 6450 \n",
"21 9 6445 \n",
"22 9 6496 \n",
"23 3 6496 \n",
"24 4 6892 \n",
"25 9 6892 \n",
"26 9 7372 \n",
"27 4 7372 \n",
"28 5 8193 \n",
"29 5 8193 \n",
"\n",
" theme_long_text_en \\\n",
"0 What is the word for \"potato\" in your local la... \n",
"1 Tell us your own story here \n",
"2 Then the sun began to shine, and the traveler ... \n",
"3 What is the word for \"potato\" in your local la... \n",
"4 Tell us a story about where you grew up? \n",
"5 Tell us your own story here \n",
"6 Tell us your own story here \n",
"7 What is the word for \"potato\" in your local la... \n",
"8 What would you do with a million euros? \n",
"9 Tell us your own story here \n",
"10 What is the word for \"potato\" in your local la... \n",
"11 Then the sun began to shine, and the traveler ... \n",
"12 Then the sun began to shine, and the traveler ... \n",
"13 Tell us a story about where you grew up? \n",
"14 Tell us a story about where you grew up? \n",
"15 The North Wind blew as hard as he could, but t... \n",
"16 What is the word for \"potato\" in your local la... \n",
"17 Tell us a story about where you grew up? \n",
"18 What is the word for \"potato\" in your local la... \n",
"19 What is the word for \"potato\" in your local la... \n",
"20 Tell us a joke! \n",
"21 What is the word for \"potato\" in your local la... \n",
"22 What is the word for \"potato\" in your local la... \n",
"23 Tell us your own story here \n",
"24 What would you do with a million euros? \n",
"25 What is the word for \"potato\" in your local la... \n",
"26 What is the word for \"potato\" in your local la... \n",
"27 What would you do with a million euros? \n",
"28 Tell us a story about where you grew up? \n",
"29 Tell us a story about where you grew up? \n",
"\n",
" theme_long_text_fy \\\n",
"0 Wat is it wurd foar \"ierappel\" yn dyn taal? \n",
"1 Fertel dyn eigen ferhaal hjir \n",
"2 Dêrnei begûn de sinne fûl te skinen en fuorten... \n",
"3 Wat is it wurd foar \"ierappel\" yn dyn taal? \n",
"4 Fertel wat oer wêrst wei komst \n",
"5 Fertel dyn eigen ferhaal hjir \n",
"6 Fertel dyn eigen ferhaal hjir \n",
"7 Wat is it wurd foar \"ierappel\" yn dyn taal? \n",
"8 Wat soesto dwaan mei €1.000.000? \n",
"9 Fertel dyn eigen ferhaal hjir \n",
"10 Wat is it wurd foar \"ierappel\" yn dyn taal? \n",
"11 Dêrnei begûn de sinne fûl te skinen en fuorten... \n",
"12 Dêrnei begûn de sinne fûl te skinen en fuorten... \n",
"13 Fertel wat oer wêrst wei komst \n",
"14 Fertel wat oer wêrst wei komst \n",
"15 De noardewyn begûn út alle macht te blazen, ma... \n",
"16 Wat is it wurd foar \"ierappel\" yn dyn taal? \n",
"17 Fertel wat oer wêrst wei komst \n",
"18 Wat is it wurd foar \"ierappel\" yn dyn taal? \n",
"19 Wat is it wurd foar \"ierappel\" yn dyn taal? \n",
"20 Fertel in mopke! \n",
"21 Wat is it wurd foar \"ierappel\" yn dyn taal? \n",
"22 Wat is it wurd foar \"ierappel\" yn dyn taal? \n",
"23 Fertel dyn eigen ferhaal hjir \n",
"24 Wat soesto dwaan mei €1.000.000? \n",
"25 Wat is it wurd foar \"ierappel\" yn dyn taal? \n",
"26 Wat is it wurd foar \"ierappel\" yn dyn taal? \n",
"27 Wat soesto dwaan mei €1.000.000? \n",
"28 Fertel wat oer wêrst wei komst \n",
"29 Fertel wat oer wêrst wei komst \n",
"\n",
" theme_long_text_nl \\\n",
"0 Wat is het woord voor \"aardappel\" in je taal? \n",
"1 Vertel je eigen verhaal hier \n",
"2 Daarna begon de zon krachtig te stralen, en hi... \n",
"3 Wat is het woord voor \"aardappel\" in je taal? \n",
"4 Vertel iets over waar je bent opgegroeid? \n",
"5 Vertel je eigen verhaal hier \n",
"6 Vertel je eigen verhaal hier \n",
"7 Wat is het woord voor \"aardappel\" in je taal? \n",
"8 Wat zou je doen met €1.000.000? \n",
"9 Vertel je eigen verhaal hier \n",
"10 Wat is het woord voor \"aardappel\" in je taal? \n",
"11 Daarna begon de zon krachtig te stralen, en hi... \n",
"12 Daarna begon de zon krachtig te stralen, en hi... \n",
"13 Vertel iets over waar je bent opgegroeid? \n",
"14 Vertel iets over waar je bent opgegroeid? \n",
"15 De noordenwind begon toen uit alle macht te bl... \n",
"16 Wat is het woord voor \"aardappel\" in je taal? \n",
"17 Vertel iets over waar je bent opgegroeid? \n",
"18 Wat is het woord voor \"aardappel\" in je taal? \n",
"19 Wat is het woord voor \"aardappel\" in je taal? \n",
"20 Vertel een mop! \n",
"21 Wat is het woord voor \"aardappel\" in je taal? \n",
"22 Wat is het woord voor \"aardappel\" in je taal? \n",
"23 Vertel je eigen verhaal hier \n",
"24 Wat zou je doen met €1.000.000? \n",
"25 Wat is het woord voor \"aardappel\" in je taal? \n",
"26 Wat is het woord voor \"aardappel\" in je taal? \n",
"27 Wat zou je doen met €1.000.000? \n",
"28 Vertel iets over waar je bent opgegroeid? \n",
"29 Vertel iets over waar je bent opgegroeid? \n",
"\n",
" theme_short_text_en theme_short_text_fy \\\n",
"0 What is your word for... Wat is dyn wurd foar... \n",
"1 Your own story Dyn eigen ferhaal \n",
"2 Read a text 3 Foarlêze 3 \n",
"3 What is your word for... Wat is dyn wurd foar... \n",
"4 Growing up Opgroeie \n",
"5 Your own story Dyn eigen ferhaal \n",
"6 Your own story Dyn eigen ferhaal \n",
"7 What is your word for... Wat is dyn wurd foar... \n",
"8 What would you do with a million euros? Wat soesto dwaan mei €1.000.000? \n",
"9 Your own story Dyn eigen ferhaal \n",
"10 What is your word for... Wat is dyn wurd foar... \n",
"11 Read a text 3 Foarlêze 3 \n",
"12 Read a text 3 Foarlêze 3 \n",
"13 Growing up Opgroeie \n",
"14 Growing up Opgroeie \n",
"15 Read a text 2 Foarlêze 2 \n",
"16 What is your word for... Wat is dyn wurd foar... \n",
"17 Growing up Opgroeie \n",
"18 What is your word for... Wat is dyn wurd foar... \n",
"19 What is your word for... Wat is dyn wurd foar... \n",
"20 Joke Mopke \n",
"21 What is your word for... Wat is dyn wurd foar... \n",
"22 What is your word for... Wat is dyn wurd foar... \n",
"23 Your own story Dyn eigen ferhaal \n",
"24 What would you do with a million euros? Wat soesto dwaan mei €1.000.000? \n",
"25 What is your word for... Wat is dyn wurd foar... \n",
"26 What is your word for... Wat is dyn wurd foar... \n",
"27 What would you do with a million euros? Wat soesto dwaan mei €1.000.000? \n",
"28 Growing up Opgroeie \n",
"29 Growing up Opgroeie \n",
"\n",
" theme_short_text_nl \n",
"0 Wat is je woord voor... \n",
"1 Je eigen verhaal \n",
"2 Voorlezen 3 \n",
"3 Wat is je woord voor... \n",
"4 Opgroeien \n",
"5 Je eigen verhaal \n",
"6 Je eigen verhaal \n",
"7 Wat is je woord voor... \n",
"8 Wat zou je doen met €1.000.000? \n",
"9 Je eigen verhaal \n",
"10 Wat is je woord voor... \n",
"11 Voorlezen 3 \n",
"12 Voorlezen 3 \n",
"13 Opgroeien \n",
"14 Opgroeien \n",
"15 Voorlezen 2 \n",
"16 Wat is je woord voor... \n",
"17 Opgroeien \n",
"18 Wat is je woord voor... \n",
"19 Wat is je woord voor... \n",
"20 Mop \n",
"21 Wat is je woord voor... \n",
"22 Wat is je woord voor... \n",
"23 Je eigen verhaal \n",
"24 Wat zou je doen met €1.000.000? \n",
"25 Wat is je woord voor... \n",
"26 Wat is je woord voor... \n",
"27 Wat zou je doen met €1.000.000? \n",
"28 Opgroeien \n",
"29 Opgroeien "
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"pandas.read_sql('''\n",
" SELECT\n",
" survey.device_id,\n",
" lang.name as language,\n",
" result.*\n",
" FROM core_freespeechresult AS result\n",
" LEFT JOIN core_language as lang\n",
" ON lang.id = result.language_id\n",
" LEFT JOIN core_surveyresult as survey\n",
" ON survey.id = result.survey_result_id\n",
" WHERE result.submitted_at > \"2017-09-19\"\n",
" AND result.survey_result_id IN (\n",
" SELECT result.survey_result_id\n",
" FROM core_freespeechresult AS result\n",
" WHERE submitted_at > \"2017-09-19\"\n",
" GROUP BY result.survey_result_id\n",
" HAVING COUNT(DISTINCT result.language_id) > 1\n",
" )\n",
"''', db)"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<table border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"border:black; border-collapse:collapse;\"><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\"></td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">core_freespeechresult</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">core_picturegameresult</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">core_predictionquizresult</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">core_surveyresult</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2017-09</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">172</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">21416</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">8837</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">4413</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2017-10</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">78</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">9286</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2364</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1307</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2017-11</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">51</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3586</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">701</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">464</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2017-12</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">32</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1642</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">997</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">466</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-01</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">387</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">101</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">46</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-02</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">147</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">83</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">28</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-03</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">0</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">304</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">139</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">53</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-04</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">12</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1851</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">524</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">294</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-05</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">0</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">563</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">327</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">127</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-06</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">3</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">268</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">173</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">112</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-07</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">0</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">118</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">148</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">97</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-08</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">1</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">194</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">215</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">114</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-09</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">0</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">116</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">117</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">47</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-10</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">7</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">200</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">107</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">90</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-11</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">15</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">736</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">67</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">59</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2018-12</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">73</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">66</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">27</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2019-01</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">5</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">624</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">137</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">100</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2019-02</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">0</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">63</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">49</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">24</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2019-03</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">0</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">81</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">25</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">13</td></tr></table>"
],
"text/plain": [
"<ipy_table.ipy_table.IpyTable at 0x7fe937d55fd0>"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"allcounts = dict()\n",
"tables = ['core_freespeechresult', 'core_picturegameresult', 'core_predictionquizresult', 'core_surveyresult']\n",
"for table in tables:\n",
" counts = pandas.read_sql('''\n",
" SELECT\n",
" CONCAT(YEAR(result.submitted_at), '-', MONTH(result.submitted_at)) AS 'year-month',\n",
" COUNT(*) AS '# games'\n",
" FROM {table} AS result\n",
" WHERE submitted_at > \"2017-09-19\"\n",
" GROUP BY YEAR(result.submitted_at), MONTH(result.submitted_at)\n",
" '''.format(table=table), db)\n",
" allcounts[table] = dict(zip(\n",
" ['-'.join('{:02d}'.format(int(d)) for d in date.split('-')) for date in counts['year-month']],\n",
" counts['# games']\n",
" ))\n",
" \n",
"dates = sorted({\n",
" date for dates in allcounts.values() for date in dates\n",
"})\n",
"make_table([[''] + tables] + [\n",
" [date] + [allcounts[table].get(date, 0) for table in tables]\n",
" for date in dates\n",
"])"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<table border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"border:black; border-collapse:collapse;\"><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">core_freespeechresult</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2019-01-30T19:40:03.000000000</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">435</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">core_picturegameresult</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2019-03-09T00:59:58.000000000</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">47672</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">core_predictionquizresult</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2019-03-13T04:21:56.000000000</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">15522</td></tr><tr><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">core_surveyresult</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">2019-03-12T14:48:58.000000000</td><td style=\"border-left: 1px solid;border-right: 1px solid;border-top: 1px solid;border-bottom: 1px solid;\">8321</td></tr></table>"
],
"text/plain": [
"<ipy_table.ipy_table.IpyTable at 0x7fe936091f28>"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"make_table([\n",
" [\n",
" table,\n",
" pandas.read_sql('''\n",
" SELECT MAX(submitted_at) FROM {table}\n",
" '''.format(table=table), db).values[0, 0],\n",
" pandas.read_sql('''\n",
" SELECT COUNT(*) FROM {table}\n",
" '''.format(table=table), db).values[0, 0]\n",
" ]\n",
" for table in pandas.read_sql('''\n",
" SHOW TABLES\n",
" ''', db).values[:, 0]\n",
" if 'submitted_at' in set(pandas.read_sql('''\n",
" DESCRIBE {table}\n",
" '''.format(table=table), db)['Field'])\n",
"])"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
}
},
"nbformat": 4,
"nbformat_minor": 2
}