From b0183827cc372790b536872a7f046bcd5409bb4d Mon Sep 17 00:00:00 2001 From: ross-hull <117927497+ross-hull@users.noreply.github.com> Date: Tue, 16 Jul 2024 15:14:36 +0100 Subject: [PATCH] Update R/get_latest_resource.R Co-authored-by: James McMahon --- R/get_latest_resource.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/R/get_latest_resource.R b/R/get_latest_resource.R index defbf8b..04e14d1 100644 --- a/R/get_latest_resource.R +++ b/R/get_latest_resource.R @@ -54,11 +54,13 @@ get_latest_resource <- function(dataset_name, # get the latest resource id id <- get_latest_resource_id(dataset_name) - return_value <- get_resource( + data <- get_resource( id, rows, row_filters, col_select, include_context ) + + return(data) }