Learn R Programming

gecko (version 1.0.2)

spectre.template: Download the SPECTRE template.

Description

Download the raster template for SPECTRE layers to your gecko work directory. If you have not yet setup a work directory, it will be be setup as if running gecko::gecko.setDir() with gisPath = NULL. This is a large dataset that is prone to fail by timeout if downloaded through R. Instead of using this function you can run gecko.setDir() (if you haven't yet) and download the file at https://github.com/VascoBranco/spectre.content/raw/main/spectre.template.zip. Unzip its contents to a folder "./spectretemplate" inside the folder returned by gecko.getDir().

Usage

spectre.template()

Arguments

Details

Reads a txt file pointing to where the world GIS files are stored.

Examples

Run this code
if (FALSE) {
spectre.template()
}

Run the code above in your browser using DataLab