Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zoushucai committed Feb 25, 2024
1 parent eef345d commit 06f6a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion combine_journal_lists.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ combine_journal_lists <- function(csvdir = "./metadata/journals/", format = c("r
# output js file, for zotero-journalabbr repo
cat("const journal_abbr = {\n ", file = jspath, append = F, sep = "")

s0 <- dtf[, paste0('"', journal_lower, '":"', journal_abbr, '"')]
s0 <- dtf[, paste0('"', journal_lower, '": "', journal_abbr, '"')]
cat(s0, file = jspath, append = T, sep = ",\n ")

cat("};\n\nexport { journal_abbr };", file = jspath, append = T, sep = "")
Expand Down

0 comments on commit 06f6a90

Please sign in to comment.