Publications by Dave Greer

Deaths in Children Under 5

15.10.2023

Deaths of Children Under 5 Year of Age Shaya Engelman and I worked on this project together. There are many causes of death for children under the age of 5 across the world. The data source was the Our World in Data and specifically, which was a worldwide longitudinal study of childhood deaths. The study began in 1990 and ended in 2020. The stu...

1397 sym 1 img

Terrorism

15.10.2023

This dataset was provided to me by David Greer and we worked together on this project. The data is a collection of terror attacks from 1970-2021 around the world broken down by attack method. For this project I wanted to summarise the terror attacks specifically in the Middle East and see the relative amounts between Middle Eastern countries. ...

1163 sym 3 img

Baseball

15.10.2023

library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.3 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.3 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.3 ✔ tidyr 1.3.0...

1463 sym R (1498 sym/8 pcs) 2 img

Assignment 5

08.10.2023

Introduction For this assignment I decided to build a normalized database to contain all the values. I performed a basic comparison between two airlines, AM West and Alaska. The data was derived from the assignment pdf. db_conn <-odbcConnect("Assignment5", rows_at_time =1) if(db_conn == -1){ quit("no", 1) } print(db_conn) ## RODBC Connecti...

1453 sym 2 img

Assignment 3 R and Regular Expressions

25.09.2023

library(tidyverse) library(stringr) library(DT) Question 1 Using the 173 majors listed in fivethirtyeight.com’s College Majors dataset [https://fivethirtyeight.com/features/the-economic-guide-to-picking-a-college-major/], provide code that identifies the majors that contain either “DATA” or “STATISTICS” majors <- read_csv('https://...

1375 sym R (2530 sym/10 pcs)

Assignment 2

18.09.2023

#install.packages("RODBC") library(RODBC) db_conn <-odbcConnect("LocalDSN", rows_at_time =1) if(db_conn == -1){ quit("no", 1) } print(db_conn) ## RODBC Connection 1 ## Details: ## case=nochange ## DSN=LocalDSN ## Description=MyDSNForUseWithR ## UID= ## Trusted_Connection=Yes ## WSID=DESKTOP-NQVO0T8 ## DATABASE=SQLandR sq...

9 sym R (468 sym/6 pcs)

SQL To DatFrame

18.09.2023

#install.packages("RODBC") library(RODBC) library(DT) db_conn <-odbcConnect("LocalDSN", rows_at_time =1) if(db_conn == -1){ quit("no", 1) } print(db_conn) ## RODBC Connection 1 ## Details: ## case=nochange ## DSN=LocalDSN ## Description=MyDSNForUseWithR ## UID= ## Trusted_Connection=Yes ## WSID=DESKTOP-NQVO0T8 ## DATABA...

10 sym R (486 sym/6 pcs)

Data 607 Homework 1

10.09.2023

##install.packages("utf8") ##install.packages("ggstatsplot") library(here) library(readr) library(ggstatsplot) library(purrr) library(tidyverse) library(ggpubr) library(rstatix) library(qqplotr) library(jtools) library(DT) options(scipen=999) Introduction For this assignment I decided to learn something about extramarial affairs. I ...

1551 sym R (1567 sym/5 pcs) 1 img

Data 607 Homework 1

10.09.2023

##install.packages("utf8") ##install.packages("ggstatsplot") library(here) library(readr) library(ggstatsplot) library(purrr) library(tidyverse) library(ggpubr) library(rstatix) library(qqplotr) library(jtools) library(DT) options(scipen=999) Introduction For this assignment I decided to learn something about extramarial affairs. I ...

1560 sym R (1567 sym/5 pcs) 1 img