# Launch the ShinyApp (Do not remove this comment)
# To deploy, run: rsconnect::deployApp()
# Or use the blue button on top of this file
library(shiny)
# remotes::install_github("EBukin/devPTIpack", force = TRUE)
library(devPTIpack)
# pkgload::load_all(export_all = FALSE, helpers = FALSE, attach_testthat = FALSE)
launch_pti(
shp_dta = ukr_shp, # or readRDS("...")
inp_dta = ukr_mtdt_full, # or devPTIpack::fct_template_reader("...")
app_name = "{{COUNTRY NAME}}",
show_waiter = TRUE,
show_adm_levels = "admin2",
shapes_path = ".",
mtdtpdf_path = "." #,
# pti_landing_page = "./landing-page.md"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.