Hi everyone,
When I downloaded the wrds data from the website, the rdata file had variable labels so that I could clearly see the definition of each variable. However, when I downloaded the wrds data using stata, the raw data downloaded did not have variable labels.
These are the codes. (odbc/jdbc)
odbc load, exec("select * from comp.funda where datafmt = 'STD' and INDFMT = 'INDL' and variable description and fyear between 2020 and 2021 order by fyear limit 10") dsn("wrds")
jdbc load, exec("select * from comp.funda where datafmt = 'STD' and INDFMT = 'INDL' and variable description and fyear between 2020 and 2021 order by fyear limit 10")
I would like to know how to use stata to download wrds data that also has variable labels.
Could you help me? ,please.
Thank you very much.
When I downloaded the wrds data from the website, the rdata file had variable labels so that I could clearly see the definition of each variable. However, when I downloaded the wrds data using stata, the raw data downloaded did not have variable labels.
These are the codes. (odbc/jdbc)
odbc load, exec("select * from comp.funda where datafmt = 'STD' and INDFMT = 'INDL' and variable description and fyear between 2020 and 2021 order by fyear limit 10") dsn("wrds")
jdbc load, exec("select * from comp.funda where datafmt = 'STD' and INDFMT = 'INDL' and variable description and fyear between 2020 and 2021 order by fyear limit 10")
I would like to know how to use stata to download wrds data that also has variable labels.
Could you help me? ,please.
Thank you very much.

Comment