Skip to content
Prev 14967 / 15274 Next

Web Scraping of SPY Stocks

Hey there,

The error message has it right, there is no column "Ticker Symbol" in that table. When you look at the wikipedia page, the column's name is simply "Symbol".

For general debugging when using magrittr pipes I find it useful to copy/paste each expression, adding one additional pipe at a time to see at which stage the error message. Also, please make sure to include all of the libraries you were using- in this case, appears to be rvest, magrittr, and stringr.

With regards to that function, agreed with Joshua- if the above doesn't resolve all your issues, please re-post without html formatting as it's tough to see what's going on.

Hope that helps!

-Ezra

--
ezra at landtucker.com
m:?818-203-0269
LinkedIn:?linkedin.com/in/ezztucker
Github:?github.com/minimenchmuncher

??????? Original Message ???????
On Saturday, September 26, 2020 8:34 AM, Joshua Ulrich <josh.m.ulrich at gmail.com> wrote:

            
Message-ID: <C-dauQyT4X64FWPDQXfVibChVagkPUPUu4L-DliJ6mPkHMVCNyig0VZJoJBBrkMvzabOFhhe7ep27SMHz73oD9JVSvm__4gqB6r3QiCdWPM=@landtucker.com>
In-Reply-To: <CAPPM_gR1kppDZhQ61zm_pT4Q2DBGH3wA2R1KroPv9EmURzUgmw@mail.gmail.com>