Difference between revisions of "Great game of Turkey"

From Testiwiki
Jump to: navigation, search
(first draft based on Batu's idea)
 
(codes for happiness and progress scores)
Line 6: Line 6:
 
'Do not abandon scarf ban';Do not abandon scarf ban
 
'Do not abandon scarf ban';Do not abandon scarf ban
 
">
 
">
# This is code /happiness on page [[Great game of Turkey]]
+
# This is code Op_en7421/choices on page [[Great game of Turkey]]
  
 
library(OpasnetUtils)
 
library(OpasnetUtils)
  
print(option)
+
dat <- data.frame(
print(wiki_user)
+
User = wiki_username,
 +
Result = option # Option
 +
)
 +
 
 +
opbase.upload(
 +
dat,
 +
ident = "Op_en7421",
 +
name = "Great game of Turkey",
 +
subset = "Choices",
 +
act_type = "append",
 +
language = "eng",
 +
who = wiki_username
 +
)
 +
 
 +
oprint(dat)
 +
cat("Your choice was successfully saved.\n")
 
</rcode>
 
</rcode>
  
Line 34: Line 49:
 
</t2b>
 
</t2b>
  
<rcode name="happiness" embed=1 variables="
+
<rcode name="happiness" label=2Save your happiness score" embed=1 variables="
 
name:option|type:selection|options:
 
name:option|type:selection|options:
 
'Abandon scarf ban';Abandon scarf ban;
 
'Abandon scarf ban';Abandon scarf ban;
Line 40: Line 55:
 
'Do not abandon scarf ban';Do not abandon scarf ban|
 
'Do not abandon scarf ban';Do not abandon scarf ban|
 
name:group|type:selection|options:
 
name:group|type:selection|options:
'Nationalist';Nationalist;
+
'Nationalists';Nationalists;
'Kurd';Kurd;
+
'Conservatives';Conservatives;
'Liberal';Liberal|
+
'Minorities';Minorities;
 +
'Liberals';Liberals;
 +
'Kemalists';Kemalists|
 
name:hscore|type:selection|options:
 
name:hscore|type:selection|options:
2;+2;1;+1;0;0;-1;-1;-2;-2|default:0
+
NA;- choose score -;2;+2;1;+1;0;0;-1;-1;-2;-2|default:NA
 +
">
 +
# This is code Op_en7421/happiness on page [[Great game of Turkey]]
 +
 
 +
library(OpasnetUtils)
 +
 
 +
dat <- data.frame(
 +
Option = option,
 +
Group = group,
 +
User = wiki_username,
 +
Result = hscore # Hscore
 +
)
 +
 
 +
if(!is.na(hscore)) {
 +
opbase.upload(
 +
dat,
 +
ident = "Op_en7421",
 +
name = "Great game of Turkey",
 +
subset = "Happiness",
 +
act_type = "replace",
 +
language = "eng",
 +
who = wiki_username
 +
)
 +
oprint(dat)
 +
cat("Your progress score was successfully saved.\n")
 +
} else {
 +
cat("Choose your score first.\n")
 +
}
 +
</rcode>
 +
 
 +
<rcode name="progress" label="Save your progress score" embed=1 variables="
 +
name:option|type:selection|options:
 +
'Abandon scarf ban';Abandon scarf ban;
 +
'Abandon scarf ban partly';Abandon scarf ban partly;
 +
'Do not abandon scarf ban';Do not abandon scarf ban|
 +
name:progress|type:selection|options:
 +
'Civil Rights';Civil Rights;
 +
'Women's Rights';Women's Rights;
 +
'Religion';Religion;
 +
'National Values';National Values;
 +
'Democracy';Democracy|
 +
name:pscore|type:selection|options:
 +
NA;- choose score -;2;+2;1;+1;0;0;-1;-1;-2;-2|default:NA
 
">
 
">
# This is code /happiness on page [[Great game of Turkey]]
+
# This is code Op_en7421/progress on page [[Great game of Turkey]]
  
 
library(OpasnetUtils)
 
library(OpasnetUtils)
  
print(option)
+
dat <- data.frame(
print(group)
+
Option = option,
print(hscore)
+
Progress = progress,
 +
User = wiki_username,
 +
Result = pscore # Pscore
 +
)
 +
 
 +
if(!is.na(pscore)) {
 +
opbase.upload(
 +
dat,
 +
ident = "Op_en7421",
 +
name = "Great game of Turkey",
 +
subset = "Progress",
 +
act_type = "replace",
 +
language = "eng",
 +
who = wiki_username
 +
)
 +
oprint(dat)
 +
cat("Your progress score was successfully saved.\n")
 +
} else {
 +
cat("Choose your score first.\n")
 +
}
 
</rcode>
 
</rcode>
 +
 +
{| {{prettytable}}
 +
|+'''Structures of the tables.
 +
! Questions || Choices || Happiness || Progress || Questionselection || Optionselection || User
 +
|----
 +
|
 +
* Question
 +
* Option
 +
|
 +
* User
 +
* Option
 +
|
 +
* Option
 +
* Group
 +
* User
 +
* Hscore
 +
|
 +
* Option
 +
* Progress
 +
* User
 +
* Pscore
 +
|
 +
* Question
 +
* User
 +
* Qscore
 +
|
 +
* Option
 +
* User
 +
* Oscore
 +
|
 +
* User
 +
* Date
 +
* Group
 +
|}
 +
 +
{| {{prettytable}}
 +
|+'''Important categories
 +
! Groups for Turkey || Progress categories
 +
|----
 +
|
 +
* Nationalists
 +
* Conservatives
 +
* Minorities
 +
* Liberals
 +
* Kemalists
 +
|
 +
* Civil Rights
 +
* Women's Rights
 +
* Religion
 +
* National Values
 +
* Democracy
 +
|}
  
 
== See also ==
 
== See also ==

Revision as of 00:57, 16 January 2016

Should the scarf ban in the universities be abandoned?:

+ Show code

Question

What is a good game to crowdsource citizen priorities about daily political decisions in such a way that

  • it can be done using a mobile app,
  • it characterises happiness of citizen groups of the decisions,
  • it characterises progress of important societal values,
  • it enables crowdsourcing the actual questions and options asked?

Answer

See the top of the page for the main questionnaire of the game.

Rationale

Questions(-)
ObsQuestionOption
1Should the scarf ban in the universities be abandoned?Yes
2Should the scarf ban in the universities be abandoned?Partly
3Should the scarf ban in the universities be abandoned?No

option:

group:

hscore:

+ Show code

option:

progress:

pscore:

+ Show code

Structures of the tables.
Questions Choices Happiness Progress Questionselection Optionselection User
  • Question
  • Option
  • User
  • Option
  • Option
  • Group
  • User
  • Hscore
  • Option
  • Progress
  • User
  • Pscore
  • Question
  • User
  • Qscore
  • Option
  • User
  • Oscore
  • User
  • Date
  • Group
Important categories
Groups for Turkey Progress categories
  • Nationalists
  • Conservatives
  • Minorities
  • Liberals
  • Kemalists
  • Civil Rights
  • Women's Rights
  • Religion
  • National Values
  • Democracy

See also


Keywords

References


Related files