Skip to content

Commit b2ced66

Browse files
committed
fixing
Merge branch 'main' of github.com:BioGenies/BioGenies.github.io # Conflicts: # subsite/publications.qmd
2 parents bd0950f + b10f6ce commit b2ced66

File tree

3 files changed

+26
-65
lines changed

3 files changed

+26
-65
lines changed

index.qmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ listing:
55
sort: "date desc"
66
type: grid
77
categories: cloud
8-
98
---

setup-environment.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
install.packages(c("rmarkdown", "tidyverse", "DT", "slickR", "RCurl", "openalexR",
2-
"leaflet", "fontawesome", "hrbrthemes", "ggalt", "ggbeeswarm"))
2+
"leaflet", "fontawesome", "hrbrthemes", "ggalt", "ggbeeswarm", "wordcloud2"))
33

subsite/publications.qmd

Lines changed: 25 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,6 @@
22
title: "Publications"
33
---
44

5-
<!-- # ```{r, echo=FALSE, message=FALSE} -->
6-
<!-- # -->
7-
<!-- # library(bib2df) -->
8-
<!-- # library(tidyverse) -->
9-
<!-- # library(DT) -->
10-
<!-- # -->
11-
<!-- # bib_dat <- bib2df("BIOgenies.bib", separate_names = TRUE) -->
12-
<!-- # -->
13-
<!-- # test1 <- bib_dat %>% -->
14-
<!-- # select(BIBTEXKEY, AUTHOR, JOURNAL, TITLE, YEAR, DOI, PUBLISHER) -->
15-
<!-- # -->
16-
<!-- # authors <- lapply(test1$AUTHOR, function(x){ -->
17-
<!-- # x$full_name %>% str_flatten(collapse = ", ") %>% rbind() -->
18-
<!-- # }) %>% -->
19-
<!-- # tibble(authors = .) -->
20-
<!-- # -->
21-
<!-- # new_df <- cbind(authors, test1) -->
22-
<!-- # -->
23-
<!-- # -->
24-
<!-- # new_df$authors <- new_df$authors %>% -->
25-
<!-- # str_remove_all(., "[{}]") -->
26-
<!-- # -->
27-
<!-- # new_df$TITLE <- new_df$TITLE %>% -->
28-
<!-- # str_remove_all(., "[{}]") -->
29-
<!-- # -->
30-
<!-- # new_df %>% -->
31-
<!-- # mutate(journal = if_else(is.na(JOURNAL), PUBLISHER, JOURNAL), -->
32-
<!-- # title = TITLE, -->
33-
<!-- # doi = DOI, -->
34-
<!-- # year = YEAR) %>% -->
35-
<!-- # arrange(desc(year)) %>% -->
36-
<!-- # select(title, authors, doi, year, journal) %>% -->
37-
<!-- # datatable() -->
38-
<!-- # -->
39-
<!-- # ``` -->
40-
41-
42-
435
```{r, echo=FALSE, message=FALSE}
446
457
library(openalexR)
@@ -73,28 +35,28 @@ pub_mod %>%
7335
```
7436

7537

76-
# ```{r, echo=FALSE, message=FALSE}
77-
#
78-
# library(wordcloud2)
79-
#
80-
# concept_cloud <- pub_mod %>%
81-
# select(inst_id = id, concepts) %>%
82-
# tidyr::unnest(concepts) %>%
83-
# select(display_name, level, score) %>%
84-
# filter(score >= 0.65) %>%
85-
# group_by(display_name) %>%
86-
# summarise(count_no = n(),
87-
# score = median(score))
88-
#
89-
# # concept_cloud <- pub_mod %>%
90-
# # select(inst_id = id, topics) %>%
91-
# # tidyr::unnest(topics) %>%
92-
# # select(display_name, i, score) %>%
93-
# # # filter(score >= 0.65) %>%
94-
# # group_by(display_name) %>%
95-
# # summarise(count_no = n(),
96-
# # score = median(score))
97-
#
98-
# wordcloud2::wordcloud2(concept_cloud, size = 2.5, color = "random-light")
99-
#
100-
# ```
38+
<!-- # ```{r, echo=FALSE, message=FALSE} -->
39+
<!-- # -->
40+
<!-- # library(wordcloud2) -->
41+
<!-- # -->
42+
<!-- # concept_cloud <- pub_mod %>% -->
43+
<!-- # select(inst_id = id, concepts) %>% -->
44+
<!-- # tidyr::unnest(concepts) %>% -->
45+
<!-- # select(display_name, level, score) %>% -->
46+
<!-- # filter(score >= 0.65) %>% -->
47+
<!-- # group_by(display_name) %>% -->
48+
<!-- # summarise(count_no = n(), -->
49+
<!-- # score = median(score)) -->
50+
<!-- # -->
51+
<!-- # # concept_cloud <- pub_mod %>% -->
52+
<!-- # # select(inst_id = id, topics) %>% -->
53+
<!-- # # tidyr::unnest(topics) %>% -->
54+
<!-- # # select(display_name, i, score) %>% -->
55+
<!-- # # # filter(score >= 0.65) %>% -->
56+
<!-- # # group_by(display_name) %>% -->
57+
<!-- # # summarise(count_no = n(), -->
58+
<!-- # # score = median(score)) -->
59+
<!-- # -->
60+
<!-- # wordcloud2::wordcloud2(concept_cloud, size = 2.5, color = "random-light") -->
61+
<!-- # -->
62+
<!-- # ``` -->

0 commit comments

Comments
 (0)