diff --git a/R/get-zotero-data.R b/R/get-zotero-data.R index 5dd0a92..fb256a9 100644 --- a/R/get-zotero-data.R +++ b/R/get-zotero-data.R @@ -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]