I apologize in advance for my English.
Hello friends, I am trying to create a cycle from a database that says "fincaraizcali1", I would like the cycle to go through column 4, and be able to save each of the outputs in a new variable, however, there is no achievement, I would greatly appreciate your help.
Prob_enfermas=for (i in 1:dim(fincaraizcali1[4]){
pageurl= fincaraizcali1[4]
htmlpage <- read_html(pageurl)
precio(i)=htmlpage %>%
html_nodes(xpath='//*[@id="aspnetForm"]/div[6]/div[1]/div[1]/div[3]/h2')
}