Dear Statalisters,
I'm quite new to Stata and I've run into what seems like a very "basic" problem. I would like to export my dataset from Stata to a csv file, but instead of having variable names on the first row, I need to have variable labels. I know that this is possible for exporting to excel with the code below, but for creating text files this option doesn't seem to exist. Am I missing something here? Is there any easy way to "go around" this? Of course the excel file can then be saved as a csv file, but I'm trying to avoid any additional steps here.
export excel using "test.xlsx", firstrow(varlabels)
Thank you in advance!
Best regards,
Elina
Related Posts with Is it possible to "export delimited" with variable labels instead of variable names?
generating parents education variableHi everybody, I have a dataset that includes the variables: "family id", "highest diploma", "gender"…
What is wrong my code as posted here?There is two region dummy variables mi (mi takes the value 1 if Michigan and 0 otherwise) and 32 mon…
Arch, Garch Tarch model and post estimation in PANEL DATAGood morning. I'm am running a model with Arch, T arch and Garch effects over stock returns and with…
RE -xtgee- Equivalence with GLM?Hi! I was looking around for a panel version of GLM to run a log-gamma model on. From what I read i…
Interaction effect with continuous criterion variable, dummy predictor and dummy moderator as linear plot?Hello everyone, I have a question regarding the adequacy of using a linear visualisation plot for a…
Subscribe to:
Post Comments (Atom)
0 Response to Is it possible to "export delimited" with variable labels instead of variable names?
Post a Comment