Skip to contents

Load or update grouped data means dataset from PovcalNet Masterfile. See details.

Usage

aux_gdm(
  action = c("update", "load"),
  force = FALSE,
  owner = getOption("pipfun.ghowner"),
  maindir = getOption("pipaux.working_dir"),
  tag = NULL,
  detail = getOption("pipaux.detail.raw")
)

Arguments

action

character: Either "load" or "update". Default is "update". If "update" data will be updated on the system. If "load" data is loaded in memory.

force

logical: If TRUE data will be overwritten.

owner

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

maindir

character: Main directory of project.

tag

character: specific release to be used in the update.

detail

has an option TRUE/FALSE, default value is FALSE

Details

Survey means cannot be automatically calculated for grouped data, so at some stage the mean needs to be entered manually. This function reads from the PCN Masterfile to ensure that PCN and PIP uses the same data means.

The dependency on the PCN Masterfile should be changed in the future.