Publications by Cam O’Shaughnessy
Mock Quiz 1
Use the given code below to answer the questions. Q1 Get Walmart stock prices, instead of Apple. Hint: Insert a new code chunk below and type in the code, using the tq_get() function above. Replace the ticker symbol for Walmart. You may find the ticker symbol for Microsoft from Yahoo Finance. ## Load package library(tidyverse) # for cleaning, pl...
1710 sym R (1035 sym/3 pcs) 1 img
My First Publication
Q1 What is R? A compuer code engine Q2 What is RStudio? Interface that makes it easier to work with R Q3 What is R packages? Accessories added onto R Hint: Type your answer in bold. Note: For help with RMarkdown syntax, go Help > Cheatsheets > R Markdown Reference Guide. Q4 Add a code chunk ...
305 sym
My First RMarkdown with Code
Use the given code below to answer the questions. Q1 Get Amazon stock prices, instead of Apple. Hint: Insert a new code chunk below and type in the code, using the tq_get() function above. Replace the ticker symbol for Microsoft. You may find the ticker symbol for Microsoft from Yahoo Finance. ## Load package library(tidyverse) # for cleaning, p...
1384 sym R (1021 sym/3 pcs) 1 img
Quiz1
Use the given code below to answer the questions. Q1 Import Netflix stock prices, instead of Apple. Hint: Insert a new code chunk below and type in the code, using the tq_get() function above. Replace the ticker symbol. Find ticker symbols from Yahoo Finance. ## Load package library(tidyverse) # for cleaning, plotting, etc library(tidyquant) # f...
2287 sym R (2719 sym/7 pcs) 1 img
Clean data
In this exercise you will learn to clean data using the dplyr package. To this end, you will follow through the codes in one of our e-texts, Data Visualization with R. The given example code below is from Chapter 1.2 Cleaning data. ## # A tibble: 87 x 13 ## name height mass hair_color skin_color eye_color birth_year gender ## <chr> <int>...
902 sym R (2926 sym/7 pcs)
Term Project
This is an extension of the tidytuesday assignment you have already done. Complete the questions below, using the screencast you chose for the tidytuesday assigment. Import data library(tidyverse) library(lubridate) theme_set(theme_light()) seattle_pets <- readr::read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data...
815 sym R (1015 sym/2 pcs) 1 img