fetch: Ensure data is on the local file system

Description Usage Arguments

View source: R/fetch.R

Description

This function should be called from the generic, fetch(). Fetch data from remote locations and/or identify a copy on the local file system. These functions assume that downloading must be attempted if the raw data file is remote; the makefile is where caching occurs if possible.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
fetch(viz)

## S3 method for class 'character'
fetch(viz)

## S3 method for class 'file'
fetch(viz)

## S3 method for class 'sciencebase'
fetch(viz)

## S3 method for class 'url'
fetch(viz)

## S3 method for class 'usgs_watermark'
fetch(viz)

## S3 method for class 'none'
fetch(viz)

## S3 method for class 'none'
fetchTimestamp(viz)

Arguments

viz

the identifier for this data item in viz.yaml


USGS-VIZLAB/vizlab documentation built on July 10, 2019, 12:08 a.m.