Skip to content

Commit

Permalink
Merge pull request #283 from yjunechoe/process-publication_date
Browse files Browse the repository at this point in the history
Parse Works objects `publication_date` field as date type
  • Loading branch information
yjunechoe authored Sep 30, 2024
2 parents c3f64e5 + 1c306bf commit c710bf2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/oa2df.R
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ works2df <- function(data, abstract = TRUE, verbose = TRUE,
fields$type,
SIMPLIFY = FALSE
)
if (!is.null(sim_fields$publication_date)) {
sim_fields$publication_date <- as.Date(sim_fields$publication_date)
}

author <- venue <- ab <- NULL

Expand Down

0 comments on commit c710bf2

Please sign in to comment.