BP2019_download: tests for existence and, if not, retrieves...

Description Usage Arguments Value

View source: R/bp_imf.R

Description

tests for existence and, if not, retrieves bp-stats-review-2019-all-data.xlsx

Usage

1
2
3
4
5
6
BP2019_download(
  local.path = NULL,
  folder = "BP",
 
    remote.url = "https://www.bp.com/content/dam/bp/business-sites/en/global/corporate/xlsx/energy-economics/statistical-review/bp-stats-review-2019-all-data.xlsx"
)

Arguments

local.path

to directory which will hold eht folder and file defaults to cache (on osx ~/Library/Caches)

folder

to hold file in local.path

remote.url

url of BP stats review, currently defaults to 2019

Value

string full path to local copy


msandifo/reproscir documentation built on Oct. 2, 2020, 3:30 p.m.