Skip to content

Commit

Permalink
fix Germany case/death data
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk authored Nov 29, 2021
1 parent 8c77b82 commit 4c7cb8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/Germany.R
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ Germany <- R6::R6Class("Germany",
.data$date
) %>%
summarise(
cases_new = as.numeric(sum(.data$cases_new > 0)),
deaths_new = as.numeric(sum(.data$deaths_new > 0))
cases_new = as.numeric(.data$cases_new)),
deaths_new = as.numeric(.data$deaths_new))
) %>%
ungroup()
},
Expand All @@ -116,8 +116,8 @@ Germany <- R6::R6Class("Germany",
.data$level_2_region, .data$date
) %>%
summarise(
cases_new = as.numeric(sum(.data$cases_new > 0)),
deaths_new = as.numeric(sum(.data$deaths_new > 0))
cases_new = as.numeric(sum(.data$cases_new)),
deaths_new = as.numeric(sum(.data$deaths_new))
) %>%
ungroup()
}
Expand Down

0 comments on commit 4c7cb8c

Please sign in to comment.