-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.R
50 lines (40 loc) · 1.07 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
################################################################################
# This script is the global environment for the destin app
################################################################################
## FUNCTIONS TO ADD
## -modify or delete previous entries
# load packages
{
library(tidyverse)
library(data.table)
library(lubridate)
library(spatial)
library(sp)
library(sf)
library(spdep)
library(sfdep)
library(fields)
library(RColorBrewer)
library(leaflet)
library(kableExtra)
library(shiny)
library(plotly)
library(htmlwidgets)
library(shinyWidgets)
library(shinycustomloader)
library(leaflet.extras)
library(leaflet.extras2)
library(leafem)
library(DT)
library(shinydashboard)
library(googledrive)
library(googlesheets4)
library(digest)
library(shinyauthr)
library(sodium)
}
# Load data made in the preprocessing file
load("preprocess.RData")
# Set Google sheet information
googledrive::drive_auth(cache = ".secrets", email = "knharrington@mote.org")
googlesheets4::gs4_auth(token = drive_token())