From dbf2b49f92c1b7b97c8ff7fe5deac62c7ee2ab9a Mon Sep 17 00:00:00 2001 From: Seth Caldwell Date: Tue, 25 Jun 2024 12:13:37 +0100 Subject: [PATCH] Add fix to analyses endpoint --- NEWS.md | 1 + R/ipc_get_analyses.R | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS.md b/NEWS.md index f2c3e28..7542910 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,7 @@ * Fixed `type_convert_silent()` to parse `NA` strings as characters, not explicit missing values. +* Fixed `ipc_get_analyses()` call to properly pass `country` parameter to the API. # ripc 0.3.0 diff --git a/R/ipc_get_analyses.R b/R/ipc_get_analyses.R index 828e49b..027643f 100644 --- a/R/ipc_get_analyses.R +++ b/R/ipc_get_analyses.R @@ -61,6 +61,7 @@ ipc_get_analyses <- function( return_format = return_format, pass_format = TRUE, api_key = api_key, + country = country, year = year, type = type )