guess_url: Given a year, will guess the URL of the BP World Energy...

View source: R/functions.R

guess_urlR Documentation

Given a year, will guess the URL of the BP World Energy Review Excel File. Please observer that BP mostly does not host prior versions of the review, so this will only work for the last available report year - also, it may fail, as BP frequently changes URLs.

Description

Given a year, will guess the URL of the BP World Energy Review Excel File. Please observer that BP mostly does not host prior versions of the review, so this will only work for the last available report year - also, it may fail, as BP frequently changes URLs.

Usage

guess_url(year)

Arguments

year

Year for which to guess URL

Value

URL of BP Excel File


inwe-boku/irenabpdata documentation built on April 1, 2022, 11:55 p.m.