daily_update: Update the Rminor apps

daily_updateR Documentation

Update the Rminor apps

Description

Update the Rminor apps

Usage

daily_update(
  steps = c(`Update Data` = "update", `Run RmData functions` = "funs",
    `Send Dependencies to Dropbox` = "send"),
  funs = rlang::set_names(c("dates", "load_export", "cohorts", "client_counts",
    "qpr_ees", "qpr_spdats", "vets", "vet_active", "bed_unit_utilization",
    "data_quality", "data_quality_summary", "project_evaluation_mahoning",
    "prioritization", "spms")),
  remote = FALSE,
  backup = FALSE,
  app_env,
  clarity_api,
  session,
  e = rlang::caller_env()
)

Arguments

steps

(character) vector of the steps to run. Any of:

  • update Update Data

  • funs Run RmData functions

  • send Send Dependencies to Dropbox

funs

(character) vector of functions to run. Any of:

  • dates

  • load_export

  • cohorts

  • client_counts

  • qpr_ees

  • qpr_spdats

  • vets

  • vet_active

  • prioritization

  • bed_unit_utilization

  • data_quality

  • data_quality_summary

remote

(logical) Whether to send dependencies to the remote storage.

backup

(logical) Whether to back up all raw dependencies in the dependencies environment.

app_env

(app_env) R6 Object containing dependencies. If all arguments to this function are saved in the app_env, then they will be called from there and arguments do not need to be specified.

clarity_api

(clarity_api) R6 Object containing the connection to the Clarity Looker instance.

session

(shiny session object)

e

(calling environment)

Value

Updates the Rminor apps and provides status messages along the way


COHHIO/Rm_data documentation built on Dec. 9, 2024, 2:10 p.m.