adam.888
adam.888

Reputation: 7846

R: rvest: rank by Date

I can obtain text using Rvest:

library(rvest)
text = read_html(link) %>%
html_nodes(".r") %>% 
html_text()

text

But how can I rank the text by time?

Also how can I read the whole article

Can I extend the text to be 500 characters?

Upvotes: 0

Views: 79

Answers (1)

GGamba
GGamba

Reputation: 13680

Pls ask one question at a time.

  1. Add the &tbs=sbd:1 to the query
  2. You can't, directly from the google result page.
  3. You can't, directly from the google result page.

Upvotes: 1

Related Questions