download_data: Download data related to the class

View source: R/download_functions.R

download_dataR Documentation

Download data related to the class

Description

This function downloads data related to the class from the class GitHub repository.

Usage

download_data(file_name, mode = "wb")

Arguments

file_name

The name the file that has the data.

mode

A character indicating the mode with which to write the file. Useful values are "w", "wb" (binary), "a" (append) and "ab". Not used for methods "wget" and "curl". See also ‘Details’, notably about using "wb" for Windows. See download.file() mode argument.

Examples

 # Download code from the first class
 ## Not run: download_data("test_data.rda")


emeyers/SDS230 documentation built on Jan. 18, 2024, 1:01 a.m.