Learn R Programming

frenchdata (version 0.2.0)

get_french_data_list: Get list of files available on Kenneth's French data library website

Description

Extract the list of files along with a description and links to them and additional information from the data library page of Prof. Kenneth French website.

Usage

get_french_data_list(max_tries = 3, refresh = FALSE)

Arguments

max_tries

a number defining the maximum number of tries to perform when downloading the page.

refresh

logical. If TRUE re-downloads the page and overwrites the cached information. Otherwise use the cached data if a download has been done in the current session.

Value

An object of class french_data_list with the following elements:

  • info - holds the information about when and were the information was retrieved.

  • files_list a tibble with with a list of files that can be downloaded, the tibble contains a name, file_url and details_url column.

Examples

Run this code
# NOT RUN {
files_list <- get_french_data_list()
files_list
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab