requireNamespace("rprojroot")
requireNamespace("data.table")
root = rprojroot::find_package_root_file()
energy_usage = data.table::fread(file.path(root, "data-raw", "energy_usage.csv.bz2"), stringsAsFactors = TRUE)
usethis::use_data(energy_usage, overwrite = TRUE, compress = "xz")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.