Nothing
#' Column types of NDR variables
#'
#' Specify the variable types for each of the NDR columns.
#'
#' @export
#' @return No return value, called for side effects
#' @keywords internal
current_cols <- function() {
vroom::cols_only(
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_character(),
vroom::col_character(),
vroom::col_date(),
vroom::col_double(),
vroom::col_double(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_factor(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_factor(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_double(),
vroom::col_factor(),
vroom::col_double(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_double(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_double(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_double(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_double(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_logical(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_logical(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_logical(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_character()
)
}
### column specifications for NDR treatment line-list between July and Sept 2020
old_cols <- function() {
vroom::cols_only(
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_character(),
vroom::col_character(),
vroom::col_date(),
vroom::col_double(),
vroom::col_double(),
vroom::col_date(format = "%d-%b-%y"),
vroom::col_date(format = "%d-%b-%y"),
vroom::col_date(format = "%d-%b-%y"),
vroom::col_date(format = "%d-%b-%y"),
vroom::col_date(format = "%d-%b-%y"),
vroom::col_factor(),
vroom::col_date(format = "%d-%b-%y"),
vroom::col_double(),
vroom::col_factor(),
vroom::col_double(),
vroom::col_date(format = "%d-%b-%y"),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_logical(),
vroom::col_date(format = "%d-%b-%y"),
vroom::col_logical(),
vroom::col_date(format = "%d-%b-%y"),
)
}
## hts linelist column specifications
hts_cols <- function() {
vroom::cols(
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_character(),
vroom::col_character(),
vroom::col_character(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_factor(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_double(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_integer(),
vroom::col_integer(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_date(format = "%m/%d/%Y %I:%M:%S %p"),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_integer(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_factor(),
vroom::col_date(format = "%m/%d/%Y %I:%M:%S %p"),
vroom::col_factor(),
vroom::col_date(format = "%m/%d/%Y %I:%M:%S %p"),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_character(),
vroom::col_character(),
vroom::col_factor(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_character()
)
}
## recency linelist column specifications
recency_cols <- function() {
vroom::cols(
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_character(),
vroom::col_factor(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_double(),
vroom::col_factor(),
vroom::col_character(),
vroom::col_date(format = "%d-%b-%Y"),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_logical(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_date(format = "%e-%m-%Y"),
vroom::col_character(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_factor(),
vroom::col_double(),
vroom::col_date(format = "%d-%m-%Y"),
vroom::col_date(format = "%d-%m-%Y"),
vroom::col_date(format = "%d-%m-%Y"),
vroom::col_character(),
vroom::col_character()
)
}
ndr_types <- function() {
c("treatment", "hts", "recency")
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.