From 1318a29aa8b4914cdefff6fcccbd6b73898f230e Mon Sep 17 00:00:00 2001 From: Nick Heppler Date: Fri, 2 May 2025 11:34:57 -0400 Subject: [PATCH] Fix: Correct calculations affected by updated Survey123 question labels. --- report.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/report.Rmd b/report.Rmd index c1b012f..ddc5a38 100644 --- a/report.Rmd +++ b/report.Rmd @@ -318,8 +318,8 @@ The table below summarizes the response rates for optional top-level questions i The "Total Number of Species Planted" question has special handling—only responses greater than 0 are considered valid, whereas for other questions, any non-NA value counts as a response. ```{r response-rate-table-optional, echo=TRUE, message=FALSE, fig.height=6, fig.width=8} -fields <- c("Planter Contact Email", "Funding Source", "Land Ownership", - "Tree Size Planted", "Source of Trees", "Total Number of Species Planted") +fields <- c("Planter Contact Email (Optional)", "Funding Source (Optional)", "Land Ownership (Optional)", + "Tree Size Planted (Optional)", "Source of Trees (Optional)", "Total Number of Species Planted") calculate_response_rates(survey_data, fields, "Response Rates for Key Survey Questions") ```