Re: [R] getDividents() doesn't work

2022-09-20 Thread Ivan Krylov
On Mon, 19 Sep 2022 20:47:55 + Phil Smith via R-help wrote: > incomplete final line found by readTableHeader on > 'https://query1.finance.yahoo.com/v7/finance/download/VOX?period1=-2208988800&period2=1663545600&interval=1d&events=split' When I follow the link myself, I get a CSV file that co

Re: [R] getDividents() doesn't work

2022-09-20 Thread Bert Gunter
... and do note that a "warning" is not an "error." Often the correct result will still be obtained. -- Bert On Tue, Sep 20, 2022 at 9:48 AM Phil Smith via R-help wrote: > Hi R-Help People! > > I'm using the current version of R for Ubuntu: R version 4.2.1 > (2022-06-23) -- "Funny-Looking Kid."

Re: [R] getDividents() doesn't work

2022-09-20 Thread Joshua Ulrich
You need to assign the result to an object. vox_div <- quantmod::getDividends("VOX") You should check to see if the dividends are split-adjusted or not. Yahoo has changed that several times over the years. Use the `split.adjust` argument to get the (un)adjusted dividends. The boolean may be backw

[R] getDividents() doesn't work

2022-09-20 Thread Phil Smith via R-help
Hi R-Help People! I'm using the current version of R for Ubuntu: R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid." I'm using the quantmod package and am having difficulty with the getDividends() function from the quantmod package. Here is my code: > library(quantmod) > > getDividends( "VO