-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path00_loadpackages.R
40 lines (33 loc) · 1.5 KB
/
00_loadpackages.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
# be sure to check for packages conflicts!
# 01 import/export ----
library(readxl) # read excel files
library(janitor) # simple tools to clean dirty data
library(here) # a simpler way to find your files
library(SWMPr) # working with SWMP data from the NERRS
library(SWMPrExtension) # expanded plotting and analysis of SWMP data from NERRS
# library(xlsx) # to export df as .xlsx files
# 02 tidy and wrangle ----
library(tidyverse) # because...tidyverse (ggplot2, tidyr, dplyr)
library(lubridate) # dates and times
library(weathermetrics) # functions to convert between weather metrics
library(cimir) # to convert wind direction degrees to cardinal directions/compass
# 03 pulling information and statistics ----
# library(broom) # convert statistical analysis objects into tidy tibbles
# library(psych)
# library(wql)
# 04 markdown ----
library(knitr)
library(kableExtra) # https://cran.r-project.org/web/packages/kableExtra/vignettes/awesome_table_in_html.html
# 05 graphics ----
library(khroma) # color-blind friendly palettes
library(patchwork) # grid graphics
library(scales) # scale functions for visualization
library(plotly) # create interactive web graphics - use for html output files
library(gganimate) # create animated web graphics
library(dygraphs) # create dynamic graphics
library(gghighlight) # allows for highlighting flexibility in ggplot2
library(ggthemes) # colorblind palettes
# 06 mapping ---------------------------------------------------------------
# library(leaflet)
# library(htmltools)
# library(sf)