Setup

This book makes use of the following R packages, which should be installed to take full advantage of the examples.

bookdown
choroplethr
choroplethrMaps
data.table
datasets
devtools
dlnm
dplyr
faraway
forcats
GGally
ggmap
ggplot2
ggthemes
ghit
GISTools
grid
gridExtra
httr
knitr
leaflet
lubridate
magrittr
methods
microbenchmark
package
pander
plotly
profvis
pryr
purrr
rappdirs
raster
RColorBrewer
readr
rmarkdown
scales
sp
stats
stringr
testthat
tidyr
tidyverse
tigris
titanic
viridis

You can install all of these packages with the following code:

install.packages(c("bookdown", "choroplethr", "choroplethrMaps", "data.table", "datasets", "devtools", "dlnm", "dplyr", "faraway", "forcats", "GGally", "ggmap", "ggplot2", "ggthemes", "ghit", "GISTools", "grid", "gridExtra", "httr", "knitr", "leaflet", "lubridate", "magrittr", "methods", "microbenchmark", "package", "pander", "plotly", "profvis", "pryr", "purrr", "rappdirs", "raster", "RColorBrewer", "readr", "rmarkdown", "scales", "sp", "stats", "stringr", "testthat", "tidyr", "tidyverse", "tigris", "titanic", "viridis"))