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
Creating a dummy variable with "or" conditionHi everyone! I want to create a dummy variable such that it gives me 1 when either one or both of t…
Date issueDear All, I downloaded some data from Kenneth French Library (http://mba.tuck.dartmouth.edu/pages/.…
how to output the results from mata to stata variable?I want to store the reuslts "1", how to do that? Code: * Example generated by -dataex-. To install:…
Collapsing data by both weighted and unweighted meansI have a dataset of ~100K, and I'd like to collapse the data for variable Alpha into its mean, and v…
State level characteristicsHi everyone! I am using a model where I have an element: vector of state-level characteristics I kno…
Subscribe to:
Post Comments (Atom)
0 Response to convert excels files to .dta files
Post a Comment