download_clean_save_bp | R Documentation |
Download, clean and save BP World Energy Review Database to feather format
download_clean_save_bp( url = "https://www.bp.com/content/dam/bp/business-sites/en/global/corporate/xlsx/energy-economics/statistical-review/bp-stats-review-2021-all-data.xlsx", target_dir = "./" )
url |
Url to latest BP World Energy Review Database. Latest known is provided as default. You can use guess_url() to guess the latest url. |
target_dir |
Directory where database is stored. Current directory is default. |
Name of feather file were final cleaned database is stored
download_clean_save_bp(guess_url(2021))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.