Skip to content

Commit

Permalink
fix issue when field is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
ahasverus committed Oct 3, 2024
1 parent de9df8b commit 5bc3bf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/get-zotero-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ get_zotero_data <- function(path = "~/zotero") {
"abstract", "volume", "issue", "pages", "publisher", "place",
"institution", "doi", "url", "note")

col_order <- col_order[col_order %in% colnames(items)]

items <- items[ , col_order]


Expand Down

0 comments on commit 5bc3bf7

Please sign in to comment.