Skip to contents

With get_resources() specific biodiversity data sets required for the calculation of indicators can be downloaded. The function supports the specification of several indicators and their respective additional arguments. You can check the required arguments via available_resources(), but the function will gracefully inform you about any misspecifications.

Usage

get_resources(x, resources, ...)

Arguments

x

A biodiversity portfolio object constructed via init_portfolio()

resources

A character vector indicating the requested resources. All specified resources must be supported by the package. You can use available_resources() to get more information, e.g. additional required arguments and their default values, about the supported resources.

...

Additional arguments required for the requested resources. Check available_resources() to learn more about the supported resources and their arguments.

Value

Primarily called for the side effect of downloading resources. Returns the sf portfolio object x with its attributes amended by the requested resources.