Publications by Donald Butler
R-Bridge-W2
Select a random dataset US Macroeconomic Data (1957–2005, Stock & Watson) https://vincentarelbundock.github.io/Rdatasets/doc/AER/USMacroSW.html https://vincentarelbundock.github.io/Rdatasets/csv/AER/USMacroSW.csv # github csv location csvfile <- 'https://raw.githubusercontent.com/dab31415/SPS-Bridge-R/main/USMacroSW.csv' df <- read.csv(csvfi...
1378 sym R (2785 sym/17 pcs)
R Bridge Week 1 Assignment
Exercise #1. Write a loop that calculates 12-factorial. result <- 1 for (i in 12:1){ result <- result * i } result ## [1] 479001600 Exercise #2. Show how to create a numeric vector that contains the sequence from 20 to 50 by 5. v <- (4:10)*5 v ## [1] 20 25 30 35 40 45 50 Exercise #3. Create the function “quadratic” that takes a trio ...
354 sym R (475 sym/10 pcs)
DATA 607 - Final Project
DATA 607 Final Project Introduction I serve on the board for my local cycling club and for the past 6 years I have been collecting the sign-in sheets from our club rides. We hold about 200 rides per year and regularly discuss falling membership and ride attendance, and often speculate that some rides are less popular for various reasons. I have ...
3249 sym R (9802 sym/17 pcs) 7 img
DATA 607 - Assignment Week 10
Introduction We were asked to recreate the R code from chapter 2 of the book “Text Mining with R: A Tidy Approach” then perform similar analysis on another authors set of works. Load Packages Load the packages required to complete the sentiment analysis. library(tidyverse) library(tidytext) library(janeaustenr) library(wordcloud) library...
4635 sym R (10574 sym/33 pcs) 10 img
DATA 607 - Assignment Week 7
Introduction Pick three of your favorite books on one of your favorite subjects. At least one of the books should have more than one author. For each book, include the title, authors, and two or three other attributes that you find interesting. Create file representations of the selected books in the formats: HTML, XML, and JSON. Are the three da...
461 sym R (1984 sym/7 pcs)
DATA 607 - Project 2
Introduction Choose any three of the “wide” datasets identified in the Week 6 Discussion items. Load required R Libraries library(tidyverse) Aruba Weather The Aruba weather dataset may not be very interesting from a data analysis point of view, but it came to mind when looking for a “wide” dataset. When my family was planning a vacation...
2376 sym R (7697 sym/16 pcs) 3 img
DATA 607 - Data Science in Context
Reading an Unknown Set of Data FilesDonald Butler09/29/2021 Introduction We run a polling script at each restaurant daily to identify the status of the point-of-sale terminals and kitchen controllers in the store. The results are then brought back to a file server. In the image below, you can see the list of files, one for each store, and a sam...
1557 sym R (6281 sym/14 pcs) 1 img
DATA607 - Loading Multiple Data Files
Loading Multiple Data FilesDonald Butler09/28/2021 Introduction We run a polling script at each restaurant daily to identify the status of the point-of-sale terminals and kitchen controllers in the store. The results are then brought back to a file server. In the image below, you can see the list of files, one for each store, and a sample of th...
1370 sym R (6147 sym/12 pcs) 1 img
DATA 607 - Assignment Week 5
Introduction Read a csv of vaccination data in Israel taken from August 2021. Load required R Libraries library(tidyverse) Import and Clean Data Import raw vaccination data infoFile = 'https://raw.githubusercontent.com/dab31415/DATA607/main/Homework/Assignment_4/israeli_vaccination_data_analysis_start.csv' raw_vaccination <-read.table(file = ...
2367 sym R (3901 sym/15 pcs)
DATA 607 - Project 1
Introduction Use the given text file which contains the results from a chess tournament to generate .CSV files that can be used to load into a database for further analysis. Excerpt from text file Each player in the tournament is listed along with the results from the 7 rounds of the tournament. --------------------------------------------------...
2442 sym R (9088 sym/21 pcs)