Skip to content

Commit

Permalink
Replace tibble() for data_frame()
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasilge committed Apr 3, 2020
1 parent c70edfe commit 3c8de16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vignettes/united_nations.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ vignette: >
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

```{r setup, echo = FALSE}
library(knitr)
Expand Down Expand Up @@ -102,9 +102,9 @@ library(igraph)
cors_filtered <- cors %>%
filter(correlation > .6)
continents <- data_frame(country = unique(un_votes$country)) %>%
continents <- tibble(country = unique(un_votes$country)) %>%
filter(country %in% cors_filtered$item1 |
country %in% cors_filtered$item2) %>%
country %in% cors_filtered$item2) %>%
mutate(continent = countrycode(country, "country.name", "continent"))
set.seed(2017)
Expand Down

0 comments on commit 3c8de16

Please sign in to comment.