#' @title alcons function
#'
#' @description The "alcons" function is an easy way to visualize the dataset
#'
#' The function doesn't need an argument.
#' The output shows a graph built using the "ggplot2 package".
#'
#' @author Anna Errichiello <anna.errichiello@studenti.unimi.it>
#'
#' @export
#'
#'
#'
#'
#'
#'
#'
#'
alcons <- read.csv("https://raw.githubusercontent.com/fivethirtyeight/data/master/alcohol-consumption/drinks.csv", sep=",")
head(alcons)
dir.create("data")
save(alcons, file=file.path("data","alcons.rda"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.