Publications by Atta Boateng

DATA 607 Week 3

12.02.2024

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” library(knitr) library(stringr) path <- "https://raw.githubusercontent.com/fivethirtyeight...

1544 sym R (604 sym/2 pcs) 1 tbl

DATA 606 Lab 1 - Introduction to R Programming

03.02.2024

Exercise 1 What command would you use to extract just the counts of girls baptized? The following counts how many girls have been baptized from the arbuthnot dataset data('arbuthnot', package='openintro'); sum(arbuthnot$girls) [1] 453841 Exercise 2 Is there an apparent trend in the number of girls baptized over the years? How would you describe it...

2180 sym R (1335 sym/15 pcs) 3 img 3 tbl

DATA 607 Week 1

02.02.2024

Overview The following shows a country’s soccer team ranking based on it’s offensive and defensive stats as well as it’s Sport Power Index (SPI) library(knitr) library(ggplot2) path <- "https://projects.fivethirtyeight.com/soccer-api/club/spi_global_rankings.csv"; download.file(url=path, destfile = "spi_global_rankings.csv"); glb_intl_rk <...

356 sym R (661 sym/2 pcs) 1 img 1 tbl