From f91dc31e400f092f9cf2200c1eeb7511c7b8980d Mon Sep 17 00:00:00 2001 From: Andrew Gene Brown Date: Fri, 29 Dec 2023 10:56:18 -0800 Subject: [PATCH] get_SDA_coecoclass: method "all" always use `not_rated_value` for site ID and name if no data to aggregate --- R/get_SDA_coecoclass.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/get_SDA_coecoclass.R b/R/get_SDA_coecoclass.R index 2d45aae3..c049632d 100644 --- a/R/get_SDA_coecoclass.R +++ b/R/get_SDA_coecoclass.R @@ -250,8 +250,8 @@ get_SDA_coecoclass <- function(method = "None", for (i in sdx) { if (i > nrow(x)) { d <- data.frame( - siten = NA_character_, - sitenname = NA_character_, + siten = not_rated_value, + sitenname = not_rated_value, sitencompname = NA_character_, sitenpct_r = NA_integer_, sitenlink = NA_character_