Hello,
I am very beginner in Stata, so sorry if my questions seem silly.
I am reading my friend's code, which converts excel file to .dta, and here is the code
xls2dta, save(C:\Users\X\Desktop\ENIAChiledata\data_dta,rep l ace) : import excel C:\Users\X\Desktop\ENIAChiledata\data_xls,firstrow
I googled and as I understand,
-save(C:\Users\XDesktop\ENIAChiledata\data_dta,repl ace) is to specifies where to put the .dta files after converting; but I do not understand the purpose of "replace" here?
Really appreciate any help!
Thanks,
Related Posts with convert excels files to .dta files
Saving tabstat results in new variablesHello, I'm using tabstat to generate weighted standard deviations, by year, for two variables in a …
floatplot -legend- optionDear Nick Cox , I have started using your -floatplot- from SSC program. I really like to use it more…
Same model, different dependent variables: Single Y label in the combined graphDear Statalisters, I have troubles using graph combine, I don’t know how to get a single y label fo…
Table command in Stata 17: add column name to first columnHi, I'm exploring the new table and collect commands in Stata 17, and find that it has many useful …
panel data with cross sectional dependence and autocorrelationI have a panel data with N>T (N=157, T=15). Have taken log of a few variables to make it Heterosc…
Subscribe to:
Post Comments (Atom)
0 Response to convert excels files to .dta files
Post a Comment