loadDataFile: Load data from URL or local file

View source: R/loadDataFile.R

loadDataFileR Documentation

Load data from URL or local file

Description

Loads pre-generated R binary files from a URL or a local directory. This function is intended to be called by other ~_load() functions and can remove internet latencies when local versions of data are available.

For this reason, specification of dataDir always takes precedence over dataUrl.

Usage

loadDataFile(filename = NULL, dataUrl = NULL, dataDir = NULL)

Arguments

filename

Name of the data file to be loaded.

dataUrl

Remote URL directory for data files.

dataDir

Local directory containing data files.

Value

A data object.


MazamaCoreUtils documentation built on May 29, 2024, 4:47 a.m.