checkprep_dt_from_env: Process dataframe selected from environment

Description Usage Arguments Details Value

View source: R/input-fn.R

Description

This internal function is responsible for pre-processing a selected df from the env. The shiny app relies on this func to check all req of the df (cols, col types, data quality etc).

Usage

1
2
3
4
5
6
7
8
checkprep_dt_from_env(
  df_full,
  picker_select_datecol,
  picker_select_grpcol,
  picker_select_valuecol,
  picker_select_tagcol,
  picker_select_anomalycol
)

Arguments

df_full

(data.table/data.frame/tibble) raw dataframe from env

picker_select_datecol

(char) name of respective column selected by user

picker_select_grpcol

(char) name of respective column selected by user

picker_select_valuecol

(char) name of respective column selected by user

picker_select_tagcol

(char) name of respective column selected by user

picker_select_anomalycol

(char) name of respective column selected by user

Details

(Internal function)

Value

list containing preprocessed DT & info about preprocessing steps


rsangole/tslabeler documentation built on April 4, 2020, 8:26 p.m.