From 577b1a86d5ec007631460882a982c4ecba53d935 Mon Sep 17 00:00:00 2001 From: Jeanette Clark Date: Wed, 18 Sep 2024 16:44:21 -0700 Subject: [PATCH] fix rownames argument --- helm/scripts/search.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/scripts/search.R b/helm/scripts/search.R index 0daace3..d30d653 100644 --- a/helm/scripts/search.R +++ b/helm/scripts/search.R @@ -45,7 +45,7 @@ main <- function(){ existing_citations <- get_metrics_citations() new_citations <- anti_join(found_citations, existing_citations, by = c("dataset_id" = "target_id", "article_id" = "source_id")) if (nrow(new_citations) > 0) { - write.csv(new_citations, fp, row_names = FALSE) + write.csv(new_citations, fp, row.names = FALSE) } else { writeLines("No new citations found.", fp) }