1 Star 0 Fork 1

RStata 团队/barchartraceR2D3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
global.R 891 Bytes
一键复制 编辑 原始数据 按行查看 历史
douglas 提交于 2020-03-23 20:56 . Updating packages order
##-- 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)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tidyfriday/barchartraceR2D3.git
[email protected]:tidyfriday/barchartraceR2D3.git
tidyfriday
barchartraceR2D3
barchartraceR2D3
master

搜索帮助