Publications by Mary Glantz

DATA 110: Class Notes Homework for week 7

16.10.2020

Create a Scatterplot library(readr) library(ggplot2) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(plotly) ## ## Attaching package: 'plotly' ## The fol...

5977 sym R (9908 sym/61 pcs) 21 img

DATA 110 Unit 8 Classnotes

24.10.2020

#DSLabs and Highcharter Use the package DSLabs (Data Science Labs) Thre are a number of datasets in this package to use to practice creating visualizations #install.packages("dslabs") library(dslabs) data(package = "dslabs") list.files(system.file("script", package = "dslabs")) ## [1] "make-admissions.R" ## [2] "make-brca.R"...

6329 sym R (11803 sym/42 pcs) 4 img

DATA 110 Week 8 Assignment

26.10.2020

Summary I have decided to create a plot based upon the “Brexit_polls” dataset from DS Labs. To create the plot, I first looked at the data and decided what questions I wanted the plot to answer—how did British opinion about Brexit change in the six months between January and June 2016 (at least according to the public opinion polls). I then...

3264 sym R (5045 sym/14 pcs) 1 img

Pilgrim Church Priorities

24.12.2020

priority_words <- tokenize_words(church_priorities) Pilgrim Church Priorities ## # A tibble: 11 x 2 ## priority count ## <chr> <dbl> ## 1 worship 36 ## 2 fellowship 33 ## 3 sermon 30 ## 4 music_program 18 ## 5 pastoral_care 16 ## 6 mission_and_servi...

106 sym R (861 sym/3 pcs) 2 img

DATA 110 Project 2

13.11.2020

DATA 110 – PROJECT 2 Democratization and Infectious Disease Introduction and Background In their 2009 article, “Parasites, democratization, and the liberalization of values across contemporary countries,” Randy Thornhill, Corey Fincher, and Deveraj Aran hypothesize that “…the variation in values pertaining to autocracy-democracy arise...

14141 sym R (11975 sym/46 pcs) 7 img

DATA 110 GIS tutorial

07.11.2020

This tutorial is part of Computerworld’s How to Make a Map with R I’ve added a section at the end showing the percentage support for Trump in PA 2016 GOP primaries. In 10 (fairly) Easy Steps https://www.computerworld.com/article/3038270/data-analytics/create-maps-in-r-in-10-fairly-easy-steps.html by Sharon Machlis sharon_machlis@idg.com # Set...

4161 sym R (30937 sym/107 pcs) 8 img

DATA 110 Week 9 Assignment

29.10.2020

#Web Scraping Assignment Tutorial from https://www.analyticsvidhya.com/blog/2017/03/beginners-guide-on-web-scraping-in-r-using-rvest-with-hands-on-knowledge/ library(tidyverse) ## ── Attaching packages ───────────────────────────────────────────────�...

5311 sym R (17477 sym/87 pcs)

DATA 110 Tweet Mining

30.10.2020

STEP 1: Load the rtweet and other needed R packages. Note you are introducing 2 new packages lower in this lesson: igraph and ggraph. # load twitter library - the rtweet library is recommended now over twitteR library(rtweet) # plotting and pipes - tidyverse! library(ggplot2) library(dplyr) library(tidyverse) # text mining library library(tidytex...

4685 sym R (14116 sym/45 pcs) 7 img

DATA 110 Visualizing Residuals tutorial

14.11.2020

Visualising Residuals Tutorial from BLOGR Default options that R has for visualising residuals library(tidyverse) ## ── Attaching packages ────────────────────────────────────────────────────────────────────...

4207 sym R (9469 sym/35 pcs) 16 img

DATA 110 -- Impact of Economic Sanctions on Russia

12.12.2020

Introduction and Background Economic sanctions have become commonplace in today’s world. According to the Council on Foreign Relations, “For many policymakers, economic sanctions have become the tool of choice to respond to major geopolitical challenges such as terrorism and conflict” (Masters, 2019). Governments impose economic sanctions o...

23168 sym R (35535 sym/122 pcs) 9 img