Learn R Programming

DATAstudio (version 1.2.1)

dataset: Load Dataset

Description

This function loads a dataset that is not included in the package due to space constraints on CRAN, but is available online from University of Edinburgh servers. It works similarly to the R command data from the utils package, except that it downloads the dataset.

Usage

dataset(name)

Arguments

name

a string containing the link.

Examples

Run this code
## Download data
dataset("thefts")
head(thefts)
summary(thefts)
## for details on the dataset type
?thefts

Run the code above in your browser using DataLab