Description Usage Arguments Value Examples
Gets individual response data for a particular wave and set of variables.
1 |
dir |
The path to the directory containing the subfolders for each wave. This is named "stata13_se" when downloading from UKDS. |
wave |
A whole number indicating the desired wave of Understanding Society data. |
vars |
A character vector containing the desired variables. Variables should be specified without the "w_" prefix and "pidp" is included by default. If an empty vector is provided, all variables will be returned. |
long |
The format of the output. If TRUE, all variable "w_" prefixes are removed and a column is added indicating the numerical wave of the data. |
A tibble containing individual response data for the desired wave and variables.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.