#' ---
#' title: "Data: heights"
#' author: "Ivan Jacob Agaloos Pesigan"
#' date: "`r Sys.Date()`"
#' output:
#' rmarkdown::html_vignette:
#' toc: true
#' ---
#'
#+ data
heights <- read.delim(
"data_raw_heights.tsv",
stringsAsFactors = TRUE
)
head(heights)
str(heights)
#'
#+ usedata
usethis::use_data(
heights,
overwrite = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.