Tuesday, May 25, 2021

some of variable contents are dropped when import data from excel to stata under the condition that the variables is in strL format

Code:
import excel "data.xlsx", sheet("Sheet1") firstrow
I want to import data from excel to stata, however, the imported data in Stata are different from original values in excel

You can download "data.xlsx" and have a try.

Here is the link:

https://xexx-my.sharepoint.com/:x:/g...KjAlQ?e=Jagvsf

No comments:

Post a Comment