-
Notifications
You must be signed in to change notification settings - Fork 0
/
publications.qmd
64 lines (45 loc) · 1.29 KB
/
publications.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
title: "Publications"
---
```{r}
#| label: Setup
#| include: false
library(tidyverse)
library(scholar)
library(glue)
```
```{r}
#| label: Fetching publications
#| echo: false
# Retreiving citations from google scholar
pubs <- get_publications("lIYgwaYAAAAJ")
# Getting complete author list
pubs$author <- unlist(lapply(pubs$pubid, function(x){
get_complete_authors("lIYgwaYAAAAJ", x)
}))
# Getting publication url
pubs$url <- unlist(lapply(pubs$pubid, function(x){
get_publication_url("lIYgwaYAAAAJ", x)
}))
# Removing my thesis from the list
pubs <- pubs %>%
filter(pubid != "Y0pCki6q_DkC")
# Manual edit of kNdYIx-mwKoC
pubid <- "kNdYIx-mwKoC" # bioRxiv preprint from 2018
pubs$journal[pubs$pubid == pubid] <- "bioRxiv"
pubs$url[pubs$pubid == pubid] <- "https://www.biorxiv.org/content/10.1101/472530v3"
pubs$number[pubs$pubid == pubid] <- "472530"
```
```{r}
#| include: true
#| results: asis
#| echo: false
pubs %>%
arrange(-year) %>%
mutate(index = row_number()) %>%
mutate(author = str_replace_all(author, pattern = "J Baeza", replacement = "**J Baeza**"),
title = str_remove_all(title, "\\*")) %>%
glue_data("{index}. {author}, ({year}). {title}. *{journal}*, {number}. [{url}]({url}) \n\n") %>%
print()
```
♦ This article was selected as a Paper of the Week.