Spaces:
Sleeping
Sleeping
Update OpenAlexEdges.R
Browse files- OpenAlexEdges.R +1 -14
OpenAlexEdges.R
CHANGED
@@ -5,18 +5,7 @@ authorPubEdges <- function(keywords,pub_start_date,pub_end_date){
|
|
5 |
pub_end_date <- pub_end_date
|
6 |
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
shinyalert(
|
11 |
-
title = "Error!",
|
12 |
-
text = "You can only enter text values",
|
13 |
-
closeOnEsc = T,
|
14 |
-
closeOnClickOutside = T,
|
15 |
-
confirmButtonText = "OK",
|
16 |
-
timer = 4000
|
17 |
-
)
|
18 |
-
} else {
|
19 |
-
# create search engine function
|
20 |
search_engine <- function(keywords,pub_start_date,pub_end_date){
|
21 |
suppressPackageStartupMessages(library(openalexR))
|
22 |
suppressPackageStartupMessages(library(tidyverse))
|
@@ -191,6 +180,4 @@ authorPubEdges <- function(keywords,pub_start_date,pub_end_date){
|
|
191 |
author_publication_edges <- replace_edges_with_ids(author_publication_edges, author_nodes)
|
192 |
|
193 |
return(author_publication_edges)
|
194 |
-
|
195 |
-
}
|
196 |
}
|
|
|
5 |
pub_end_date <- pub_end_date
|
6 |
|
7 |
|
8 |
+
# create search engine function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
search_engine <- function(keywords,pub_start_date,pub_end_date){
|
10 |
suppressPackageStartupMessages(library(openalexR))
|
11 |
suppressPackageStartupMessages(library(tidyverse))
|
|
|
180 |
author_publication_edges <- replace_edges_with_ids(author_publication_edges, author_nodes)
|
181 |
|
182 |
return(author_publication_edges)
|
|
|
|
|
183 |
}
|