is_procedure_date: Is the date a procedure date for the specified animal

Description Usage Arguments Details Value

Description

Uses a simplisted database query to see if there is any type of clinical, maintenance or research procedure of the indicated date.

Usage

1
is_procedure_date(conn, id, date_str)

Arguments

conn

database connection object

id

character vector of length one having the ID of the animal

date_str

characer vector of length one having the date of the surgery.

Details

This should be updated to look for surgeries when possible.

Value

logical TRUE is the date provided corresponds to a procedure for the animal indicated.


rmsharp/renameSurgerySheets documentation built on May 8, 2019, 2:46 p.m.