Skip to content

Commit

Permalink
reverting
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalab committed Oct 25, 2022
1 parent ba5a5ed commit 8be0bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inference/parameters-estimates.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Real Clear Politics^[http://www.realclearpolitics.com] is an example of a news a
url <- "https://web.archive.org/web/20161108012231/https://www.realclearpolitics.com/epolls/2016/president/us/general_election_trump_vs_clinton-5491.html"
library(rvest)
tab <- read_html(url) |> html_elements("table")
tab <- tab[[2]] |> html_table() |>
tab <- tab[[1]] |> html_table() |>
mutate(Poll = stringr::str_remove(Poll, "\\/.*")) |>
mutate(Poll = case_when(
Poll == "BloombergBloomberg" ~ "Bloomberg",
Expand Down

0 comments on commit 8be0bf5

Please sign in to comment.