Learn R Programming

gimms (version 0.2.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 = FALSE)

Arguments

sort
Logical. If TRUE (default), the available files are sorted by date prior to return.

Value

  • A vector of online filepaths.

Examples

Run this code
updateInventory()

Run the code above in your browser using DataLab