Skip to contents

GDP and HFCE data from WDI.

Usage

aux_wdi_update(
  force = FALSE,
  maindir = getOption("pipaux.working_dir"),
  owner = getOption("pipfun.ghowner"),
  branch = NULL,
  tag = branch,
  detail = getOption("pipaux.detail.raw")
)

Arguments

force

logical: If TRUE data will be overwritten.

maindir

character: Main directory of project.

owner

character: Github repo owner. Default is getOption("pipfun.ghowner")

tag

character: specific release to be used in the update.

detail

has an option TRUE/FALSE, default value is FALSE

Value

data.table with gdp and pce variables

Examples

aux_wdi_update()
#> Error in pipfun::get_wrk_release(verbose = FALSE):  Working release has not been set up
#>  You need to set a working release with `pipfun::setup_working_release()`