getFrench.Factors: Download seven asset pricing factors data from the data...

View source: R/07dataDownload.R

getFrench.FactorsR Documentation

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")

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)

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.

Value

ff.factor

The data retrieved and arranged.

Author(s)

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

Examples


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



JFE documentation built on Aug. 28, 2023, 9:06 a.m.

Related to getFrench.Factors in JFE...