Presidentti2012RateChoices: For Presidentti2012 answers, form numerical rating (in...

Description Usage Arguments Value Author(s)

Description

For Presidentti2012 answers, form numerical rating (in integers) for the answer options (rougly corresponding to the index on conservative-liberal axis)

Usage

1
  Presidentti2012RateChoices(questions, type = "rate")

Arguments

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].

Value

list A list: each element corresponds to a question. For each question, the answer options are given an index, roughly corresponding to their position on conservative-liberal axis

Author(s)

Leo Lahti sorvi-commits@lists.r-forge.r-project.org


sorvi documentation built on May 2, 2019, 6:16 p.m.