Skip to content

Commit

Permalink
Revert changes back to old date format
Browse files Browse the repository at this point in the history
WHO reformatted dates again to %m-%d-%y
  • Loading branch information
kimkimroll committed Mar 11, 2024
1 parent 1a82267 commit b1f4f09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/get_covid_sources.R
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ process_who_data <- function(raw_data) {
summarize_all(list(~ sum(., na.rm = T))) %>%
ungroup() %>%
mutate(
#date = as.Date(date), ### ---- 6-MAR-2024: modifying date to new format (%d/%m/%y)
date = as.Date(date, format = "%d/%m/%y"),
date = as.Date(date), ### 11-MAR-2024: reverting back to old date format (%m/%d/%y)
#date = as.Date(date, format = "%d/%m/%y"), ### ---- 6-MAR-2024: modifying date to new format (%d/%m/%y)
source = "WHO"
) %>%
select(-who_region)
Expand Down

0 comments on commit b1f4f09

Please sign in to comment.