Publications by Nate Jack
Treemaps, Heatmaps, Streamgraphs, and Alluvials
Load the packages and the data from flowingdata.com website library(treemap) ## Warning in register(): Can't find generic `scale_type` in package ggplot2 to ## register S3 method. library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 v...
1721 sym R (15502 sym/59 pcs) 8 img
Hate Crimes
library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 v dplyr 1.0.7 ## v tidyr 1.1.4 v stringr 1.4.0 ## v readr 2.1.1 v forcats 0.5.1 ## -- Conflicts ------------------------------------------ tidyverse_conflicts() -- #...
1942 sym R (23746 sym/51 pcs) 4 img
Finished Air Quality
# install.packages("tidyverse") library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 v dplyr 1.0.7 ## v tidyr 1.1.4 v stringr 1.4.0 ## v readr 2.1.1 v forcats 0.5.1 ## -- Conflicts -------------------------------------...
2514 sym R (3903 sym/29 pcs) 5 img
Air Quality HW Finished
# install.packages("tidyverse") library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 v dplyr 1.0.7 ## v tidyr 1.1.4 v stringr 1.4.0 ## v readr 2.1.1 v forcats 0.5.1 ## -- Conflicts -------------------------------------...
2514 sym R (3903 sym/29 pcs) 5 img
My Try
install.packages("jsonlite", repos="https://cran.rstudio.com/") ## Installing package into 'C:/Users/natha/OneDrive/Documents/R/win-library/4.1' ## (as 'lib' is unspecified) ## package 'jsonlite' successfully unpacked and MD5 sums checked ## Warning: cannot remove prior installation of package 'jsonlite' ## Warning in file.copy(savedcopy, lib, r...
44 sym R (8757 sym/34 pcs) 5 img
NYC Flights
NYC Flights Homework Load the libraries and view the “flights” dataset library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 v dplyr 1.0.7 ## v tidyr 1.1.4 v stringr 1.4.0 ## v readr 2.1.1 v forcats 0.5.1 ## -- Conf...
2506 sym R (10896 sym/33 pcs) 3 img
First Markdown
R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within t...
595 sym R (536 sym/4 pcs) 1 img
Healthiest Cities
Loading the libraries and view the “healthylifestye21” dataset setwd("~/Data 110 Folder") healthylifestye21 <- read.csv("healthylifestye21.csv") Loading libraries and viewing the data library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3....
7095 sym R (4438 sym/35 pcs) 4 img
Dslab1
Loading library # install.packages("dslabs") # these are data science labs library("dslabs") ## Warning: package 'dslabs' was built under R version 4.1.3 data(package="dslabs") list.files(system.file("script", package = "dslabs")) ## [1] "make-admissions.R" ## [2] "make-brca.R" ## [3] "make-brex...
1938 sym R (4883 sym/34 pcs) 1 img
Flags
Image by Gordon Johnson from Pixabay Data Import Download flag.csv and flag.names to your working directory. Make sure to set your working directory appropriately! Let’s look at some information about this file. Open flag.names in RStudio by double clicking it in the files pane in bottom left. Read through this file. Who is the donor of thi...
4104 sym R (21135 sym/52 pcs) 1 img