get_max_age: Get the maximum age within a species for a specific date...

Description Usage Arguments

View source: R/animalr.R

Description

Get the maximum age within a species for a specific date range

Usage

1
2
3
4
5
6
get_max_age(
  conn,
  arc_species_code,
  start_date,
  end_date = strftime(Sys.Date(), format = "%m-%d-%Y")
)

Arguments

conn

database connection object

arc_species_code

optional character vector of length 1 having the two character arc_species_code defined by the IACUC. Defaults to "PC".

start_date

character vector of length 1 having the first date to be included in the time frame of interest. Should be formatted as "%m-%d-%Y".

end_date

optional character vector of length 1 having the last date to be included in the time frame of interest. Defaults to current date. Should be formatted as "%m-%d-%Y".


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