get_data_file: Get Data File (from Dataverse) Leaving outdir blank will...

View source: R/get_data_file.R

get_data_fileR Documentation

Get Data File (from Dataverse) Leaving outdir blank will provide the data directly. If outdir is not blank, the data file will be saved to the (already created) directory specified.

Description

Get Data File (from Dataverse) Leaving outdir blank will provide the data directly. If outdir is not blank, the data file will be saved to the (already created) directory specified.

Usage

get_data_file(file_name, outdir = "")

Arguments

file_name

name of file to get from the dataverse dataset.

outdir

target directory if downloading the file.

Examples

## Not run: get_data_file("file_name.csv.xz", "./outdir")

uva-bi-sdad/dc.staple.food.basket documentation built on June 11, 2022, 11:46 p.m.