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
Reshape dataset with format "variable:value"Hello everyone, I have a dataset in the format "variable : value" (see also the following example).…
Q - A problem with qregpd: a Quantile Regression in an Unbalanced Panel Data setHi everyone, I am trying to perform a Quantile Regression with an unbalanced panel data set, to fin…
Calculating censorship date for survival analysisI'm doing survival analysis and trying to calculate the end of follow-up date for each patient. Foll…
Johansen Cointegration TestGood evening, I have a question regarding the Johansen cointegration test in Stata. I have two month…
Re-elaboration of string variableHi all, my data look as follows: Code: * Example generated by -dataex-. For more info, type help …
Subscribe to:
Post Comments (Atom)
0 Response to Saving CSV files in Stata
Post a Comment