BP2018_download: tests for existence and, if not, retreives...

Description Usage Arguments Value

Description

tests for existence and, if not, retreives bp-stats-review-2018-all-data.xlsx

Usage

1
2
BP2018_download(local.path = NULL, folder = "BP",
  remote.url = "https://www.bp.com/content/dam/bp/en/corporate/excel/energy-economics/statistical-review/bp-stats-review-2018-all-data.xlsx")

Arguments

local.path

to directory whcih 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, ciurrnely defaults to 2018

Value

string full path to local copy


msandifo/reproscir documentation built on May 13, 2019, 5:25 p.m.