-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibraries.R
More file actions
43 lines (33 loc) · 1.15 KB
/
libraries.R
File metadata and controls
43 lines (33 loc) · 1.15 KB
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
#Basic R
library(tidyverse)
library(sf)
#Accessing Data
library(RPostgreSQL)
library(dbplyr)
library(tidycensus)
options(tigris_use_cache = TRUE)
library(rio)
library(openxlsx)
library(data.table)
#Spatial - some of these may require an ArcPro installation on your machine to run
library(arcgis)
library(arcgisbinding) # install instructions in readme here: https://github.com/R-ArcGIS/r-bridge
arc.check_product() # if you get an error message that this failed, you need to open your ArcPro Install, log-in, and then restart your R session before trying to load the library again
arc.check_portal()
library(tidygeocoder)
library(nngeo)
#DataViz
library(leaflet)
library(viridis)
library(ggplot2)
##ggplot
library(ggspatial)
library(ggthemes)
library(ggExtra)
library(extrafont)
library(directlabels)
windowsFonts(TwCenMT = windowsFont("Tw Cen MT"))
library(viridisLite)
#Spatial Reference
mass_mainland<-"+proj=lcc +lat_1=42.68333333333333 +lat_2=41.71666666666667 +lat_0=41 +lon_0=-71.5 +x_0=200000 +y_0=750000 +ellps=GRS80 +datum=NAD83 +units=m +no_defs"
lat_lon_CRS <- "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"