Export variable names
-
- Posts: 5
- Joined: Fri Jul 09, 2021 9:22 am
- Location: UK
- Contact:
Export variable names
Is there a way of exporting a list of variable names & descriptions? Perhaps using a line of r code??
Re: Export variable names
could you elaborate what you mean?
with thanks
with thanks
-
- Posts: 5
- Joined: Fri Jul 09, 2021 9:22 am
- Location: UK
- Contact:
Re: Export variable names
Sorry for the delay! I mean, from the Variables tab/display, is it possible to export variable Names and Descriptions? For example, into a csv file, code book or readme.txt?
Re: Export variable names
the .csv file format only supports a single line for column headings, so it wouldn't be possible.
unless you mean a .csv file where the descriptions are themselves "the data".
if you use the rj editor, the descriptions are attached to each column in a `jmv-description` attribute.
you could assemble these into a data frame, and then use the write.csv() function to write them to a file.
cheers
unless you mean a .csv file where the descriptions are themselves "the data".
if you use the rj editor, the descriptions are attached to each column in a `jmv-description` attribute.
you could assemble these into a data frame, and then use the write.csv() function to write them to a file.
cheers