get_dams_with_infants: Dams with infants within a specified date range of provided.

Description Usage Arguments

View source: R/get_dams_with_infants.R

Description

Dams with infants within a specified date range of provided.

Usage

1
2
3
4
5
6
get_dams_with_infants(
  conn,
  arc_species_code,
  current_date = strftime(Sys.Date(), format = "%m-%d-%Y"),
  days_as_infant = 180
)

Arguments

conn

database connection object

arc_species_code

character vector of length 1 having two character species code

current_date

optional character vector of length 1 having a valid date represented by a unambiguous string value that specifies the date for which the report is current. While most of the time current_date will indeed be the current date. This allows the user to look at the infants at a prior date.

days_as_infant

number of days that an animal is considered to be an infant for this purpose.


rmsharp/animalr documentation built on March 10, 2021, 1:12 p.m.