Skip to content

Commit

Permalink
change date to Date
Browse files Browse the repository at this point in the history
change date to Date in code
  • Loading branch information
jmaltman committed Oct 31, 2023
1 parent 73d55c2 commit 778ba03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/geom_pandemics.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ filter_pandemics <- function(min, max, xformat, show_ongoing, pandem_table){
if (!show_ongoing) {pandem_table <- dplyr::filter(pandem_table, ongoing == F)}

# use xformat to create correct "start" and "end" vars...
if (xformat == "date") {
if (xformat == "Date") {
# ... by renaming existing date fields (for date axis)
pandemics <- dplyr::rename(pandem_table, start = start_date, end = end_date)
} else {
Expand Down
Binary file added pandemics.rda
Binary file not shown.

0 comments on commit 778ba03

Please sign in to comment.