ExtractMetadata: ExtractMetadata - extract metadata required for filtering...

Description Usage Arguments Value

View source: R/ExtractMetadata.R

Description

This function extracts the metadata from occupancy models run using sparta >= 0.2.06. This then allows filtering based on record number, year gaps and first and last records.

Usage

1
ExtractMetadata(indata = "../data/model_runs/", regions = NULL)

Arguments

indata

The file path to a location containing .rdata files of the bugs outputs, one for each species. These must have been created with sparta version >= 0.2.06.

regions

A vector of region names for which metadata is require (e.g. c("region1","region2")). The default is NULL and will only return metadata for the whole model.

Value

A data frame containing the metadata for each species for which an output was available.

If regions are provided the same summary information is calculated for each region.


GPowney/TrendSummaries documentation built on Nov. 15, 2021, 6:14 p.m.