download_studentlife {studentlife} | R Documentation |
download_studentlife
Description
Download the entire StudentLife dataset or a smaller sample dataset for testing.
Usage
download_studentlife(
url = "dartmouth",
location = ".",
unzip = TRUE,
untar = TRUE
)
Arguments
url |
A character string. Either
"rdata" for the URL to the (more efficient)
RData format version hosted on Zenodo, or
"dartmouth" for the (original) Dartmouth URL, or
"testdata" for a small sample dataset. Otherwise
a full URL of your choice can be specified leading to
the StudentLife dataset as a |
location |
The destination path. If the path does
not exist it is created with |
unzip |
Logical. If |
untar |
Logical. If |
Details
If url = "rdata"
then data will be downloaded
from <https://zenodo.org/record/3529253>
If url = "dartmouth"
then data will be downloaded
from <https://studentlife.cs.dartmouth.edu/dataset/dataset.tar.bz2>
If url = "testdata"
then data will be downloaded
from the test data at the studentlife GitHub repository
<https://github.com/frycast/studentlife>
Examples
d <- tempdir()
download_studentlife(location = d, url = "testdata")
## Not run:
## With menu
load_SL_tibble(location = d)
## End(Not run)
## Without menu
SL_tables
load_SL_tibble(schema = "EMA", table = "PAM", location = d)