BP_all: Title

Description Usage Arguments Examples

View source: R/bp_imf.R

Description

Title

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
BP_all(
  filename = BP2020_download(),
  sheet = 32,
  countries = NA,
  years = 1965:2019,
  na.rm = TRUE,
  verbose = F,
  data = FALSE,
  units = NA
)

Arguments

data

logical- output only data (tbl), otherwise list containing data (tbl) and name (character)

units

append a colum with units (chr) to data (tbl)

Examples

1
2
3
4
(BP_sheets( search=c("Oil.*Prod.*To"))$sheet %>%
BP_all( sheet=., count=c("Aus", "Ven", "Russ", "US", "Sau")))$data %>%
ggplot(aes(year, value, col=region))+
geom_line()

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