Question: How to scrap and download html file on SEC.gov(pubic data website)?

2 views
Skip to first unread message

Yanni Hu

unread,
Feb 16, 2019, 4:40:13 PM2/16/19
to Cambridge R user group
Hi everyone,

Does anyone know how to go 1 step down to download the htm data on SEC.gov? The site is:

https://www.sec.gov/Archives/edgar/data/1459417/000104746918001109/0001047469-18-001109-index.html


My initial code is (but my question is how to download the 1 step down 10-K filing data:)


a2234625z10-k.htm



----------------------------------------------------------------------------------------------


Team_interaction %>%
  html_nodes("a , td:nth-child(2)") %>%
  html_text()


I'm new to R scraping and appreciate any help there!

best,
YH


Reply all
Reply to author
Forward
0 new messages