Publications by Benson Toi

607 Week 3

20.02.2022

majorDS <- read.csv(file="https://raw.githubusercontent.com/fivethirtyeight/data/master/college-majors/majors-list.csv",header = TRUE, sep=",") 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 ma...

1706 sym R (2661 sym/21 pcs)

607 Project 2 -3

13.03.2022

library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ## ✓ ggplot2 3.3.5 ✓ purrr 0.3.4 ## ✓ tibble 3.1.6 ✓ dplyr 1.0.7 ## ✓ tidyr 1.1.4 ✓ stringr 1.4.0 ## ✓ readr 2.1.0 ✓ f...

1009 sym R (8040 sym/23 pcs)

607 wk 7

20.03.2022

library(RCurl) library(XML) library(jsonlite) HTML I create an HTML file and input the book’s information into the file. Then read the HTML with R. html = getURLContent('https://raw.githubusercontent.com/Benson90/607Week7/main/Books.html') html = readHTMLTable(html) html = html[[1]] html ## ...

315 sym R (2095 sym/7 pcs)

607 recommender system

14.04.2022

Say anything? Behind the scenes of suggested responses Source : https://design.facebook.com/stories/say-anything-behind-the-scenes-of-suggested-responses/ While searching the recommender system, we always think the seller is pushing the product to the consumer or user. But I found an interesting recommender system from Facebook, and that is Faceb...

1411 sym 1 img

606 Week 8

10.04.2022

The Human Freedom Index is a report that attempts to summarize the idea of “freedom” through a bunch of different variables for many countries around the globe. It serves as a rough objective measure for the relationships between the different types of freedom - whether it’s political, religious, economical or personal freedom - and other s...

10550 sym R (6075 sym/30 pcs) 7 img

607 wk 10

10.04.2022

Citiation : Book “Text Mining with R” by Julia Silge & David Robinson- Chapter 2; https://www.tidytextmining.com/sentiment.html The first section is the example from the “Text Mining with R” and the second section is the extend using sentiment in R. Section 1 Example in sentiments: library(tidytext) get_sentiments("afinn") get_sentimen...

883 sym R (7370 sym/63 pcs) 9 img

607 Tinyverse

10.04.2022

Project details Our task here is to Create an Example.Using one or more TidyVerse packages, and any dataset from fivethirtyeight.com or Kaggle, create a programming sample “vignette” that demonstrates how to use one or more of the capabilities of the selected TidyVerse package with your selected dataset. URL: https://raw.githubusercontent.com...

1395 sym R (8668 sym/16 pcs) 2 img