I'm trying to webscrape this page: https://projects.worldbank.org/en/projects-operations/project-detail/P171821
In particular, I want to extract the Associated Projects id (in this case it is P145196).
I'm using rvest package.
I've tried the following code, but this has resulted in an empty vector.
library(rvest)
simple <- read_html("https://projects.worldbank.org/en/projects-operations/project-detail/P171821") %>%
html_nodes(".ng-tns-c2-0") %>%
html_text()
> simple
character(0)
What am I doing incorrectly?