Skip to contents

Prints an object of class french_dataset

Usage

# S3 method for french_dataset
print(x, ...)

Arguments

x

an object of class french_dataset

...

other arguments passed to print()

Value

Return a tbl_df/data.frame class object from the subsets element of x.

Examples

# \donttest{
ff_3f <- download_french_data('Fama/French 3 Factors')
print(ff_3f)
#> 
#> ── Kenneth's French data set 
#>  This file was created by CMPT_ME_BEME_RETS using the 202401 CRSP database. The 1-month TBill return is from Ibbotson and Associates, Inc. 
#> 
#> Information collected from: https://mba.tuck.dartmouth.edu/pages/faculty/ken.french/ftp/F-F_Research_Data_Factors_CSV.zip on Fri Mar 22 17:54:26 2024
#> 
#>  For details on the data set call the function `browse_details_page()` on this object
#> 
#> ── Subsets in the file: 
#> # A tibble: 2 × 2
#>   name                               data                  
#>   <chr>                              <list>                
#> 1 ""                                 <spc_tbl_ [1,171 × 5]>
#> 2 "Annual Factors: January-December" <spc_tbl_ [97 × 5]>   
ff_3f
#> 
#> ── Kenneth's French data set 
#>  This file was created by CMPT_ME_BEME_RETS using the 202401 CRSP database. The 1-month TBill return is from Ibbotson and Associates, Inc. 
#> 
#> Information collected from: https://mba.tuck.dartmouth.edu/pages/faculty/ken.french/ftp/F-F_Research_Data_Factors_CSV.zip on Fri Mar 22 17:54:26 2024
#> 
#>  For details on the data set call the function `browse_details_page()` on this object
#> 
#> ── Subsets in the file: 
#> # A tibble: 2 × 2
#>   name                               data                  
#>   <chr>                              <list>                
#> 1 ""                                 <spc_tbl_ [1,171 × 5]>
#> 2 "Annual Factors: January-December" <spc_tbl_ [97 × 5]>   
# }