Description Usage Arguments Value Author(s)
For Presidentti2012 answers, form numerical rating in [0, 1] for the answer options (rougly corresponding to conservative-liberal axis)
1 2 | Presidentti2012ConvertOptionsToNumeric(df, questions,
type = "rate")
|
df |
data.frame giving the merged table of subjects vs. background information + answers The example script for obtaining this was posted to Louhos. http://louhos.wordpress.com/2012/01/06/kenesta-seuraava-presidentti-ennusta-itse-hsn-vaalikonedatan-avulla/ |
questions |
questions returned by GetPresidentti2012(category="questions", API=API) |
type |
return the answer rating as integers ("integer") 0, 1, 2, ... or as rates between [0,1]. |
list A list with two data.frames: info (user information) and answer (user answers). The answer options are rated within [0, 1]. Each row corresponds to a user in each of the two data.frames.
Leo Lahti louhos@googlegroups.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.