knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE)
try({ if (grepl(pattern = "activityinfo-R$", rstudioapi::getActiveProject())) { devtools::load_all(".") withr::with_options(new = list(activityinfo.interactive = FALSE), { source(file = testthat::test_path("setup.R")) }) } }, silent = TRUE) dt <- as.data.frame(getFormSchema(formId = personFormId)) knitr::kable(dt[,c("fieldCode", "fieldType")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.