Learn R Programming

JFE (version 2.5.6)

getFrench.Factors: Download seven asset pricing factors data from the data library of Dr. French

Description

It downloads seven factors data used for asset pricing analysis from the data library of Dr. Kenneth R. French at Dartmouth College.

Usage

#To save time, the example below is commented.
#getFrench.Factors(filename="F-F_Research_Data_5_Factors_2x3")

Value

ff.factor

The data retrieved and arranged.

Arguments

filename

The name of data file as listed in <"http://mba.tuck.dartmouth.edu/pages/faculty/ken.french/data_library.html">, which is an important database for asset pricing literature, this function supports seven factor files:
"F-F_Research_Data_Factors",# Fama/French 3 Factors
"F-F_Research_Data_5_Factors_2x3",# Fama/French 5 Factors
"F-F_Momentum_Factor", # Fama/French Momentum Factors
"F-F_Momentum_Factor_daily", # Fama/French Momentum Factors(daily)
"F-F_Research_Data_Factors_weekly",# Fama/French 3 Factors(weekly)
"F-F_Research_Data_Factors_daily", # Fama/French 3 Factors(daily)
"F-F_Research_Data_5_Factors_2x3_daily" # Fama/French 5 Factors (daily)

Author

Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University.

Details

This function connects with <"http://mba.tuck.dartmouth.edu/pages/faculty/ken.french/data_library.html"> and downloads the specified factors data. Sometimes, the datafile contains multiple data tables, hence the code returns a list.

Examples

Run this code

getFrench.Factors(filename="F-F_Research_Data_Factors")


Run the code above in your browser using DataLab