I am using data from an Indonesian website, which consists of a table that is dynamically generated (for different years and provinces) with (what seems to me) javascript. I try to automize this with R (using R Studio). The website is <http://dibi.bnpb.go.id> , and the table is on the subsite "Arrow --> Tabel" (I cannot provide a link to the page directly because it is dynamically generated)

I have searched for an api for the problem, but have not managed to. Even if I click through the page, the links do not update. XPath, which I normally use for web-scraping, does not work.

I would greatly appreciate your help!