Description Usage Arguments Details Value See Also Examples
get_question() prints out the survey question associated with a given column in a given dataset name.
1 | get_question(do, q)
|
do |
a CES survey data object (given as a character string) |
q |
a column name in a CES survey data object (given as a character string) |
The order of the parameters for get_question
are data object then column name.
Both parameters must be character strings and cannot be reversed.
To return the associated survey question, the get_question
function relies
on the var_label
function from the labelled
package.
The associated question q
in a loaded dataset do
.
get_ces()
function help.
get_cescodes()
help.
1 2 3 4 5 6 7 8 | # print out CES code calls
get_cescodes()
# call CES survey
get_ces("ces1988")
# request the survey question for column a6
get_question("ces1988", "a6")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.