This commit is contained in:
Martin Chan 2021-08-27 14:51:59 +01:00
Родитель b33d3cc28b
Коммит dc20e06741
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -26,8 +26,8 @@
#' function.
#'
#' @param data Person Query as a dataframe including date column named `Date`.
#' This function assumes the data format is MM/DD/YYYY as is standard in a WpA
#' query output.
#' This function assumes the data format is MM/DD/YYYY as is standard in a
#' Workplace Analytics query output.
#' @param before_start Start date of 'before' time period in MM/DD/YYYY format
#' as character type. Before time period is the period before the intervention
#' (e.g. training program, re-org, shift to remote work) occurs and bounded by

Просмотреть файл

@ -82,7 +82,7 @@ period_change <-
daterange_2_start <- as.Date(after_start)
daterange_2_end <- as.Date(after_end)
# Fix dates format for WpA Queries
# Fix dates format for Workplace Analytics Queries
WpA_dataset <- data %>% mutate(Date = as.Date(Date, "%m/%d/%Y"))

Просмотреть файл

@ -17,8 +17,8 @@ create_ITSA(
}
\arguments{
\item{data}{Person Query as a dataframe including date column named \code{Date}.
This function assumes the data format is MM/DD/YYYY as is standard in a WpA
query output.}
This function assumes the data format is MM/DD/YYYY as is standard in a
Workplace Analytics query output.}
\item{before_start}{Start date of 'before' time period in MM/DD/YYYY format
as character type. Before time period is the period before the intervention