tidy-finance / r-tidyfinance

R package with helper functions for developers and researchers familiar with Tidy Finance
Other
11 stars 2 forks source link

Allow users to provide data set name as well as types for download_data() #35

Closed christophscheuch closed 1 month ago

christophscheuch commented 2 months ago

Came up in https://github.com/tidy-finance/r-tidyfinance/issues/30 discussions.

As an example, a user might want to provide "Fama/French 5 Factors (2x3) [Daily]" as a type instead of "factors_ff_5_daily". We can do a simple lookup in the available types table to fetch the correct type string.

christophscheuch commented 1 month ago

At a closer look, it only makes sense for Fama-French data sources because other types have less clear naming or are compiled from multiple tables. I hence decided to reject this feature.