-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.R
66 lines (54 loc) · 1.6 KB
/
global.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#carregando os pacotes...
library('shiny')
library('shinydashboard')
library('shinydashboardPlus')
library('shinyWidgets')
#library('plotly')
library('leaflet')
library('leaflet.extras')
#library('leaflet.extras2')
#library('bs4Dash')
library('htmltools')
library('shinycssloaders') #add em 18-nov-2022(14:07h)
library('dplyr') #manipulação de dados - tydiverse
library('stringr') #funções de string - tydiverse
library('rgeos') #leitura de mapas
library('rgdal') #leitra de mapas
library('sf') #plot maps
library('magrittr') #para mudar nome de colunas
library('reshape2')
library('data.table')
library('RColorBrewer')
#library('scales')
library('raster')
#library('xts')
#library('dygraphs')
#library('highcharter')
#library('ggplot2')
#library('formattable') #tabelas personalizadas
library('reactable')
library('wordcloud2') #nuvem de palavras (add 14-set-2023)
library('tm') #funções para contagem de palavras
library('tidytext') #organizar textos
library('stringr')
#para predições
# library('forecast')
#tabelas
library('kableExtra')
#carregand dados
load('municipios_br.RData')
load('municipiopoly.RData')
load('centroide.RData')
#dados iniciais
#load('dado_dash.RData')
source('./treating_data.R', local = T, encoding = 'UTF-8')
options(warn = -1)
#apexcharts
source('./www/apexchart/general_apex.R')
#plotly
source('./www/highcharts/generalhigh.R')
source('./www/highcharts/plotlyjs.R')
#carregando funçes dashboard
source('./www/tablerdash/funcoes_dashboard.R')
source('./www/tablerdash/cards.R')
source('./www/tablerdash/icons.R')