From 36759c2b812d53aa9cfc0a4ef689c6401794725a Mon Sep 17 00:00:00 2001 From: "Bundfuss, Stefan {MDBB~Basel}" Date: Thu, 20 Jul 2023 18:27:49 +0200 Subject: [PATCH] #1960 enhance_derive_extreme_event: use correct input dataset --- R/derive_extreme_event.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/derive_extreme_event.R b/R/derive_extreme_event.R index d08f6f3762..7cf042852d 100644 --- a/R/derive_extreme_event.R +++ b/R/derive_extreme_event.R @@ -391,7 +391,7 @@ derive_extreme_event <- function(dataset, } } else { data_events <- filter_joined( - dataset, + data_source, by_vars = by_vars, join_vars = event$join_vars, join_type = event$join_type,