if (!require("pacman")) install.packages("pacman") library(pacman) #needed packages ndd_lib <- c( "skimr", # provides better summaries of data as opposed to default summary() "rio", # streamlines data i/o "here", "tidyverse", "janitor", "ggthemes", # extra themes, scales, geoms for ggplot "ggpubr", # publication ready plots "showtext" # for easier fonts in r graphics ) # Use p_temp for shared code / p_load for strictly own code p_load( char = ndd_lib, install = TRUE, update = FALSE, character.only = FALSE ) showtext_opts(dpi = 100) knitr::opts_chunk$set( fig.path = "figures/", fig.dim = c(9, 6), fig.align = "center", fig.lp = NULL, dpi = 100, warning = FALSE, error = FALSE, message = FALSE, comment = "", results = "markup", cache = TRUE )
skim()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.