From 8975f8f5723d2a52fe3a1fd75441336fe02a5f6a Mon Sep 17 00:00:00 2001 From: Alex Spina Date: Thu, 5 Sep 2024 17:19:10 +0100 Subject: [PATCH] try nested var documentation --- R/sitrep_surveys_doc.R | 25 ++++++++++++++----------- man/mortality_survey_data.Rd | 17 +++++++++++++++++ 2 files changed, 31 insertions(+), 11 deletions(-) diff --git a/R/sitrep_surveys_doc.R b/R/sitrep_surveys_doc.R index ca5562a..ab927e0 100644 --- a/R/sitrep_surveys_doc.R +++ b/R/sitrep_surveys_doc.R @@ -28,18 +28,21 @@ #' @format Two data frames, 'Mortality Survey' with 424 rows and 16 columns, and #' 'hh_member' with 2874 rows and 24 columns: #' -#' \strong{Mortality Survey} #' \describe{ -#' \item{variable1}{Description of variable1} -#' \item{variable2}{Description of variable2} -#' # Add more variables as needed -#' } -#' -#' \strong{hh_member} -#' \describe{ -#' \item{variable1}{Description of variable1} -#' \item{variable2}{Description of variable2} -#' # Add more variables as needed +#' \item{Mortality Survey}{A data frame with 424 rows and 16 columns: +#' \describe{ +#' \item{variable1}{Description of variable1} +#' \item{variable2}{Description of variable2} +#' # Add more variables as needed +#' } +#' } +#' \item{hh_member}{A data frame with 2874 rows and 24 columns: +#' \describe{ +#' \item{variable1}{Description of variable1} +#' \item{variable2}{Description of variable2} +#' # Add more variables as needed +#' } +#' } #' } #' #' @docType data diff --git a/man/mortality_survey_data.Rd b/man/mortality_survey_data.Rd index 216e52f..dc7fb79 100644 --- a/man/mortality_survey_data.Rd +++ b/man/mortality_survey_data.Rd @@ -7,6 +7,23 @@ \format{ Two data frames, 'Mortality Survey' with 424 rows and 16 columns, and 'hh_member' with 2874 rows and 24 columns: + +\describe{ +\item{Mortality Survey}{A data frame with 424 rows and 16 columns: +\describe{ +\item{variable1}{Description of variable1} +\item{variable2}{Description of variable2} +# Add more variables as needed +} +} +\item{hh_member}{A data frame with 2874 rows and 24 columns: +\describe{ +\item{variable1}{Description of variable1} +\item{variable2}{Description of variable2} +# Add more variables as needed +} +} +} } \source{ This data was generated with functions from the