This repository was archived by the owner on Dec 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtoday.Rmd
106 lines (68 loc) · 1.78 KB
/
today.Rmd
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
title: "Latest Search Workflow"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
```{r}
Sys.time()
```
```{r}
x <- paste0("Time: ", as.character(Sys.time()))
write(x = x,
file = "data/time.txt",
append = TRUE)
```
```{r}
timelist <- read.csv(file = "data/time.txt",
header = FALSE)
timelist
```
```{r eval=FALSE, include=FALSE}
# today <- format(as.Date(Sys.Date(), "%B %d %Y"), "%Y/%d/%m")
# begin <- format(as.Date(Sys.Date() - 30, "%B %d %Y"), "%Y/%d/%m")
# query <- 'pancreas'
# my_articles <- RISmed::EUtilsSummary(query = query,
# type = 'esearch',
# db = 'pubmed',
# reldate = 10
# )
# my_fetched_articles <- RISmed::EUtilsGet(my_articles)
```
```{r eval=FALSE, include=FALSE}
# PMIDs <- my_fetched_articles@PMID
```
```{r eval=FALSE, include=FALSE}
# write(x = PMIDs,
# file = "data/pancreas_PMIDs.txt",
# append = TRUE)
```
---
**pancreas_PMIDs**
```{r pancreas_PMIDs}
pancreas_PMIDs <- read.csv(file = "data/pancreas_PMIDs.txt",
header = FALSE)
print(pancreas_PMIDs)
```
----
**ampulla_PMIDs**
```{r ampulla_PMIDs}
ampulla_PMIDs <- read.csv(file = "data/ampulla_PMIDs.txt",
header = FALSE)
print(ampulla_PMIDs)
```
----
**bileduct_PMIDs**
```{r bileduct_PMIDs}
bileduct_PMIDs <- read.csv(file = "data/bileduct_PMIDs.txt",
header = FALSE)
print(bileduct_PMIDs)
```
----
**gallbladder_PMIDs**
```{r gallbladder_PMIDs}
gallbladder_PMIDs <- read.csv(file = "data/gallbladder_PMIDs.txt",
header = FALSE)
print(gallbladder_PMIDs)
```