Skip to content

Commit

Permalink
Merge pull request epiforecasts#436 from epiforecasts/fix-germany
Browse files Browse the repository at this point in the history
fix Germany case/death data
  • Loading branch information
seabbs authored Nov 29, 2021
2 parents 8c77b82 + 782256c commit d1350d9
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(sum(.data$cases_new)),
deaths_new = as.numeric(sum(.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 d1350d9

Please sign in to comment.