knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(nottshcOpenData) # Create MySQL connection # Note, the driver name, here "MySQL ODBC 8.0 ANSI Driver", may differ on your computer conn_mysql_suce <- connect_mysql(database = "SUCE", driver = "MySQL ODBC 8.0 ANSI Driver")
# Get database (db_) connection for specified date range get_px_exp(from = "2020-01-01", to = "2020-12-31") %>% dplyr::show_query()
get_px_exp(from = "2020-01-01", to = "2020-12-31") %>% tidy_px_exp() %>% dplyr::show_query()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.