Learn R Programming

gimms (version 0.3.0)

updateInventory: Update GIMMS 3G file inventory

Description

Download the latest version of the GIMMS 3G file inventory from NASA FTP server (http://ecocast.arc.nasa.gov/data/pub/gimms/3g.v0/) or, if server is not accessible (e.g. due to missing internet connection), load local version of file inventory.

Usage

updateInventory(sort = TRUE, quiet = TRUE)

Arguments

sort
'logical'. If TRUE, the list of available files is sorted by date prior to return.
quiet
'logical'. If FALSE, some details about the online file retrieval are printed to the console.

Value

  • A 'character' vector of online filepaths.

Examples

Run this code
updateInventory()

Run the code above in your browser using DataLab