Hi,
I have a .dta file dataset and I want to read the data from row 1 as row 1 variable names. The dataset looks like the below and it's in .dta format. The A, B , C,..... are the variable names saved in the dataset, but I want to read the .dta file from row 1 as variable names. The use "..\..dta" , clear does not serve the purpose. Thanks!
A B C D E F G H I J K L M
SCHCD AC_YEAR C1_TB C2_TB C3_TB C4_TB C5_TB C6_TB C7_TB C8_TB C9_TB C10_TB C11_TB
35010103801 2017-18 0 0 0 0 0 0 0 0 0 0 0
35010201201 2017-18 0 0 0 0 0 0 0 0 0 0 0
35020200201 2017-18 4 1 5 4 4 1 4 1 0 0 0
35020300404 2017-18 1 0 2 1 0 0 0 0 0 0 0
35010104003 2017-18 0 0 0 0 1 0 0 0 0 0 0
I have a .dta file dataset and I want to read the data from row 1 as row 1 variable names. The dataset looks like the below and it's in .dta format. The A, B , C,..... are the variable names saved in the dataset, but I want to read the .dta file from row 1 as variable names. The use "..\..dta" , clear does not serve the purpose. Thanks!
A B C D E F G H I J K L M
SCHCD AC_YEAR C1_TB C2_TB C3_TB C4_TB C5_TB C6_TB C7_TB C8_TB C9_TB C10_TB C11_TB
35010103801 2017-18 0 0 0 0 0 0 0 0 0 0 0
35010201201 2017-18 0 0 0 0 0 0 0 0 0 0 0
35020200201 2017-18 4 1 5 4 4 1 4 1 0 0 0
35020300404 2017-18 1 0 2 1 0 0 0 0 0 0 0
35010104003 2017-18 0 0 0 0 1 0 0 0 0 0 0
Comment