Skip to content

Commit 4ed0939

Browse files
committed
pub code updating
1 parent 3f84cca commit 4ed0939

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

subsite/posts/2024_11_04.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "We're thrilled to welcome Eva Arribas, a master's graduate from Sa
44
date: "11/04/2024"
55
categories:
66
- team
7-
- Erasmus
7+
- Erasmus+
88
- LLPS
99
- amyloids
1010
---

subsite/publications.qmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,13 @@ pub <- openalexR::oa_fetch(entity ="works",
5757
pub <- pub$author %>% lapply(., function(x) {x$au_display_name %>% str_flatten(., collapse = ", ")}) %>% unlist() %>% tibble(authors = .) %>% cbind(pub, .)
5858
5959
pub %>%
60-
filter(type == "article") %>%
61-
select(title, authors, doi, publication_date, so, host_organization) %>%
60+
filter(type != "dataset") %>%
61+
select(title, authors, doi, publication_date, type, so, host_organization) %>%
6262
drop_na(., doi) %>%
6363
mutate(doi = paste0('<a target=_blank href=', doi, '>', doi %>% str_remove(., "https://doi.org/"),'</a>'),
6464
journal = so %>% as.factor(),
6565
publisher = host_organization %>% as.factor(),
66+
type = type %>% as.factor(),
6667
publication_date = publication_date %>% as_date()
6768
) %>%
6869
select(!c(so, host_organization)) %>%

0 commit comments

Comments
 (0)