Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/ui-elements.R
Original file line number Diff line number Diff line change
Expand Up @@ -1710,5 +1710,5 @@ abm_plotlyfy <- function(graphobj, tooltip, optionsbar = FALSE, showlegend = TRU
graphobj |>
ggplotly(tooltip = tooltip) |>
config(displayModeBar = optionsbar) |>
layout(autosize = TRUE, showlegend = showlegend, font = list(family = "figtree"))
layout(autosize = TRUE, showlegend = showlegend, font = list(family = "Figtree"))
}
17 changes: 13 additions & 4 deletions inst/extdata/abm.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,23 @@ params:

```{css echo=FALSE}
@font-face {
font-family: 'Figtree';
font-family: 'Figtree Light';
font-style: normal;
font-weight: 400;
src: url('fonts/figtree-v5-latin_latin-ext-regular.woff2') format('woff2');
}

body {
font-family: 'Figtree Light';
}
@font-face {
font-family: 'Figtree';
font-style: normal;
font-weight: 400;
src: url('fonts/figtree-v5-latin_latin-ext-regular.woff2') format('woff2');
}


```


Expand Down Expand Up @@ -350,6 +358,7 @@ if (nrow(df_diva) > 0) {
"<b>Publication year: </b> %{x}<br>",
"<b>Publication volume, frac: </b>%{text}<br><extra></extra>")) |>
layout(
font = list(family = "Figtree"),
autosize = TRUE,
showlegend = TRUE,
margin = list(l = 30, t = 40, r = 30),
Expand Down Expand Up @@ -750,7 +759,7 @@ Row {.tabset data-height=6000}

```{r, fig.width=6, fig.height=5, out.width='95%'}
if(df_copub %>% filter(!is.na(P_full)) %>% nrow() > 0) {
(abm_graph_scop_copub(df_scop_copub) +
(abm_graph_copub(df_copub) +
theme(axis.title.x = element_blank())) |>
abm_plotlyfy(tooltip = c("y","x")) |>
style(hovertemplate = paste0("<b>%{data.legendgroup}</b><br>",
Expand Down Expand Up @@ -944,7 +953,7 @@ Row

### **Notes** [<i class="fa fa-info-circle" aria-hidden="true"></i> more...](`r STATIC`/ABM_guide.html#open-access){target="_blank" style="position:relative;float:right;"}

The Open Access type of the publications was fetched from the [Unpaywall REST API](https://unpaywall.org/products/api). The method to determine the OA type is presented [here](https://support.unpaywall.org/support/solutions/articles/44001777288-what-do-the-types-of-oa-status-green-gold-hybrid-and-bronze-mean-).
The Open Access type of the publications was fetched from [OpenAlex](https://openalex.org). The method to determine the OA type is presented on [OpenAlex support pages](https://help.openalex.org/hc/en-us/articles/24347035046295-Open-Access-OA). However, note that we count the bronze category as Not OA, since there is no identifyable license.

In summary, the different OA types can be described as follows:

Expand All @@ -956,7 +965,7 @@ In summary, the different OA types can be described as follows:

- *Green:* The full text has been found in an institutional repository, such as DiVA.

**N.B.**: This table is based on peer-reviewed publications for which Unpaywall could determine the OA type (necessary condition: have a DOI number). Unpaywall's method is empirical and does not strictly equate to copyright license. As a consequence, the OA status of a given publication may vary with time --- for example turning from *"Not OA"* to *"Green"* when a full text is added to DiVA.
**N.B.**: This table is based on peer-reviewed publications for which OpenAlex could determine the OA type (necessary condition: have a DOI number). OpenAlex's method is empirical and does not strictly equate to copyright license. As a consequence, the OA status of a given publication may vary with time --- for example turning from *"Not OA"* to *"Green"* when a full text is added to DiVA.


Scopus
Expand Down