get_data_file: Get Data File (from Dataverse)

View source: R/get_data_file.R

get_data_fileR Documentation

Get Data File (from Dataverse)

Description

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.webmd.primcare documentation built on June 18, 2022, 7 a.m.