tbl <- sitevisitpeakTable(readingsData,fetchReportMetadataField(data,'excludeComments'),fetchReportMetadataField(data,'timezone')) library(htmlTable) if(!identical(tbl, "The dataset requested is empty.")){ if(isNullOrFalse(fetchReportMetadataField(data,'excludeComments'))){ groupConfig <- c(4,6,5) groupAlign <- "|rrrr|rrrrrr|rrrrr|" } else { groupConfig <- c(4,5,5) groupAlign <- "|rrrr|rrrrr|rrrrr|" } htmlTable(tbl, cgroup=c("Field Visit Information","Peak Verification Information","*Associated Highest Instantaneous Value and Date"), n.cgroup=groupConfig, col.rgroup = c("none", "#F7F7F7"), css.cell = "padding-left: 1em; padding-right: 1em; padding-top:.5em;padding-bottom:.5em;", align=groupAlign, rnames=FALSE) }
if(!identical(tbl, "The dataset requested is empty.")){ tbl2 <- formatQualifiersTable(readAllFieldVisitQualifiers(readingsData)) if(!isEmptyOrBlank(tbl2)){ kable(tbl2, align='l', row.names=FALSE, caption = "Qualifiers") } }
r if(identical(tbl, "The dataset requested is empty.")) {paste(tbl)}
r printVersionStrings()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.