get_pacea_data: Get large pacea data from repository

View source: R/get-pacea-data.R

get_pacea_dataR Documentation

Get large pacea data from repository

Description

Large spatiotemporal pacea data files can be downloaded individually from pacea-data.

Usage

get_pacea_data(layer, update = FALSE, ask = interactive(), force = FALSE)

Arguments

layer

Name of the data object.

update

Logical. Would you like to check for a newer version of the layer?

ask

Logical. Should the user be asked before downloading the data to local cache? Defaults to the value of interactive().

force

Logical. Should download of data be forced? Overrides 'ask' argument if TRUE.

Details

Some large pacea data sets are stored in a GitHub repository, pacea-data, and get_pacea_data allows users to choose which data to download locally. Refer to ‘pacea_data' to view the data files available for download. Code adapted from ’bcmaps'

Value

Data object requested

Examples

## Not run: 
get_pacea_data("bccm_surface_temperature")

## End(Not run)


pbs-assess/PACea documentation built on April 17, 2025, 11:36 p.m.