代码拉取完成,页面将自动刷新
##-- Packages
library(dplyr)
library(tidyr)
library(stringr)
library(lubridate)
library(cranlogs)
library(shiny)
library(shinymaterial)
library(shinycssloaders)
library(shinyWidgets)
library(shinyBS)
library(shinyjs)
library(rintrojs)
library(r2d3)
source(file = "R/utils.R")
##-- Data corona
data_corona <- get_corona_data()
##-- Data brands
data_brands <- read.table(file = "data/brand_values.csv", sep = ",", dec = ".", header = TRUE, quote = "\"")
##-- Data pacakges
pkgs_file <- "data/R_packages.csv"
if(!file.exists(pkgs_file)) {
data_pkgs <- get_pkgs_data()
write.table(x = data_pkgs, file = pkgs_file, sep = ";", row.names = FALSE)
} else {
data_pkgs <- read.table(file = pkgs_file, sep = ";", dec = ".", header = TRUE)
}
##-- Global definitions
height <- 515
width <- "100%"
col_spinner <- "#2196F3"
##-- Out path
dir.create(path = "www/out_bcr", showWarnings = FALSE)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。