Publications by Chandler Brown
DS Labs Homework
Loading packages and the data set #install.packages("dslabs") library("dslabs") ## Warning: package 'dslabs' was built under R version 4.2.3 library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.4...
1492 sym R (885 sym/6 pcs) 1 img
Project Chickens
Data Import Download chickens.csv to your working directory. Make sure to set your working directory appropriately! This dataset was created by modifying the R built-in dataset chickwts. Import the chickens.csv data into R. Store it in a data.frame named ch_df and print out the entire ch_df to the screen. library(tidyverse) ## ── Attaching...
2714 sym R (4233 sym/25 pcs) 4 img
Project 1
HIV AIDS NY Data Visualizations Intro The dataset I used is the HIV_AIDS_NY dataset conducted by the HIV Epidemiology Program of the NYC Department of Health and Mental Hygiene, which provides data on HIV and AIDS cases in New York City from the years 2011-2015. The categorical variables of this datset are the year, both the Borough and UHF, w...
5276 sym R (2288 sym/8 pcs) 3 img
Nations Homework
Loading in the packages and data set nations <- read.csv("nations.csv") library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.4.0 ✔ purrr 1.0.1 ## ✔ tibble 3.1.8 ✔ dplyr 1.1.0 ...
136 sym R (2619 sym/10 pcs) 2 img
First R MarkDown
print("Hello world") ## [1] "Hello world" 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 o...
600 sym 1 img
NYC Flights Homework
Load libraries library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.4.0 ✔ purrr 1.0.1 ## ✔ tibble 3.1.8 ✔ dplyr 1.1.0 ## ✔ tidyr 1.3.0 ✔ stringr 1.5.0 ## ✔ readr ...
1474 sym R (4768 sym/8 pcs) 1 img
Heatmaps, Treemaps, Streamgraphs, and Alluvials
Load the packages from the data from flowingdata.com website #install.packages("treemap") #install.packages("RColorBrewer") library(treemap) library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3...
1250 sym R (16214 sym/46 pcs) 8 img 1 tbl
Hate Crimes Homework
So now we know there is possible bias in the dataset, what can we do with it? library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.4.0 ✔ purrr 1.0.1 ## ✔ tibble 3.1.8 ✔ dplyr ...
2559 sym R (21592 sym/41 pcs) 4 img
Airquality Homework
Airquality Tutorial and Homework Assignment Load in the Dataset Load the tidyverse package to get the airquality dataset #install.packages("tidyverse") library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔...
1947 sym R (3820 sym/28 pcs) 5 img