Skip to content

Commit

Permalink
Insert URL as empty *character* field when missing
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWallrich committed Jul 29, 2024
1 parent de3e63c commit c7ca2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/tables.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ record_level_table <- function(citations, include = "sources", include_empty = T
}

if (! "url" %in% colnames(citations)) {
citations$url <- NA
citations$url <- NA_character_
}

citations <- citations %>%
Expand Down

0 comments on commit c7ca2d3

Please sign in to comment.