Skip to content

Commit

Permalink
fixed error in script
Browse files Browse the repository at this point in the history
  • Loading branch information
TNRiley committed Aug 9, 2024
1 parent acb6313 commit 354e6c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/new_count_and_table.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ count_records <- function(unique_citations, labels_to_include = NULL) {
# Split and expand the cite_source column
df_expanded <- unique_citations %>%
separate_rows(cite_source, sep = ",") %>%
mutate(.data$cite_source = trimws(cite_source))
mutate(cite_source = trimws(.data$cite_source))

# Filter by user-specified labels if provided
if (!is.null(labels_to_include) && length(labels_to_include) > 0) {
Expand Down

0 comments on commit 354e6c0

Please sign in to comment.