Skip to content

Commit

Permalink
rm wordcloud2
Browse files Browse the repository at this point in the history
  • Loading branch information
jarochi committed Nov 14, 2024
1 parent 7e868d9 commit 4679943
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ listing:
sort: "date desc"
type: grid
categories: cloud

---
3 changes: 1 addition & 2 deletions setup-environment.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
install.packages(c("rmarkdown", "tidyverse", "DT", "slickR", "RCurl", "openalexR",
"leaflet", "fontawesome", "hrbrthemes", "ggalt", "ggbeeswarm", "wordcloud2",
"curl"))
"leaflet", "fontawesome", "hrbrthemes", "ggalt", "ggbeeswarm"))

28 changes: 28 additions & 0 deletions subsite/publications.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,31 @@ pub_mod %>%
DT::datatable(escape = F)
```



<!-- ```{r, echo=FALSE, message=FALSE} -->

<!-- library(wordcloud2) -->

<!-- concept_cloud <- pub_mod %>% -->
<!-- select(inst_id = id, concepts) %>% -->
<!-- tidyr::unnest(concepts) %>% -->
<!-- select(display_name, level, score) %>% -->
<!-- filter(score >= 0.65) %>% -->
<!-- group_by(display_name) %>% -->
<!-- summarise(count_no = n(), -->
<!-- score = median(score)) -->

<!-- # concept_cloud <- pub_mod %>% -->
<!-- # select(inst_id = id, topics) %>% -->
<!-- # tidyr::unnest(topics) %>% -->
<!-- # select(display_name, i, score) %>% -->
<!-- # # filter(score >= 0.65) %>% -->
<!-- # group_by(display_name) %>% -->
<!-- # summarise(count_no = n(), -->
<!-- # score = median(score)) -->

<!-- wordcloud2::wordcloud2(concept_cloud %>% filter(count_no > 2), size = 2.5, color = "random-light") -->

<!-- ``` -->

0 comments on commit 4679943

Please sign in to comment.