feat: мета-данные к выгрузке данных

This commit is contained in:
2026-04-13 20:18:47 +03:00
parent 0212726b06
commit c72cf5b815

9
app.R
View File

@@ -885,6 +885,15 @@ server <- function(input, output, session) {
}
)
# добавить мета информацию
list_of_df[["meta"]] <- dplyr::tribble(
~`Параметр` , ~`Значение`,
"Пользователь" , ifelse(AUTH_ENABLED, res_auth$user, "anonymous"),
"Название базы" , names(enabled_schemas)[enabled_schemas == scheme()],
"id базы" , scheme(),
"Время выгрузки" , format(Sys.time(), "%d.%m.%Y %H:%M:%S"),
)
# set date params
options("openxlsx2.dateFormat" = "dd.mm.yyyy")