-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
1,261 additions
and
1,195 deletions.
There are no files selected for viewing
1,146 changes: 573 additions & 573 deletions
1,146
data/doaj_changelog_withdrawn_list_enriched_ascii.csv
Large diffs are not rendered by default.
Oops, something went wrong.
1,146 changes: 573 additions & 573 deletions
1,146
data/doaj_changelog_withdrawn_list_enriched_utf8.csv
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# Mapping by @MiWohlgemuth | ||
|
||
de_gruyter_brill <- c( | ||
"De Gruyter", | ||
"Brill", | ||
"Vandenhoeck", | ||
"Sciendo" | ||
) | ||
|
||
elsevier <- c( | ||
"Elsevier", | ||
"KeAi Comm" | ||
) | ||
|
||
frontiers <- c( | ||
"Frontiers Media" | ||
) | ||
|
||
informa <- c( | ||
"Taylor & Francis", | ||
"Dove Medical" | ||
) | ||
|
||
mdpi <- c( | ||
"MDPI" | ||
) | ||
|
||
oxford <- c( | ||
"Oxford University" | ||
) | ||
|
||
sage <- c( | ||
"SAGE " | ||
) | ||
|
||
springer_nature <- c( | ||
"Springer", | ||
"Biomed Central" | ||
) | ||
|
||
wolters_kluwer <- c( | ||
"Medknow Publ", | ||
"Wolters Kluwer" | ||
) | ||
|
||
wiley <- c( | ||
"Wiley", | ||
"Hindawi" | ||
) | ||
|
||
publishers <- list( | ||
"de_gruyter_brill" = paste0(de_gruyter_brill, collapse = "|"), | ||
"elsevier" = paste0(elsevier, collapse = "|"), | ||
"frontiers" = paste0(frontiers, collapse = "|"), | ||
"informa" = paste0(informa, collapse = "|"), | ||
"mdpi" = paste0(mdpi, collapse = "|"), | ||
"oxford" = paste0(oxford, collapse = "|"), | ||
"sage" = paste0(sage, collapse = "|"), | ||
"springer_nature" = paste0(springer_nature, collapse = "|"), | ||
"wolters_kluwer" = paste0(wolters_kluwer, collapse = "|"), | ||
"wiley" = paste0(wiley, collapse = "|") | ||
) | ||
|
||
publishers_out <- list( | ||
"de_gruyter_brill" = "De Gruyter Brill", | ||
"elsevier" = "Elsevier", | ||
"frontiers" = "Frontiers", | ||
"informa" = "Taylor & Francis", | ||
"mdpi" = "MDPI", | ||
"oxford" = "Oxford University Press", | ||
"sage" = "SAGE", | ||
"springer_nature" = "Springer Nature", | ||
"wolters_kluwer" = "Wolters Kluwer", | ||
"wiley" = "Wiley" | ||
) | ||
|
||
parse_publisher <- function(publisher) { | ||
result <- paste0(sort(unique(unlist(lapply(names(publishers), function(x) { | ||
pattern <- publishers[[x]] | ||
if (grepl(pattern, publisher, ignore.case = TRUE)) { | ||
publishers_out[[x]] | ||
} | ||
})))), collapse = "#") | ||
if (grepl("^$", result)) { | ||
publisher | ||
} else { | ||
result | ||
} | ||
} |
Oops, something went wrong.