download_data: Download data and read into R

View source: R/read_data.r

download_dataR Documentation

Download data and read into R

Description

These functions are downloading and reading data sets from my courses into an R session. To keep the size of the package manageable, these data sets are not included with the package and must be downloaded separately using download_data(); this only needs to be done once.

Usage

download_data(name)

read_data(name)

Arguments

name

Name of data set to read/download

Examples

download_data('anorexia')   # Download a specific data set
dat <- read_data(whickham)
head(dat)

pbreheny/breheny documentation built on April 26, 2024, 10:40 a.m.