Learn R Programming

sorvi (version 0.4.05)

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

Description

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

Usage

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