get_monthly_clan_membership: Identify living hyenas in specified clan for a month

View source: R/get_monthly_clan_membership.R

get_monthly_clan_membershipR Documentation

Identify living hyenas in specified clan for a month

Description

Identifies all hyenas alive in a specified time period for the given clan. This count includes any individuals who were considered immigrants or residents and who were alive and in the clan for at least one day during the month.

Usage

get_monthly_clan_membership(clans, dates = NULL, years = NULL, months = NULL)

Arguments

years

One (or more) year, supplied as a numeric vector

clan

One (or more) clan names, supplied as a character vector.

Value

Returns tblClanMembership filtered to all individuals who were a member of the supplied clan at some point in the supplied year. Columns include the start and end date of membership in the clan.

Examples

## returns all hyenas from serena clans 2010-2012
annual_clan_membership(clans = c('happy.zebra', 'serena.s', 'serena.n'), years = 2010:2012)


MaraHyenaProject/hyenatools documentation built on Jan. 30, 2025, 5:10 p.m.