Category "tidyquant"

Error in tq_get, x = 'MKL', get = 'stock.prices': Error in new.session(): Could not establish session after 5 attempts [duplicate]

I am having difficulties pulling stock data. The code has worked earlier today, however this afternoon I became unable to pull any stock data

adding more standard deviations to a plot

I'm trying to add more standard deviation to my current plot. I need to add 1std and 3std, I've already addeed the 2std to my plot. This is my code: tidyverse_

Change column name with tq_get() in Tidyquant

I'm using the tq_get() function in Tidyquant to retrieve economic data from FRED: library(tidyquant) library(tidyverse) consumer_price_index <- 'CPIAUCSL'