Hi,
I am trying to save changes in a CSV file in STATA. I have imported the file, wrote the commands and then exported it.
I have used the following commands:
import delimited "/Users/vardanyang/Dropbox/Irish migration - NSV/Ellis Island/Distances_1.csv"
split v1, destring
rename v11 ID_A
rename v12 First_Name_A
rename v13 Last_Name_A
rename v14 ID_B
rename v15 First_Name_B
rename v16 Last_Name_B
rename v17 Age_Dist
rename v18 Dist_FN
rename v19 Dist_lN
export delimited "/Users/vardanyang/Dropbox/Irish migration - NSV/Ellis Island/Distances_1.csv"
After this when I open the csv file in the computer, the changes are saved but when I import it in STATA, the changes are not saved.
Can you please let me know how to proceed so that the changes are saved?
Thanks,
Ciara
Related Posts with Saving CSV files in Stata
local interpolationDear Statalisters I was wondering if anyone has written or knows of a function that obtains the best…
Frequency bar graph for multiple binary variablesI have a string variable (Reasons_Inadmissible) with multiple values that are comma separated. It li…
data with both ICD9 and ICD10 - please helpHi, I have a PHC4 dataset that has both ICD9 and 10 codes merged in the same variables (for example…
Arellano-Bond test AR(2)Dear Statalisters, I have one doubt about the result of my Arellano-Bond test for autocorrelation i…
Interactions with time in linear mixed models (repeated data)Hi all, I'm working on the impact of blood pressure variability on cognitive function over time. I …
Subscribe to:
Post Comments (Atom)
0 Response to Saving CSV files in Stata
Post a Comment