Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205399

How to scrape text from website with a "Show more" attribute in R?

$
0
0

Hello Stack overflow community,

There is a website with financial data Investing.com which offers data points and forecasts for certain economic variables.

For whoever is further interested, the exact URL with the info I want to scrap is here.

My objective is to scrap this information; however, the table in which the information is displayed contains a "Show more" attribute at the end. When I click on it, six new elements appear at a time. I am seeking a way in which I can uncollapse fifty or more elements at a time and then scrap them in R.

I know how to scrap text from websites but I do not know how to work around the "Show more" attribute.

I have tried to modify the Java code of the website albeit unsuccessfully. My knowledge on Java is limited yet.

Thank you for your time!


Viewing all articles
Browse latest Browse all 205399

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>