powered by
Downloads the WRDS dummy database from the respective Tidy Finance GitHub repository and saves it to the specified path. If the file already exists, the user is prompted before it is replaced.
create_wrds_dummy_database( path, url = paste0("https://github.com/tidy-finance/website/tree/main/blog/", "tidy-finance-dummy-data/data/tidy_finance.sqlite") )
Invisible NULL. Side effect: downloads a file to the specified path.
NULL
The file path where the SQLite database should be saved.
The URL where the SQLite database is stored.
path <- paste0(tempdir(), "/tidy_finance_r.sqlite") create_wrds_dummy_database(path)
Run the code above in your browser using DataLab