Skip to content

Commit f056bbd

Browse files
committed
Update 2022-09-29 for preprints posted up until 2022-09-25
1 parent 02864d6 commit f056bbd

8 files changed

+11
-7
lines changed

covid19_preprints.Rmd

+6-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Note that here, the 'low level' `cr_types_` function is used to return all metad
6969

7070
```{r message = FALSE, warning = FALSE, cache = TRUE}
7171
72-
cr_expected_results <- cr_types(types = "posted-content",
72+
wwritecr_expected_results <- cr_types(types = "posted-content",
7373
works = TRUE,
7474
limit = 1,
7575
filter = c(from_index_date = as.character(sample_date_from),
@@ -276,7 +276,6 @@ cr_covid <- bind_rows(cr_posted_content_covid, cr_ssrn_covid)
276276
277277
rm(cr_posted_content_covid, cr_ssrn_covid)
278278
279-
280279
```
281280

282281
# DataCite
@@ -581,6 +580,9 @@ covid_preprints_update <- covid_preprints_update %>%
581580
mutate(title = str_remove_all(title, "<.*?>"),
582581
title = str_squish(title))
583582
583+
584+
rm(cr_covid, dc_covid, ar_covid, repec_covid)
585+
584586
```
585587

586588

@@ -633,6 +635,8 @@ covid_preprints <- covid_preprints %>%
633635
covid_preprints %>%
634636
write_csv("data/covid19_preprints.csv")
635637
638+
rm(covid_preprints_previous, covid_preprints_previous)
639+
636640
```
637641

638642
# Create metadata file (json file with sample date and release date)

data/covid19_preprints.csv

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:fb485b21b462512369574a125cc6e4ef79b64cd342d4466bb11959d0d41693fa
3-
size 123090842
2+
oid sha256:05a74daa0a6f5fd7f3b43067700780e863632e36ce5e2c993166ba5fedc2be87
3+
size 124720470

data/metadata.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"release_date": "2022-09-03",
3-
"sample_date": "2022-09-03",
4-
"posted_date": "2022-08-28",
2+
"release_date": "2022-09-29",
3+
"sample_date": "2022-09-28",
4+
"posted_date": "2022-09-25",
55
"url": "https://github.com/nicholasmfraser/covid19_preprints/blob/master/data/covid19_preprints.csv?raw=true"
66
}
49.7 KB
Loading
-762 Bytes
Loading
1.09 KB
Loading

0 commit comments

Comments
 (0)
close