View source: R/alspac-addition.R
extract_alspac_labels | R Documentation |
Extract Stata labels from ALSPAC .dta files. These are needed to interpret numeric values assigned to categorical variables.
extract_alspac_labels(dat, alsp_dir)
dat |
data.frame with columns "path", "obj", name", that correspond to the path within the ALSPAC directory to find the files, the file names of interest and the variables of interest. |
alsp_dir |
string. Path to ALSPAC directory on local machine. |
list of variable names and their labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.