knitr::opts_chunk$set(echo = FALSE
                      , results = 'asis'
                      , warning = FALSE
                      , message = FALSE)

Required Fields

The following fields are required in input files. However, the names can be different. The user will select the matching column names on screen before calculation.

Click here to download an Excel file with this table plus example data.

# Packages
#library(readxl)
#library(DT)

# Data
fn_req <- "BDI_ReqFields_20230817.xlsx"
path_req <- file.path("files", fn_req)
df_req <- readxl::read_excel(path_req, sheet = "RequiredFields")

# Table (DT)
cap_req <- "Table 1. Required fields."
# DT::datatable(df_req
#               , filter = "top"
#               , caption = cap_req
#               , options = list(scrollX = TRUE
#                                , autoWidth = TRUE)
#               )
# DT::datatable(iris) # not working correctly in fragment
knitr::kable(df_req, caption = cap_req)

Last updated 2023-08-17



leppott/BCGcalc documentation built on May 17, 2024, 5:55 p.m.