Dear All,
I am trying to import some data from Kenneth French Data Library (Kenneth R. French - Data Library (dartmouth.edu)). Specifically, I would like to upload in Stata the Fama/French 3 Factors [Weekly] in csv format. I use the following:
Importing data was not successful, since I noticed that at the beginning and at the end of the dataset there is a brief description of the dataset. Hence, Stata reads the data as strings putting them in only one column. I tried to use rowrange option but still it did not work.
Is there any way I can import the data directly in Stata without the need of opening the csv file and deleting the rows that are unnecessary.
Thanks for your help.
Dario
I am trying to import some data from Kenneth French Data Library (Kenneth R. French - Data Library (dartmouth.edu)). Specifically, I would like to upload in Stata the Fama/French 3 Factors [Weekly] in csv format. I use the following:
Code:
copy "https://mba.tuck.dartmouth.edu/pages/faculty/ken.french/ftp/F-F_Research_Data_Factors_weekly_CSV.zip" ff.zip unzipfile ff.zip import delimited F-F_Research_Data_Factors_weekly.csv
Is there any way I can import the data directly in Stata without the need of opening the csv file and deleting the rows that are unnecessary.
Thanks for your help.
Dario
Comment