This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#creating columns | |
title <- c("Morgan Waterman: A Memoir", "Unicorns: The Mystery of the Horn", "Dartmouth Guidebook", "Book Four", "Bakerberry Tales", "Mapmaking", "The Psychoanalysis of Triplets", "Running", "Trump vs. Hillary: The Migration to Canada", "Last But Not Least") | |
author <- c("Morgan Waterman", "Harry Potter", "Fourth Year Student", "Plane Jane", "Dr. Seuss", "Bartholomeu", "Maria Waterman", "Andie von Eschen", "Stephen Brooks", "Optimist") | |
ypub <- c(1996, 2020, 2018, 2000, 1964, 1490, 1995, 2002, 2016, 1999) | |
num <- c(7, 300, 1100, 4, 666, 1, 3, 100, 0, 10) | |
price <- c(0.01, 10, 99.99, 5, 25, 1000, 17, 15, 24, 1) | |
#creating data set | |
bookstore <- data.frame(title, author, ypub, num, price) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm(list = ls()) | |
library(dplyr) | |
library(readr) | |
library(tidyr) | |
#Read in IPUMS | |
a <- read_csv('./data/Lab2data.csv') | |
aa<- a %>% filter(!(YEAR<1960 & STATEFIP %in% c(2,15))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Lab3 | |
#Morgan Waterman | |
#Column graphs | |
library(dplyr) | |
library(readr) | |
library(ggplot2) | |
library(RColorBrewer) | |
data <- read_csv('./data/Lab3Newest.csv') %>% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Lab3 | |
#Morgan Waterman | |
#Column graphs | |
library(dplyr) | |
library(readr) | |
library(ggplot2) | |
library(RColorBrewer) | |
data <- read_csv('./data/Lab3Newest.csv') %>% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Lab3 | |
#Morgan Waterman | |
#Column graphs | |
library(dplyr) | |
library(readr) | |
library(ggplot2) | |
library(RColorBrewer) | |
data <- read_csv('./data/Lab3Newest.csv') %>% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Morgan Waterman | |
#Lab 4 | |
#Population Pyramids | |
#Load packages | |
library(readr) | |
library(dplyr) | |
library(ggplot2) | |
library(RColorBrewer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Morgan Waterman | |
#Lab 4 | |
#Population Pyramids | |
#Load packages | |
library(readr) | |
library(dplyr) | |
library(ggplot2) | |
library(RColorBrewer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Morgan Waterman | |
#Lab 4 | |
#Population Pyramids | |
#Load packages | |
library(readr) | |
library(dplyr) | |
library(ggplot2) | |
library(RColorBrewer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Morgan Waterman | |
#Lab 5 | |
#Map Animation of Prison Population By State 1940-2010 | |
#load packages | |
library(readr) | |
library(dplyr) | |
library(ggplot2) | |
library(RColorBrewer) | |
library(ggmap) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Morgan Waterman | |
#Lab 5 | |
#Map Animation of Percent of Male African Americans in Total Prison Population (Ages 15-70) By State 1940-2010 | |
#load packages | |
library(readr) | |
library(dplyr) | |
library(ggplot2) | |
library(RColorBrewer) | |
library(ggmap) |
OlderNewer