download_data: Function to download the Numerai Tournament data

Description Usage Arguments Value Examples

View source: R/source.R

Description

Function to download the Numerai Tournament data

Usage

1
2
3
4
5
6
download_data(
  location = tempdir(),
  legacy = TRUE,
  load = TRUE,
  live_only = FALSE
)

Arguments

location

The directory path in which to store the data

legacy

logical; new dataset. If legacy = TRUE, legacy 310 feature .zip dataset downloaded

load

logical; to unzip / read.csv or read_parquet on data.

live_only

logical; download only the live .parquet dataset.

Value

A list containing the training and tournament data objects

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
## Directory where data files and prediction files to be saved
## Put custom directory path or use the current working directory
data_dir <- tempdir()

## Download legacy dataset for current competition
data <- download_data(data_dir)
data_train <- data$data_train
data_tournament <- data$data_tournament

## Download super massive dataset for current competition
download(dat_dir, legacy = FALSE)

## End(Not run)

Rnumerai documentation built on Oct. 9, 2021, 1:07 a.m.