'web scraping Javascript heavy site using rvest

I'm trying to webscrape the full list of projects and associated details from this site (the Project List is on the right hand side):

https://www.forest-trends.org/project-list/

I cannot seem to identify the correct css elements to get at the project and associated details. I wondered if this was something to do with JavaScript within the html?

When I try the following:

library(rvest)
link <- "https://www.forest-trends.org/project-list"
urlData <- link %>% read_html %>% html_nodes(".project-tile")

I would expect to get a list of projects. Instead I get:

{xml_nodeset (0)}

How to return the full list of projects and associated details?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source