Using the given code, answer the questions below.
library(tidyquant)
library(tidyverse)
stocks <- tq_get("USD/EUR", get ="exchange.rates", from = "2016-01-01")
stocks
## # A tibble: 180 x 2
## date exchange.rate
## <date> <dbl>
## 1 2018-08-10 0.873
## 2 2018-08-11 0.876
## 3 2018-08-12 0.877
## 4 2018-08-13 0.878
## 5 2018-08-14 0.879
## 6 2018-08-15 0.882
## 7 2018-08-16 0.879
## 8 2018-08-17 0.877
## 9 2018-08-18 0.874
## 10 2018-08-19 0.874
## # ... with 170 more rows
stocks %>%
ggplot(aes(x = date, y = exchange.rate)) +
geom_line()
There are 7 colums
Apple Stock
There are 768 rows
Dates of Apple Stock
Go to yahoo finance and find the abberviation for Microsoft ## Q6. Get the stock prices from 2017-01-15 to 2018-12-15.
Go to FRED to get the seasonal unemployment rate
Go to Oanda for the exchange rate