Publications by David Moste
Basic Loading and Transformations
Introduction The article from 538 talks about the bump in media coverage of Joe Biden following the breaking of the Trump-Ukraine story. After about a week, the bump subsided and Joe Biden went back to regular mentions in the media. Link to 538 article Getting the Data I started by loading the .csv files into two data frames. cable_data <- data....
1112 sym R (838 sym/5 pcs) 2 img
SQL and R
Introduction I asked five friends to rank the Star Wars fanchise in order of their favorite movies. The goal for this project was to find which movie and sequence of movies was the overall favorite amongst my friends. Libraries I used the libraries listed below for this task. # Open up required libraries library(mice) ## Loading required packag...
1136 sym R (1204 sym/8 pcs) 1 img
Bob Ross
Introduction I used the Bob Ross dataset for this tidying project. Code I started by loading the required libraries and the dataset. # load required libraries library(tidyverse) ## -- Attaching packages -------------------------------------------- tidyverse 1.3.0 -- ## v ggplot2 3.2.1 v purrr 0.3.3 ## v tibble 2.1.3 v dplyr 0.8.3 ...
462 sym R (1424 sym/7 pcs) 1 img
Working with XML and JSON
Introduction For this assignment, I created an html, xml, and json file containing information about three of my college physics textbooks. These files contained the book titles, authors, subject, and page counts. I then used R to read each file and create a dataframe from the information. Code I read in each file using the XML, jsonlite, and rv...
649 sym R (1378 sym/10 pcs)
Tidyverse CREATE
Lubridate Clever name aside, lubridate is a fantastic way (arguably the BEST way) to work with date and datetime objects. Lubridate allows you to easily convert strings or numbers to date-times, deal with timezones, and perform math with date-times. Example Start by loading the lubridate and tidyverse libraries along with your data. # load the t...
1430 sym R (3135 sym/29 pcs)
Recommender Systems
What is TikTok? TikTok is a social media app that allows users to seamlessly create and watch short, 5s to 15s, videos, always accompanied by music. With a focus on music accompaniment, TikTok has separated itself from previous short clip apps such as Vine. Scenario Design Target Users TikTok is clearly aimed at younger people, specifically tee...
5387 sym 4 img