Trying to extract data from Argentina Covid website using rvest

Attempting to scrape data from Argentina Covid website

Trying to use Rvest but can't seem to identify how to grab the area of interest.

I can see it but just can't seem to extract it

the data is in the right-hand table which is headed Provincia and has cases in two columns

Using Developers Tools I can see the data resides in Panel-75 but I just don't know enough about Rvest to work out how to extract it

ARG_Regions <- read_html("Dosis de refuerzo vacuna COVID-19 | Argentina.gob.ar")

x <- '//*[@id="panel-75"]/div/div/div[1]/div/div[2]/div/plugin-component/panel-plugin-table/grafana-panel/ng-transclude/div[1]/div[2]/table'

ARG_Regions %>% html_nodes(xpath = x) %>% html_text()

HTML Code Below

Any suggestions would be much appreciated

Thanks

Mike

Provincia
Confirmados del día
Totales
Provincia
Buenos Aires
Confirmados del día
6302
Totales
1855743
CABA1315466575
Catamarca31634867
Chaco58678234
Chubut26971296
Corrientes67567479
Córdoba2356415753
Entre Ríos885112065
Formosa43446465
Jujuy29036414
La Pampa25153599
La Rioja16822574
Mendoza800141379
Misiones14325971
Neuquén243101886
Río Negro23684807
Salta56362578
San Juan72051831
San Luis48766575
Santa Cruz17255799
Santa Fe1736409650
Santiago del Estero60560814
Tierra del Fuego9029909
Tucumán1246160176
No data to show

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.