Description Usage Arguments Value Examples
View source: R/download_french_data.R
Download the data set
1 2 3 4 5 6 7 | download_french_data(
dataset_name,
dir = NULL,
dest_file = NULL,
overwrite = FALSE,
max_tries = 3
)
|
dataset_name |
string with the data set name. Use |
dir |
character. Should be a valid directory path where to save the compressed downloaded file. |
dest_file |
character. Should be a valid file name to save the compressed downloaded file. If |
overwrite |
boolean. Overwrite an existing file? |
max_tries |
numeric. Number of file download trials. |
An objects of class french_dataset
with the following elements:
info
- holds the information about when and were the information was retrieved.
details_url
- url for the webpage with details on data set.
subsets
a tibble with with the subsets contained in the downloaded file, the tibble contains a name
and data
column.
1 2 | ff_3f <- download_french_data('Fama/French 3 Factors')
ff_3f
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.