get_direct_recoveries: Get direct recoveries

View source: R/lincoln.R

get_direct_recoveriesR Documentation

Get direct recoveries

Description

Get all direct recoveries by merging summaries of banding and recovery data. This function takes raw datasets, filters them if needed, summarizes them, merge them and calculates recovery rate with variance and standard error.

Usage

get_direct_recoveries(
  banding_df,
  recoveries_df,
  filters = NULL,
  banding_filters = NULL,
  recoveries_filters = NULL,
  filtered = FALSE
)

Arguments

banding_df

A dataframe contaning banding data extracted from Gamebirds and already cleaned.

recoveries_df

A dataframe contaning recovery data extracted from Gamebirds and already cleaned.

filters

Filters to apply to the dataframes. Can contain database specific filters. This argument will be used if the data is not filtered and banding_filters or recoveries_filters are not provided, Default: NULL

banding_filters

Filters to apply to the banding dataset, Default: NULL

recoveries_filters

Filters to apply to the recoveries dataset, Default: NULL

filtered

Are the datasets already filtered?, Default: FALSE

Details

The species for which the data is compiled is stored in the SPEC attribute of the returned dataframe

Value

A dataframe containing summarized banding and recoveries data with a recovery rate, variance and standard error.

See Also

clean_dataset, summarize_bandings, summarize_recoveries


Vin985/gblincoln documentation built on April 21, 2022, 1:49 a.m.