Skip to content

Commit

Permalink
added underscore to output source
Browse files Browse the repository at this point in the history
  • Loading branch information
theamarks committed Apr 27, 2022
1 parent 0a76e0c commit a69ef60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/citation_search_plos.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ citation_search_plos <- function(identifiers) {
plos_results <- do.call(rbind, plos_results)
names(plos_results)[which(names(plos_results) == "id")] <- "article_id"
names(plos_results)[which(names(plos_results) == "title")] <- "article_title"
names(plos_results)[which(names(plos_results) == "source")] <- "article source"
names(plos_results)[which(names(plos_results) == "source")] <- "article_source"
plos_results <- plos_results[complete.cases(plos_results), ] # remove incomplete cases (NAs)

return(plos_results)
Expand Down

0 comments on commit a69ef60

Please sign in to comment.